Arbitrary File Upload via System REST API in Multiple WSO2 Products Allows Remote Code Execution
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 4.4.0.67, 4.5.0.52, 4.6.0.16, 4.5.0.51, 4.5.0.53, and 4 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: total
Summary
The System REST API accepts user-supplied file uploads without enforcing sufficient validation on the file type or destination, allowing files to be written to arbitrary server-accessible locations. Exploitation requires authenticated administrative access with publisher privileges. Successful exploitation permits an authenticated publisher to upload files to server-accessible locations. Depending on the deployment environment and how uploaded files are handled, this could lead to the execution of uploaded content, potentially resulting in remote code execution.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- WSO2 WSO2 API Manager
From 4.4.0 · fixed in 4.4.0.67; From 4.5.0 · fixed in 4.5.0.52; From 4.6.0 · fixed in 4.6.0.16
- WSO2 WSO2 Traffic Manager
From 4.5.0 · fixed in 4.5.0.51; From 4.6.0 · fixed in 4.6.0.16
- WSO2 WSO2 API Control Plane
From 4.5.0 · fixed in 4.5.0.53; From 4.6.0 · fixed in 4.6.0.17
- WSO2 WSO2 Universal Gateway
From 4.5.0 · fixed in 4.5.0.52; From 4.6.0 · fixed in 4.6.0.16
- org.wso2.carbon.apimgt:org.wso2.carbon.apimgt.impl
From 9.30.67 · fixed in 9.30.67.156; From 9.31.86 · fixed in 9.31.86.141; From 9.32.147 · fixed in 9.32.147.44
- org.wso2.carbon.apimgt:org.wso2.carbon.apimgt.rest.api.publisher.v1.common
From 9.30.67 · fixed in 9.30.67.156; From 9.31.86 · fixed in 9.31.86.141; From 9.32.147 · fixed in 9.32.147.44
- org.wso2.carbon.apimgt:org.wso2.carbon.apimgt.api
From 9.30.67 · fixed in 9.30.67.156