Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-49360: Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') in AncoraThemes Militarology

0
High
VulnerabilityCVE-2025-49360cvecve-2025-49360
Published: Thu Dec 18 2025 (12/18/2025, 07:21:41 UTC)
Source: CVE Database V5
Vendor/Project: AncoraThemes
Product: Militarology

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.

AI-Powered Analysis

AILast updated: 12/18/2025, 09:59:12 UTC

Technical Analysis

CVE-2025-49360 is a Local File Inclusion (LFI) vulnerability found in the AncoraThemes Militarology WordPress theme, versions up to 1.0.15. The vulnerability arises from improper control of the filename parameter used in PHP include or require statements, allowing an attacker to manipulate the input to include arbitrary files from the server's filesystem. This can lead to disclosure of sensitive files such as configuration files, password files, or other critical data. In some cases, if combined with other vulnerabilities or misconfigurations, it may enable remote code execution by including files containing malicious code. The vulnerability does not require authentication, making it accessible to unauthenticated attackers scanning for vulnerable installations. Although no public exploits are currently known, the flaw is significant due to the widespread use of WordPress themes and the common practice of including files dynamically in PHP. The lack of a CVSS score indicates that the vulnerability is newly published and awaiting further analysis. The theme's improper input validation and sanitization of the filename parameter is the root cause, highlighting a common security oversight in PHP-based web applications. The vulnerability was reserved in June 2025 and published in December 2025, indicating recent discovery and disclosure.

Potential Impact

For European organizations, this vulnerability could lead to unauthorized disclosure of sensitive information, including credentials, internal configuration, or personal data, potentially violating GDPR requirements. If exploited, attackers could gain insights into the internal structure of web servers, facilitating further attacks such as privilege escalation or lateral movement. The availability of the affected theme in multiple European countries increases the risk of widespread exploitation. Organizations relying on the Militarology theme for their websites may face reputational damage, data breaches, and operational disruptions. The vulnerability's ability to be exploited without authentication lowers the barrier for attackers, increasing the likelihood of automated scanning and exploitation attempts. Additionally, the exposure of sensitive files could aid attackers in crafting targeted phishing or social engineering campaigns against European entities. The impact is particularly critical for sectors handling sensitive data, such as finance, healthcare, and government institutions within Europe.

Mitigation Recommendations

Immediate mitigation involves disabling or removing the Militarology theme from production environments until a secure patch is available. Organizations should monitor the AncoraThemes vendor channels for official updates or patches addressing this vulnerability. In the absence of a patch, manual code review and modification are recommended to sanitize and validate all input parameters used in include/require statements, ensuring only allowed files can be included. Implementing a whitelist of permissible files or using fixed file paths instead of dynamic inputs can prevent exploitation. Web application firewalls (WAFs) should be configured to detect and block suspicious requests attempting to manipulate include parameters. Regularly auditing web server logs for unusual access patterns or attempts to include local files can help detect exploitation attempts early. Additionally, organizations should ensure that file permissions on the server restrict access to sensitive files, limiting the potential impact of LFI attacks. Conducting security awareness training for developers on secure coding practices related to file inclusion is also advisable.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.2
Assigner Short Name
Patchstack
Date Reserved
2025-06-04T09:42:41.320Z
Cvss Version
null
State
PUBLISHED

Threat ID: 6943b0354eb3efac366fee3b

Added to database: 12/18/2025, 7:41:41 AM

Last enriched: 12/18/2025, 9:59:12 AM

Last updated: 12/19/2025, 8:29:55 AM

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats