Security lab
HTTP Response Splitting
The redirect endpoint accepts a user-controlled destination and places it into a Location header without neutralizing CRLF characters, creating room for response splitting and header injection.
Lab objective
Inject line breaks into the redirect URL so the response contains multiple headers or a second bogus response, revealing the hidden secret behind the unsafe redirect flow.
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
- 01HTTP headers use CRLF line endings, and the backend fails to strip them.
- 02A crafted value can contain %0d%0a sequences that split the header into multiple lines.
- 03The flag is returned when the response logic is tricked into treating a malicious header as part of the redirect response.
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.