Certain WSO2 products allow unrestricted file upload with resultant remote code execution
Actively exploited in the wild
Added to CISA's Known Exploited Vulnerabilities catalog on Apr 25, 2022. US federal agencies must patch by May 16, 2022.
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Unspecified product |
| No fix yet |
Original description
Certain WSO2 products allow unrestricted file upload with resultant remote code execution. The attacker must use a /fileupload endpoint with a Content-Disposition directory traversal sequence to reach a directory under the web root, such as a ../../../../repository/deployment/server/webapps directory. This affects WSO2 API Manager 2.2.0 up to 4.0.0, WSO2 Identity Server 5.2.0 up to 5.11.0, WSO2 Identity Server Analytics 5.4.0, 5.4.1, 5.5.0 and 5.6.0, WSO2 Identity Server as Key Manager 5.3.0 up to 5.11.0, WSO2 Enterprise Integrator 6.2.0 up to 6.6.0, WSO2 Open Banking AM 1.4.0 up to 2.0.0 and WSO2 Open Banking KM 1.4.0, up to 2.0.0.
From the CVE record · mitre