Security lab
Host Header Injection
The password reset page builds the reset link using the Host header. Supply a malicious host value to generate an attacker-controlled reset URL.
Lab objective
Manipulate the Host header so the generated reset link references an arbitrary site controlled by the attacker.
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 form posts to /request-reset while the backend uses the incoming Host header.
- 02Alter the Host header in a proxy or request editor and inspect the produced link.
- 03A phishing reset URL can be created by pointing the host at a malicious domain.
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.