XML External Entity (XXE) Injection via Schema Validation in Multiple WSO2 Products Allows File Reading and Denial of Service
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 3.2.0.472, 3.2.1.91, 4.1.0.254, 4.2.0.194, 4.3.0.105, and 14 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
The XML and schema validation functionalities within the SchemaValidator Mediator process XML input as part of validation flows. Under certain conditions, the XML parser allows the resolution of external entities when handling user-supplied XML content during validation operations. This behavior can occur when an attacker supplies crafted XML payloads to the relevant mediator flows with sufficient privileges. Successful exploitation may allow a highly privileged actor to read files accessible within the server hosting the affected product. Additionally, it may be possible to trigger outbound requests to unintended internal or external locations, depending on the server environment and network configuration. Specially crafted XML payloads can also lead to excessive resource consumption during parsing, impacting the availability of the product.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- WSO2 WSO2 API Manager
From 3.2.0 · fixed in 3.2.0.472; From 3.2.1 · fixed in 3.2.1.91; From 4.1.0 · fixed in 4.1.0.254; From 4.2.0 · fixed in 4.2.0.194; From 4.3.0 · fixed in 4.3.0.105; From 4.4.0 · fixed in 4.4.0.68; From 4.5.0 · fixed in 4.5.0.53; From 4.6.0 · fixed in 4.6.0.16
- WSO2 WSO2 Universal Gateway
From 4.5.0 · fixed in 4.5.0.53; From 4.6.0 · fixed in 4.6.0.16
- WSO2 WSO2 Traffic Manager
From 4.5.0 · fixed in 4.5.0.52; From 4.6.0 · fixed in 4.6.0.16
- WSO2 WSO2 API Control Plane
From 4.5.0 · fixed in 4.5.0.54; From 4.6.0 · fixed in 4.6.0.17
- org.wso2.carbon.apimgt:org.wso2.carbon.apimgt.gateway
From 6.7.206 · fixed in 6.7.206.594; From 6.7.210 · fixed in 6.7.210.95; From 9.20.74 · fixed in 9.20.74.398; From 9.28.116 · fixed in 9.28.116.412; From 9.29.120 · fixed in 9.29.120.228; From 9.30.67 · fixed in 9.30.67.158; From 9.31.86 · fixed in 9.31.86.147; From 9.32.147 · fixed in 9.32.147.38
- org.wso2.carbon.apimgt:org.wso2.carbon.apimgt.impl
From 6.7.206 · fixed in 6.7.206.594; From 6.7.210 · fixed in 6.7.210.95; From 9.20.74 · fixed in 9.20.74.398; From 9.28.116 · fixed in 9.28.116.412; From 9.29.120 · fixed in 9.29.120.228; From 9.30.67 · fixed in 9.30.67.158; From 9.31.86 · fixed in 9.31.86.147; From 9.32.147 · fixed in 9.32.147.38