← back
CVE-2022-29464

CVE-2022-29464

CVSS 9.8 CRITICALEPSS 100.0%● KEVCWE-22
In short

A flaw in WSO2 products allows attackers to upload files without proper restrictions to sensitive directories, enabling them to execute arbitrary code on the server. An attacker exploits a file upload endpoint by using path traversal tricks to bypass security checks.

Technical detail

The vulnerability exists in the /fileupload endpoint where insufficient validation of the Content-Disposition header allows directory traversal (CWE-22). An unauthenticated attacker can craft a request with traversal sequences (e.g., ../../../../repository/deployment/server/webapps) to write files to the web root, achieving remote code execution. Affected versions span multiple WSO2 products including API Manager, Identity Server, Enterprise Integrator, and Open Banking components.

Summary generated and translated by AI from the official 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/AC:L/AV:N/A:H/C:H/I:H/PR:N/S:U/UI:N
Affected products
n/a · n/a
⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.

Want to know if your infrastructure is exposed to this?

Talk to TrueHacking →