Security lab
XML External Entity (XXE)
The parser accepts raw XML input and resolves external entities, enabling a crafted payload to access local files or internal secrets and trigger data leakage.
Lab objective
Submit an XML document containing an external entity payload to force the parser to disclose sensitive file contents or environment secrets.
Tools you will use
- browser
- Burp Suite
- curl
What this lab teaches
This lab is a self-contained exercise hosted in an isolated, per-user sandbox. You are given a clear objective, the tools typically used for the technique, and a guided set of hints. Because every sandbox is disposable and network-isolated, you can experiment freely, make mistakes, and reset the environment without affecting any real system.
Hints & approach
- 01The endpoint accepts form data with an XML field.
- 02Use <!DOCTYPE ... [<!ENTITY xxe SYSTEM "file:///...">]> to trigger the parser.
- 03The parser is not configured to deny external entities or local file access.
How the sandbox works
When you start the lab, Vulnarex provisions an isolated, per-user environment and opens it in a new tab. Each session has its own target and state, so nothing you do here can affect another learner or any external system. You can reset the environment at any time and re-approach the challenge from a clean slate.