Security lab
Local File Inclusion
The document reader resolves a user-controlled file path with minimal validation, allowing traversal-like input to reach sensitive files on the server and leak privileged content.
Lab objective
Supply a path that escapes the intended directory and targets an internal file containing the admin secret, then recover the hidden token.
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 an arbitrary file parameter and resolves it directly.
- 02Look for traversal patterns such as ../ and absolute paths.
- 03The sensitive file is not in the normal public directory tree.
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.