CVE-2025-49360

8.1

AncoraThemes · Militarology

The AncoraThemes Militarology WordPress theme is vulnerable to local file inclusion due to improper control of filenames in PHP include statements.

Executive summary

A high-severity local file inclusion vulnerability in the AncoraThemes Militarology theme could allow an unauthenticated attacker to execute arbitrary code or access sensitive files.

Vulnerability

The vulnerability is caused by CWE-98, where the application fails to properly sanitize user input before passing it to include or require statements. This flaw allows an unauthenticated attacker to perform local file inclusion, potentially leading to unauthorized information disclosure or remote code execution.

Business impact

Successful exploitation of this vulnerability poses a significant risk to the integrity and confidentiality of the WordPress environment. An attacker could read sensitive system files, configuration files, or execute malicious PHP code, which could result in a full site compromise. Given the CVSS score of 8.1, this represents a high risk that requires immediate attention to prevent unauthorized access or system takeover.

Remediation

Immediate Action: Since a specific patch is not confirmed, administrators should immediately switch to a different, secure theme or deactivate the Militarology theme until a fix is released by the vendor.

Proactive Monitoring: Monitor server access logs for suspicious requests containing directory traversal patterns or unexpected PHP file inclusion attempts.

Compensating Controls: Deploy a Web Application Firewall with rules configured to block directory traversal attempts and suspicious file inclusion payloads.

Exploitation status

Public Exploit Available: No (exploit_available: false)

Analyst recommendation

The severity of this vulnerability necessitates swift action despite the absence of confirmed public exploits. Because the flaw allows for potential remote code execution via local file inclusion, administrators should prioritize the removal or replacement of the affected theme. Ensure all security patches are applied as soon as the vendor provides an update to remediate this issue.

More AncoraThemes CVEs

Sources

Originally found and disclosed by Bonds | Patchstack Bug Bounty Program, per the CVE Program record.