HexBrain

U.S. Dept Of Defense · Report #227880

XXE in DoD website that may lead to RCE

Validstatus
criticalseverity
97upvotes
4 Oct 2019disclosed

How it was found

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>

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original