Skip to content
XXE Disclosed report Intermediate

XXE in DoD website that may lead to RCE

An XML endpoint on a Department of Defense website parsed user-supplied XML with external entities enabled. An attacker could send a crafted XML request to read files from the server's operating system.

jin Follow

Originally disclosed on HackerOne

Critical View original
  • Triaged in 3 days
  • Fixed in 55 days
  • Disclosed after 2.4 years

Summary: XXE in https://█████

Description: A malicious user can modify an XML-based request to include XML content that is then parsed locally.

Impact

An attacker can use an XML external entity vulnerability to send specially crafted unauthorized XML requests, which will be processed by the XML parser. The attacker can use an XML external entity vulnerability for getting unauthorised access to the OS file system.

PoC

POST /PSIGW/PeopleSoftServiceListeningConnector HTTP/1.1
Host: https://███
Content-type: text/xml
Content-Length: 50

<!DOCTYPE a PUBLIC "-//B/A/EN" "HELLO_XXE"><a></a>

The original report as published on HackerOne, by jin. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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

How it worked

Root cause

Likely the XML parser was configured to resolve external entities instead of disabling them.

What the attacker needed

Network access to the endpoint

How it was found

  1. Send a POST request to the PeopleSoft listening connector endpoint with an XML content type.
  2. Include a document type definition that declares an external entity.
  3. The parser is expected to process the external entity.

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 report has not been written yet. The Original tab links to the source.

XML is a data format that can include special instructions called entities. Some parsers will fetch a file or URL when they see an entity, which is dangerous. Here the server did that, so a malicious request could make it read local files.

What is XXE?

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

More by jin

View all

1 more disclosed report, best first.

More from U.S. Dept Of Defense

View all

The newest disclosed reports for this program.

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.