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.
Weakness
- CWE-22: Improper Limitation of a Pathname to a Restricted Directory
CISA Known Exploited Vulnerabilities entry
| Vulnerability name | WSO2 Multiple Products Unrestrictive Upload of File Vulnerability |
|---|---|
| Vendor / product | WSO2 / Multiple Products |
| Date added | 2022-04-25 |
| Federal remediation due date | 2022-05-16 |
| Required action | Apply updates per vendor instructions. |
| Known ransomware campaign use | Known |
CISA SSVC decision points
| Exploitation | active |
|---|---|
| Automatable | yes |
| Technical impact | total |
| Scored | 2025-01-29 |
Timeline
- 2022-04-18Published by the CNA00:00 UTC
- 2022-04-25Added to the CISA KEV catalog7 days after publication
- 2025-01-29CISA SSVC decision recorded1017 days after publication
Exploit and advisory records
Nuclei templates:
- CVE-2022-29464: WSO2 Management - Arbitrary File Upload & Remote Code Execution
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| wso2 api_manager | from 2.2.0 through 4.0.0no fix listed | not listed |
| wso2 enterprise_integrator | from 6.2.0 through 6.6.0no fix listed | not listed |
| wso2 identity_server | from 5.2.0 through 5.11.0no fix listed | not listed |
| wso2 identity_server_analytics | 5.4.0no fix listed5.4.1no fix listed5.5.0no fix listed5.6.0no fix listed | not listednot listednot listednot listed |
| wso2 identity_server_as_key_manager | from 5.3.0 through 5.10.0no fix listed | not listed |
| wso2 open_banking_am | from 1.3.0 through 2.0.0no fix listed | not listed |
| wso2 open_banking_km | from 1.3.0 through 1.5.0no fix listed | not listed |
| wso2 open_banking_iam | 2.0.0no fix listed | not listed |
References
- https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2022/WSO2-2021-1738/
- http://packetstormsecurity.com/files/166921/WSO-Arbitrary-File-Upload-Remote-Code-Execution.html
- https://github.com/hakivvi/CVE-2022-29464
- http://www.openwall.com/lists/oss-security/2022/04/22/7
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-29464
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2022-29464'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2022-29464'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2022-29464'curl 'https://api.contrastcyber.com/cve_products/CVE-2022-29464'curl 'https://api.contrastcyber.com/kev_lookup/CVE-2022-29464'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).