QID 730453

QID 730453: WSO2 Remote Code Execution (RCE) Vulnerability (CVE-2022-29464)

WSO2 offers a platform of middleware products for agile integration, application programming interface (API) management, identity and access management, and smart analytics. Certain WSO2 products allow unrestricted file upload with resultant remote code execution.

Affected Products:
WSO2 API Manager 2.2.0 and above
WSO2 Identity Server 5.2.0 and above
WSO2 Identity Server Analytics 5.4.0, 5.4.1, 5.5.0, 5.6.0.
WSO2 Identity Server as Key Manager 5.3.0 and above.
and WSO2 Enterprise Integrator 6.2.0 and above.

QID Detection Logic (Unauthenticated):
This QID checks for vulnerable versions of WSO2 by sending a GET request.

Due to improper validation of user input, a malicious actor could upload an arbitrary file to a user controlled location of the server. By leveraging the arbitrary file upload vulnerability, it is further possible to gain remote code execution on the server.

  • CVSS V3 rated as Critical - 9.8 severity.
  • CVSS V2 rated as Critical - 10 severity.
  • Solution
    Customers are advised to refer to advisory WSO2-2021-1738 for more information regarding this vulnerability.

    Workaround:
    Please refer to the temporary mitigations mentioned at WSO2-2021-1738

    CVEs related to QID 730453

    Software Advisories
    Advisory ID Software Component Link
    WSO2-2021-1738 URL Logo docs.wso2.com/display/Security/Security+Advisory+WSO2-2021-1738