Challenges
Contacts archive
Web
Expert
XML external entity injection (XXE)
Solves: 6
Contacts archive
Author: CyberSamSU
Points
180
The internal HR department of SamCorp company launched the "Contacts archive" service — the employee phonebook can be imported in XML format.
The import service was careless in parsing the uploaded XML file: it works with external entities enabled. The secret flag is stored in a local file on the server, but this file cannot be opened directly via any web path — its exact location is written only in the application's own source code.
Goal: using XML external entity (XXE) injection, first read the application's own source code if necessary to determine the file location, then read the flag file.
To start this challenge's lab, log in.
Theory: learn the topic
To submit a flag, log in.