CVE-2024-45072 Overview
IBM WebSphere Application Server versions 8.5 and 9.0 contain an XML External Entity (XXE) Injection vulnerability that allows privileged attackers to process malicious XML data. When exploited, this vulnerability enables threat actors to expose sensitive information or consume memory resources, potentially leading to information disclosure and denial of service conditions.
Critical Impact
A privileged user could exploit this vulnerability to expose sensitive information stored on the server or cause resource exhaustion through memory consumption attacks.
Affected Products
- IBM WebSphere Application Server 8.5
- IBM WebSphere Application Server 9.0
- Supported operating systems: HP-UX, IBM AIX, IBM i, IBM z/OS, Linux, Microsoft Windows, Oracle Solaris
Discovery Timeline
- October 16, 2024 - CVE-2024-45072 published to NVD
- October 21, 2024 - Last updated in NVD database
Technical Details for CVE-2024-45072
Vulnerability Analysis
This vulnerability is classified as CWE-611 (Improper Restriction of XML External Entity Reference), commonly known as an XXE injection vulnerability. The flaw exists in how IBM WebSphere Application Server processes XML input data. When the XML parser processes specially crafted XML documents containing external entity declarations, it can be manipulated to access local or remote resources that should be restricted.
The attack requires privileged access to the application server, which somewhat limits the attack surface. However, once authenticated with appropriate privileges, an attacker can craft malicious XML payloads that reference external entities pointing to sensitive files on the server filesystem or internal network resources.
Root Cause
The root cause of this vulnerability lies in the insecure configuration of the XML parser within IBM WebSphere Application Server. The XML processor does not properly restrict or disable the processing of external entity references and DTD (Document Type Definition) declarations. This allows attackers to inject malicious external entity references that the parser will resolve, leading to unauthorized data access or resource consumption.
Attack Vector
The vulnerability is exploitable over the network by authenticated users with elevated privileges. An attacker must have valid credentials and sufficient permissions to interact with WebSphere Application Server functionality that processes XML data. The attack involves submitting a specially crafted XML document containing malicious external entity declarations.
A typical XXE attack payload would include external entity references designed to read local files such as /etc/passwd on Unix systems or C:\Windows\system.ini on Windows. More advanced attacks could leverage the vulnerability to perform Server-Side Request Forgery (SSRF) to probe internal network resources or cause denial of service through entity expansion attacks (also known as "Billion Laughs" attacks) that exhaust server memory.
Detection Methods for CVE-2024-45072
Indicators of Compromise
- Unusual XML parsing errors in WebSphere Application Server logs indicating malformed or suspicious XML documents
- Unexpected file access attempts from the WebSphere process to sensitive system files
- Abnormal memory consumption patterns in the application server indicating potential entity expansion attacks
- Network connections from the application server to unexpected internal or external endpoints
Detection Strategies
- Monitor WebSphere Application Server logs for XML parsing exceptions and suspicious entity resolution attempts
- Implement application-level logging to capture and analyze incoming XML payloads
- Deploy network monitoring to detect unusual outbound connections from the application server that may indicate SSRF exploitation
- Use endpoint detection tools to monitor file access patterns from WebSphere processes
Monitoring Recommendations
- Enable verbose logging for XML processing components within WebSphere Application Server
- Configure SIEM rules to alert on patterns consistent with XXE exploitation attempts
- Monitor system resource utilization for signs of entity expansion denial of service attacks
- Implement file integrity monitoring on sensitive configuration and system files
How to Mitigate CVE-2024-45072
Immediate Actions Required
- Apply the IBM security patch referenced in IBM Support Page immediately
- Review and restrict privileges of users with access to XML processing functionality
- Audit existing XML processing configurations for secure parser settings
- Implement network segmentation to limit potential SSRF impact
Patch Information
IBM has released a security update to address this vulnerability. Organizations running affected versions of IBM WebSphere Application Server (8.5 and 9.0) should apply the patch available through the IBM Support Page. The patch properly configures the XML parser to restrict external entity processing.
Workarounds
- Configure XML parsers to disable DTD processing and external entity resolution where possible
- Implement input validation to reject XML documents containing DOCTYPE declarations or external entity references
- Use allowlisting to restrict XML schemas that can be processed by the application
- Consider deploying a Web Application Firewall (WAF) with rules to detect and block XXE payloads
# Example WebSphere JVM configuration to disable external entities
# Add to JVM arguments in WebSphere administrative console
-Djavax.xml.accessExternalDTD=""
-Djavax.xml.accessExternalSchema=""
-Djavax.xml.accessExternalStylesheet=""
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.


