Skip to main content
← All vulnerabilities
CVE-2024-2374

XML External Entity Injection in Multiple WSO2 Products Allows Arbitrary file read and Denial of Service

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.1.0.278, 3.2.0.368, 4.0.0.280, 4.1.0.206, 4.2.0.144, and 8 more
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • WSO2 WSO2 API Manager

    From 3.1.0 · fixed in 3.1.0.278; From 3.2.0 · fixed in 3.2.0.368; From 4.0.0 · fixed in 4.0.0.280; From 4.1.0 · fixed in 4.1.0.206; From 4.2.0 · fixed in 4.2.0.144; From 4.3.0 · fixed in 4.3.0.57

  • WSO2 WSO2 Identity Server

    From 5.10.0 · fixed in 5.10.0.300; From 5.11.0 · fixed in 5.11.0.329; From 6.0.0 · fixed in 6.0.0.179; From 6.1.0 · fixed in 6.1.0.136

  • WSO2 WSO2 Open Banking AM

    From 2.0.0 · fixed in 2.0.0.328

  • WSO2 WSO2 Open Banking IAM

    From 2.0.0 · fixed in 2.0.0.348

  • WSO2 WSO2 Identity Server as Key Manager

    From 5.10.0 · fixed in 5.10.0.296

References 1

security.docs.wso2.com