CVE-2022-29464
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.
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.
Want to know if your infrastructure is exposed to this?
Talk to TrueHacking →