Arbitrary File Upload via System REST API in Multiple WSO2 Products Allows Remote Code Execution
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in API Control Plane 4.5.0.53, API Control Plane 4.6.0.17, API Manager 9.30.67.156 and 13 more.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| WSO2 | API Control Plane | >=4.5.0 <4.5.0.53, >=4.6.0 <4.6.0.17 | 4.5.0.53, 4.6.0.17 |
| WSO2 | API Manager | >=9.30.67 <9.30.67.156, >=9.31.86 <9.31.86.141, >=9.32.147 <9.32.147.44, >=4.4.0 <4.4.0.67, >=4.5.0 <4.5.0.52, >=4.6.0 <4.6.0.16 | 9.30.67.156, 9.31.86.141, 9.32.147.44, 4.4.0.67, 4.5.0.52, 4.6.0.16 |
| WSO2 | Carbon API Management API | >=9.30.67 <9.30.67.156 | 9.30.67.156 |
| WSO2 | Carbon API Management Implementation | >=9.30.67 <9.30.67.156, >=9.31.86 <9.31.86.141, >=9.32.147 <9.32.147.44 | 9.30.67.156, 9.31.86.141, 9.32.147.44 |
| WSO2 | Traffic Manager | >=4.5.0 <4.5.0.51, >=4.6.0 <4.6.0.16 | 4.5.0.51, 4.6.0.16 |
| WSO2 | Universal Gateway | >=4.5.0 <4.5.0.52, >=4.6.0 <4.6.0.16 | 4.5.0.52, 4.6.0.16 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in WSO2, strongest first
Embed
A live severity badge for an advisory, README or ticket