Web Security · Capture the flag
XXE - File Disclosure
Advanced · 4/5
Paid planSpecialist rank required125 points on first solo solveChallenge brief
An API endpoint accepts XML for data import. The XML parser has not been hardened.
Vulnerable Endpoint
POST /api/import
Content-Type: application/xml
<user>
<name>Test</name>
</user>
Exploit the XML parser to read a sensitive file from the server. The flag is stored somewhere on disk.