Skip to main content

CVE-2025-8913: CWE-98 Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') in WellChoose Organization Portal System

Critical
VulnerabilityCVE-2025-8913cvecve-2025-8913cwe-98
Published: Wed Aug 13 2025 (08/13/2025, 09:16:02 UTC)
Source: CVE Database V5
Vendor/Project: WellChoose
Product: Organization Portal System

Description

Organization Portal System developed by WellChoose has a Local File Inclusion vulnerability, allowing unauthenticated remote attackers to execute arbitrary code on the server.

AI-Powered Analysis

AILast updated: 08/13/2025, 09:48:02 UTC

Technical Analysis

CVE-2025-8913 is a critical vulnerability classified under CWE-98, which pertains to improper control of filenames used in include or require statements within PHP applications. Specifically, this vulnerability affects the Organization Portal System developed by WellChoose. The flaw allows unauthenticated remote attackers to perform Local File Inclusion (LFI), enabling them to execute arbitrary code on the affected server. The vulnerability arises because the application fails to properly validate or sanitize user-supplied input that determines which files are included or required by the PHP program. This lack of validation permits attackers to manipulate the filename parameter to include malicious files or system files, potentially leading to remote code execution. The CVSS 4.0 base score of 9.3 reflects the high severity, with an attack vector that is network-based (AV:N), requiring no privileges (PR:N), no user interaction (UI:N), and no authentication (AT:N). The impact on confidentiality, integrity, and availability is high, as attackers can execute arbitrary code, potentially leading to full system compromise. No patches or known exploits in the wild have been reported yet, but the vulnerability's critical nature demands immediate attention. The affected product version is listed as '0', which may indicate an initial or default version, suggesting that all current deployments of this portal system are vulnerable unless mitigated or updated.

Potential Impact

For European organizations using the WellChoose Organization Portal System, this vulnerability poses a significant risk. Successful exploitation could lead to unauthorized access, data breaches, and full system compromise, impacting sensitive organizational data and services. Given the portal system's likely role in managing organizational workflows or sensitive information, attackers could disrupt operations, steal confidential data, or use the compromised server as a foothold for further attacks within the network. The lack of authentication requirements and user interaction lowers the barrier for exploitation, increasing the likelihood of attacks. This could result in regulatory non-compliance issues under GDPR due to potential data exposure, leading to legal and financial consequences. Additionally, the operational disruption could affect business continuity and reputation. The absence of known exploits in the wild currently provides a window for proactive mitigation, but the critical severity necessitates urgent response.

Mitigation Recommendations

1. Immediate code review and input validation: Developers should audit all include/require statements to ensure that filenames are strictly validated against a whitelist of allowed files or sanitized to prevent directory traversal and remote file inclusion. 2. Implement strict input sanitization: Use PHP functions such as basename() to strip directory paths and validate inputs against expected patterns. 3. Disable allow_url_include and allow_url_fopen in PHP configuration to prevent remote file inclusion vectors. 4. Apply web application firewalls (WAF) with rules targeting LFI attempts to detect and block malicious requests. 5. Restrict file system permissions for the web server user to limit the impact of any successful inclusion. 6. Monitor logs for suspicious access patterns related to file inclusion attempts. 7. Coordinate with WellChoose for official patches or updates; if unavailable, consider temporary mitigations such as disabling vulnerable modules or restricting access to the portal system. 8. Conduct penetration testing focused on file inclusion vulnerabilities to verify mitigation effectiveness.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.1
Assigner Short Name
twcert
Date Reserved
2025-08-13T06:42:44.549Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 689c5bc4ad5a09ad00401668

Added to database: 8/13/2025, 9:32:52 AM

Last enriched: 8/13/2025, 9:48:02 AM

Last updated: 8/13/2025, 3:58:34 PM

Views: 11

Actions

PRO

Updates to AI analysis are available only with a Pro account. Contact root@offseq.com for access.

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