Skip to content
XXE Write-up Intermediate

Cve 2018 8033 Xml Entity Injection Vulnerability Discovered In Indian Government Website

An Indian government website running Apache OFBiz 16.11.04 was found vulnerable to CVE-2018-8033, an XML External Entity injection in the XML parser. An attacker could use DOCTYPE declarations with external references to expose sensitive server data or cause a denial of service.

Karthikeyan.V Follow

Published on infosecwriteups.com

Apache OFBiz version 16.11.04 and is classified as an XML External Entity (XXE) injection

Karthikeyan.V, on infosecwriteups.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the XML parser in Apache OFBiz 16.11.04 processes DOCTYPE declarations with external entity references instead of disabling them.

Impact

An attacker could disclose sensitive data stored on the server or cause the application to become unresponsive, disrupting services for legitimate users.

What the attacker needed

Target runs Apache OFBiz 16.11.04; XML input reaches the parser

The fix

The XML parser should be configured to reject DOCTYPE declarations and external entities, and the affected OFBiz instance should be upgraded to a patched version.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

The website accepts XML input and passes it to a parser that is allowed to fetch external resources named in the document. By adding a special declaration that points at a file or URL, an attacker can make the server read local files or make outbound requests, leaking data or tying up the service.

What is XXE?

An XML parser resolves entities the attacker defines, reading local files or making the server send requests.

More by Karthikeyan.V

View all

21 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

XML external entities (XXE)

The lesson behind this report.

An XML parser resolves entities the attacker defines, reading local files or making the server send requests.