CVE-2025-39406: CWE-98 Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') in mojoomla WPAMS
Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in mojoomla WPAMS allows PHP Local File Inclusion.This issue affects WPAMS: from n/a through 44.0.
AI Analysis
Technical Summary
CVE-2025-39406 is a critical vulnerability classified under CWE-98, which pertains to improper control of filenames used in include or require statements within PHP programs. This specific vulnerability affects the mojoomla WPAMS product, allowing an attacker to perform PHP Local File Inclusion (LFI). The vulnerability arises because the application does not properly validate or sanitize user-supplied input used in file inclusion functions, enabling an attacker to manipulate the filename parameter to include arbitrary files from the local filesystem. This can lead to the execution of malicious code, disclosure of sensitive information, or complete compromise of the affected system. The vulnerability has a CVSS 3.1 base score of 9.8, indicating a critical severity level. It is remotely exploitable over the network without requiring authentication or user interaction, and it impacts confidentiality, integrity, and availability. Although no known exploits are currently reported in the wild, the high severity and ease of exploitation make this a significant threat. The affected versions include all versions of WPAMS up to and including 44.0, with no specific fixed version noted yet. The vulnerability was reserved in April 2025 and published in May 2025, indicating it is a recent discovery. The absence of patch links suggests that a fix may not yet be publicly available, increasing the urgency for mitigation.
Potential Impact
For European organizations using mojoomla WPAMS, this vulnerability poses a severe risk. Exploitation could lead to unauthorized access to sensitive data, including configuration files, credentials, or personal data protected under GDPR. Attackers could execute arbitrary PHP code, potentially leading to full system compromise, data breaches, ransomware deployment, or lateral movement within the network. The critical nature of the vulnerability and its remote exploitability without authentication make it particularly dangerous for web-facing applications. Organizations in sectors such as finance, healthcare, government, and critical infrastructure are at heightened risk due to the sensitive nature of their data and regulatory requirements. Additionally, the compromise of websites or services using WPAMS could damage reputation and result in legal and financial penalties under European data protection laws.
Mitigation Recommendations
Given the lack of an official patch at this time, European organizations should implement immediate compensating controls. These include: 1) Restricting access to the affected WPAMS application via network-level controls such as web application firewalls (WAFs) with rules to detect and block suspicious file inclusion attempts; 2) Employing strict input validation and sanitization on all user inputs, particularly those that influence file paths; 3) Disabling PHP functions that facilitate file inclusion (e.g., include, require) if not essential, or configuring PHP open_basedir restrictions to limit accessible directories; 4) Monitoring logs for unusual file access patterns or errors indicative of exploitation attempts; 5) Isolating the affected application in a segmented network zone to limit potential lateral movement; 6) Preparing for rapid patch deployment once an official fix is released by mojoomla; 7) Conducting thorough security assessments and penetration testing focused on file inclusion vulnerabilities; 8) Educating development and operations teams about secure coding practices to prevent similar vulnerabilities.
Affected Countries
Germany, France, United Kingdom, Italy, Spain, Netherlands, Poland, Belgium, Sweden, Austria
CVE-2025-39406: CWE-98 Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') in mojoomla WPAMS
Description
Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in mojoomla WPAMS allows PHP Local File Inclusion.This issue affects WPAMS: from n/a through 44.0.
AI-Powered Analysis
Technical Analysis
CVE-2025-39406 is a critical vulnerability classified under CWE-98, which pertains to improper control of filenames used in include or require statements within PHP programs. This specific vulnerability affects the mojoomla WPAMS product, allowing an attacker to perform PHP Local File Inclusion (LFI). The vulnerability arises because the application does not properly validate or sanitize user-supplied input used in file inclusion functions, enabling an attacker to manipulate the filename parameter to include arbitrary files from the local filesystem. This can lead to the execution of malicious code, disclosure of sensitive information, or complete compromise of the affected system. The vulnerability has a CVSS 3.1 base score of 9.8, indicating a critical severity level. It is remotely exploitable over the network without requiring authentication or user interaction, and it impacts confidentiality, integrity, and availability. Although no known exploits are currently reported in the wild, the high severity and ease of exploitation make this a significant threat. The affected versions include all versions of WPAMS up to and including 44.0, with no specific fixed version noted yet. The vulnerability was reserved in April 2025 and published in May 2025, indicating it is a recent discovery. The absence of patch links suggests that a fix may not yet be publicly available, increasing the urgency for mitigation.
Potential Impact
For European organizations using mojoomla WPAMS, this vulnerability poses a severe risk. Exploitation could lead to unauthorized access to sensitive data, including configuration files, credentials, or personal data protected under GDPR. Attackers could execute arbitrary PHP code, potentially leading to full system compromise, data breaches, ransomware deployment, or lateral movement within the network. The critical nature of the vulnerability and its remote exploitability without authentication make it particularly dangerous for web-facing applications. Organizations in sectors such as finance, healthcare, government, and critical infrastructure are at heightened risk due to the sensitive nature of their data and regulatory requirements. Additionally, the compromise of websites or services using WPAMS could damage reputation and result in legal and financial penalties under European data protection laws.
Mitigation Recommendations
Given the lack of an official patch at this time, European organizations should implement immediate compensating controls. These include: 1) Restricting access to the affected WPAMS application via network-level controls such as web application firewalls (WAFs) with rules to detect and block suspicious file inclusion attempts; 2) Employing strict input validation and sanitization on all user inputs, particularly those that influence file paths; 3) Disabling PHP functions that facilitate file inclusion (e.g., include, require) if not essential, or configuring PHP open_basedir restrictions to limit accessible directories; 4) Monitoring logs for unusual file access patterns or errors indicative of exploitation attempts; 5) Isolating the affected application in a segmented network zone to limit potential lateral movement; 6) Preparing for rapid patch deployment once an official fix is released by mojoomla; 7) Conducting thorough security assessments and penetration testing focused on file inclusion vulnerabilities; 8) Educating development and operations teams about secure coding practices to prevent similar vulnerabilities.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Patchstack
- Date Reserved
- 2025-04-16T06:22:51.799Z
- Cisa Enriched
- true
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 682cd0f81484d88663aeb42a
Added to database: 5/20/2025, 6:59:04 PM
Last enriched: 7/11/2025, 4:17:18 PM
Last updated: 1/7/2026, 8:50:50 AM
Views: 53
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Related Threats
CVE-2025-15158: CWE-434 Unrestricted Upload of File with Dangerous Type in eastsidecode WP Enable WebP
HighCVE-2025-15018: CWE-639 Authorization Bypass Through User-Controlled Key in djanym Optional Email
CriticalCVE-2025-15000: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in tfrommen Page Keys
MediumCVE-2025-14999: CWE-352 Cross-Site Request Forgery (CSRF) in kentothemes Latest Tabs
MediumCVE-2025-13531: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in hayyatapps Stylish Order Form Builder
MediumActions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.