CVE-2022-29464WSO2 Multiple Products Unrestrictive Upload of File Vulnerability
Known exploited — WSO2 Multiple Products Unrestrictive Upload of File Vulnerability
CISA confirmed this vulnerability is used in real attacks on 25.04.2022. Remediation deadline for US federal agencies: 16.05.2022.
Required action: Apply updates per vendor instructions. https://nvd.nist.gov/vuln/detail/CVE-2022-29464
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.
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| wso2 | api manager | 2.2.0 – ≤ 4.0.0 | |
| wso2 | enterprise integrator | 6.2.0 – ≤ 6.6.0 | |
| wso2 | identity server | 5.2.0 – ≤ 5.11.0 | |
| wso2 | identity server analytics | 5.4.0 | |
| wso2 | identity server as key manager | 5.3.0 – ≤ 5.10.0 | |
| wso2 | open banking am | 1.3.0 – ≤ 2.0.0 | |
| wso2 | open banking iam | 2.0.0 | |
| wso2 | open banking km | 1.3.0 – ≤ 1.5.0 |
References and patches
- [oss-security] 20220422 CVE-2022-29464 :: WSO2 Unrestricted arbitrary file upload, and remote code to execution vulnerability. mailing-listMailing ListThird Party Advisory
- https://github.com/hakivvi/CVE-2022-29464 ExploitThird Party Advisory
- http://packetstormsecurity.com/files/166921/WSO-Arbitrary-File-Upload-Remote-Code-Execution.html ExploitThird Party AdvisoryVDB Entry
- https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2022/WSO2-2021-1738/ Vendor Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-29464 US Government Resource
CPE matches (NVD) (11)
cpe:2.3:a:wso2:api_manager:*:*:*:*:*:*:*:*≥ 2.2.0 ≤ 4.0.0cpe:2.3:a:wso2:enterprise_integrator:*:*:*:*:*:*:*:*≥ 6.2.0 ≤ 6.6.0cpe:2.3:a:wso2:identity_server:*:*:*:*:*:*:*:*≥ 5.2.0 ≤ 5.11.0cpe:2.3:a:wso2:identity_server_analytics:5.4.0:*:*:*:*:*:*:*cpe:2.3:a:wso2:identity_server_analytics:5.4.1:*:*:*:*:*:*:*cpe:2.3:a:wso2:identity_server_analytics:5.5.0:*:*:*:*:*:*:*cpe:2.3:a:wso2:identity_server_analytics:5.6.0:*:*:*:*:*:*:*cpe:2.3:a:wso2:identity_server_as_key_manager:*:*:*:*:*:*:*:*≥ 5.3.0 ≤ 5.10.0cpe:2.3:a:wso2:open_banking_am:*:*:*:*:*:*:*:*≥ 1.3.0 ≤ 2.0.0cpe:2.3:a:wso2:open_banking_iam:2.0.0:*:*:*:*:*:*:*cpe:2.3:a:wso2:open_banking_km:*:*:*:*:*:*:*:*≥ 1.3.0 ≤ 1.5.0