CVE-2024-2374 XML External Entity Injection in Multiple WSO2 Products Allows Arbitrary file read and Denial of Service
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
Description
The XML parsers within multiple WSO2 products accept user-supplied XML data without properly configuring to prevent the resolution of external entities. This omission allows malicious actors to craft XML payloads that exploit the parser's behavior, leading to the inclusion of external resources.
By leveraging this vulnerability, an attacker can read confidential files from the file system and access limited HTTP resources reachable by the product. Additionally, the vulnerability can be exploited to perform denial of service attacks by exhausting server resources through recursive entity expansion or fetching large external resources.
Upgrade path
10 packages: 10 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| WSO2 API Manager | >= 3.1.0, < 3.1.0.278; >= 3.2.0, < 3.2.0.368; >= 4.0.0, < 4.0.0.280; >= 4.1.0, < 4.1.0.206 +2 more | 3.1.0.278, 3.2.0.368, 4.0.0.280, 4.1.0.206, 4.2.0.144, 4.3.0.57 | Fixed |
| WSO2 api manager | >= 3.1.0, < 3.1.0.278; >= 3.2.0, < 3.2.0.368; >= 4.0.0, < 4.0.0.280; >= 4.1.0, < 4.1.0.206 +2 more | 3.1.0.278, 3.2.0.368, 4.0.0.280, 4.1.0.206, 4.2.0.144, 4.3.0.57 | Fixed |
| WSO2 Identity Server | >= 5.10.0, < 5.10.0.300; >= 5.11.0, < 5.11.0.329; >= 6.0.0, < 6.0.0.179; >= 6.1.0, < 6.1.0.136 | 5.10.0.300, 5.11.0.329, 6.0.0.179, 6.1.0.136 | Fixed |
| WSO2 identity server | >= 5.10.0, < 5.10.0.300; >= 5.11.0, < 5.11.0.329; >= 6.0.0, < 6.0.0.179; >= 6.1.0, < 6.1.0.136 | 5.10.0.300, 5.11.0.329, 6.0.0.179, 6.1.0.136 | Fixed |
| WSO2 Identity Server as Key Manager | >= 5.10.0, < 5.10.0.296 | 5.10.0.296 | Fixed |
| WSO2 identity server as key manager | >= 5.10.0, < 5.10.0.296 | 5.10.0.296 | Fixed |
| WSO2 Open Banking AM | >= 2.0.0, < 2.0.0.328 | 2.0.0.328 | Fixed |
| WSO2 open banking am | >= 2.0.0, < 2.0.0.328 | 2.0.0.328 | Fixed |
| WSO2 Open Banking IAM | >= 2.0.0, < 2.0.0.348 | 2.0.0.348 | Fixed |
| WSO2 open banking iam | >= 2.0.0, < 2.0.0.348 | 2.0.0.348 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| WSO2 API Manager | < 3.1.0 | 3.1.0 |
| WSO2 API Manager | >= 3.1.0, < 3.1.0.278 | 3.1.0.278 |
| WSO2 API Manager | >= 3.2.0, < 3.2.0.368 | 3.2.0.368 |
| WSO2 API Manager | >= 4.0.0, < 4.0.0.280 | 4.0.0.280 |
| WSO2 API Manager | >= 4.1.0, < 4.1.0.206 | 4.1.0.206 |
| WSO2 API Manager | >= 4.2.0, < 4.2.0.144 | 4.2.0.144 |
| WSO2 API Manager | >= 4.3.0, < 4.3.0.57 | 4.3.0.57 |
| WSO2 Identity Server | < 5.10.0 | 5.10.0 |
| WSO2 Identity Server | >= 5.10.0, < 5.10.0.300 | 5.10.0.300 |
| WSO2 Identity Server | >= 5.11.0, < 5.11.0.329 | 5.11.0.329 |
| WSO2 Identity Server | >= 6.0.0, < 6.0.0.179 | 6.0.0.179 |
| WSO2 Identity Server | >= 6.1.0, < 6.1.0.136 | 6.1.0.136 |
| WSO2 Open Banking AM | < 2.0.0 | 2.0.0 |
| WSO2 Open Banking AM | >= 2.0.0, < 2.0.0.328 | 2.0.0.328 |
| WSO2 Open Banking IAM | < 2.0.0 | 2.0.0 |
| WSO2 Open Banking IAM | >= 2.0.0, < 2.0.0.348 | 2.0.0.348 |
| WSO2 Identity Server as Key Manager | < 5.10.0 | 5.10.0 |
| WSO2 Identity Server as Key Manager | >= 5.10.0, < 5.10.0.296 | 5.10.0.296 |
| WSO2 api manager | >= 3.1.0, < 3.1.0.278 | 3.1.0.278 |
| WSO2 api manager | >= 3.2.0, < 3.2.0.368 | 3.2.0.368 |
| WSO2 api manager | >= 4.0.0, < 4.0.0.280 | 4.0.0.280 |
| WSO2 api manager | >= 4.1.0, < 4.1.0.206 | 4.1.0.206 |
| WSO2 api manager | >= 4.2.0, < 4.2.0.144 | 4.2.0.144 |
| WSO2 api manager | >= 4.3.0, < 4.3.0.57 | 4.3.0.57 |
| WSO2 identity server | >= 5.10.0, < 5.10.0.300 | 5.10.0.300 |
Show 6 more
| Product | Affected versions | Fixed in |
|---|---|---|
| WSO2 identity server | >= 5.11.0, < 5.11.0.329 | 5.11.0.329 |
| WSO2 identity server | >= 6.0.0, < 6.0.0.179 | 6.0.0.179 |
| WSO2 identity server | >= 6.1.0, < 6.1.0.136 | 6.1.0.136 |
| WSO2 identity server as key manager | >= 5.10.0, < 5.10.0.296 | 5.10.0.296 |
| WSO2 open banking am | >= 2.0.0, < 2.0.0.328 | 2.0.0.328 |
| WSO2 open banking iam | >= 2.0.0, < 2.0.0.348 | 2.0.0.348 |
References
- security.docs.wso2.com vendor-advisory