Skip to main content
Back to challenges

Web Security · Capture the flag

XXE - File Disclosure

Advanced · 4/5
Paid planSpecialist rank required125 points on first solo solve

Challenge 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.

Solo practice

Sign in to submit an answer and save your progress.

Sign in to practice