CVE-2022-29464
WSO2 Multiple Products Unrestrictive Upload of File Vulnerability
Does this matter?
Known to be exploited in the wild (CISA KEV, CISA remediation deadline 16 May 2022). Treat as an emergency change: patch or isolate now, then hunt for prior compromise.
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.
- CVSS 3.1
- 9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 100.00% probability · 100th percentile
- CISA KEV
- Listed 25 April 2022 · due 16 May 2022 · used in ransomware campaigns
- Weakness
- CWE-22
- Affected
- wso2/api manager · wso2/enterprise integrator · wso2/identity server · wso2/identity server analytics · wso2/identity server as key manager · wso2/open banking am · wso2/open banking iam · wso2/open banking km
- Source
- cve@mitre.org
CISA notes
Apply updates per vendor instructions. https://nvd.nist.gov/vuln/detail/CVE-2022-29464
References
- http://packetstormsecurity.com/files/166921/WSO-Arbitrary-File-Upload-Remote-Code-Execution.htmlExploit, Third Party Advisory, VDB Entry
- http://www.openwall.com/lists/oss-security/2022/04/22/7Mailing List, Third Party Advisory
- https://github.com/hakivvi/CVE-2022-29464Exploit, Third Party Advisory
- https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2022/WSO2-2021-1738/Vendor Advisory
- http://packetstormsecurity.com/files/166921/WSO-Arbitrary-File-Upload-Remote-Code-Execution.htmlExploit, Third Party Advisory, VDB Entry
- http://www.openwall.com/lists/oss-security/2022/04/22/7Mailing List, Third Party Advisory
- https://github.com/hakivvi/CVE-2022-29464Exploit, Third Party Advisory
- 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-29464US Government Resource
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.