Security lab
Server-Side Template Injection
The report generator embeds user-controlled title text into the rendered HTML without sanitization, allowing an attacker to trigger expression evaluation in the underlying template engine.
Lab objective
Inject a template expression into the title or report body so the server executes code during rendering and reveals the hidden application secret.
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 title is inserted directly into the HTML response.
- 02Look for expression syntax supported by the rendering engine.
- 03If the engine is vulnerable, it can execute attacker-controlled expressions during page generation.
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.