Arbitrary Code Execution with higher privileged users in Multiple WSO2 Products via Script Mediator Engines (GraalJS and NashornJS)
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in API Control Plane 4.5.0.29, API Manager 3.1.0.345, API Manager 3.2.0.446 and 40 more.
An arbitrary code execution vulnerability exists in multiple WSO2 products due to insufficient restrictions in the GraalJS and NashornJS Script Mediator engines. Authenticated users with elevated privileges can execute arbitrary code within the integration runtime environment. By default, access to these scripting engines is limited to administrators in WSO2 Micro Integrator and WSO2 Enterprise Integrator, while in WSO2 API Manager, access extends to both administrators and API creators. This may allow trusted-but-privileged users to perform unauthorized actions or compromise the execution environment.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| WSO2 | API Control Plane | >=4.5.0 <4.5.0.29 | 4.5.0.29 |
| WSO2 | API Manager | >=3.1.0 <3.1.0.345, >=3.2.0 <3.2.0.446, >=3.2.1 <3.2.1.66, >=4.0.0 <4.0.0.366, >=4.1.0 <4.1.0.228, >=4.2.0 <4.2.0.169, >=4.3.0 <4.3.0.81, >=4.5.0 <4.5.0.28, >=4.4.0 <4.4.0.45 | 3.1.0.345, 3.2.0.446, 3.2.1.66, 4.0.0.366, 4.1.0.228, 4.2.0.169, 4.3.0.81, 4.5.0.28, 4.4.0.45 |
| WSO2 | Enterprise Integrator | >=6.6.0 <6.6.0.224 | 6.6.0.224 |
| WSO2 | Identity Server | >=5.10.0 <5.10.0.365 | 5.10.0.365 |
| WSO2 | Micro Integrator | >=4.3.0 <4.3.0.42, >=4.4.0 <4.4.0.27, >=4.2.0 <4.2.0.141, >=4.1.0 <4.1.0.147, >=4.0.0 <4.0.0.145 | 4.3.0.42, 4.4.0.27, 4.2.0.141, 4.1.0.147, 4.0.0.145 |
| WSO2 | Open Banking AM | >=2.0.0 <2.0.0.394 | 2.0.0.394 |
| WSO2 | Open Banking IAM | >=2.0.0 <2.0.0.414 | 2.0.0.414 |
| WSO2 | Traffic Manager | >=4.5.0 <4.5.0.27 | 4.5.0.27 |
| WSO2 | Universal Gateway | >=4.5.0 <4.5.0.27 | 4.5.0.27 |
| WSO2 | org.apache.synapse:synapse-core | >=4.0.0.wso2v218 <4.0.0.wso2v218_1, >=2.1.7.wso2v183 <2.1.7.wso2v183_72, >=2.1.7.wso2v227 <2.1.7.wso2v227_99, >=2.1.7.wso2v271 <2.1.7.wso2v271_88, >=2.1.7.wso2v319 <2.1.7.wso2v319_13, >=4.0.0.wso2v105 <4.0.0.wso2v105_13, >=4.0.0.wso2v119 <4.0.0.wso2v119_27, >=4.0.0.wso2v131 <4.0.0.wso2v131_5, >=4.0.0.wso2v20 <4.0.0.wso2v20_93, >=4.0.0.wso2v215 <4.0.0.wso2v215_26, >=2.1.7.wso2v143 <2.1.7.wso2v143_121 | 4.0.0.wso2v218_1, 2.1.7.wso2v183_72, 2.1.7.wso2v227_99, 2.1.7.wso2v271_88, 2.1.7.wso2v319_13, 4.0.0.wso2v105_13, 4.0.0.wso2v119_27, 4.0.0.wso2v131_5, 4.0.0.wso2v20_93, 4.0.0.wso2v215_26, 2.1.7.wso2v143_121 |
| WSO2 | org.apache.synapse:synapse-extensions | >=4.0.0.wso2v218 <4.0.0.wso2v218_1, >=4.0.0.wso2v215 <4.0.0.wso2v215_26, >=4.0.0.wso2v20 <4.0.0.wso2v20_93, >=4.0.0.wso2v131 <4.0.0.wso2v131_5, >=4.0.0.wso2v119 <4.0.0.wso2v119_27, >=4.0.0.wso2v105 <4.0.0.wso2v105_13, >=2.1.7.wso2v319 <2.1.7.wso2v319_13, >=2.1.7.wso2v271 <2.1.7.wso2v271_88, >=2.1.7.wso2v227 <2.1.7.wso2v227_99, >=2.1.7.wso2v183 <2.1.7.wso2v183_72, >=2.1.7.wso2v143 <2.1.7.wso2v143_121 | 4.0.0.wso2v218_1, 4.0.0.wso2v215_26, 4.0.0.wso2v20_93, 4.0.0.wso2v131_5, 4.0.0.wso2v119_27, 4.0.0.wso2v105_13, 2.1.7.wso2v319_13, 2.1.7.wso2v271_88, 2.1.7.wso2v227_99, 2.1.7.wso2v183_72, 2.1.7.wso2v143_121 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in WSO2, strongest first
Embed
A live severity badge for an advisory, README or ticket