Security lab
Two-Factor Bypass
After password login, a predictable 4-digit OTP with no rate limit guards the account - and the verify endpoint trusts a client-side verified flag.
Lab objective
Log in as wiener/peter, then bypass the second factor via brute force or the verified-flag logic flaw to reach the flag.
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
- 01Log in with wiener/peter first - the OTP challenge is a 4-digit code in the 1000-range with no rate limit.
- 02Brute-force POST /2fa/verify with codes 1000-1999 using Burp Intruder.
- 03Or skip the code entirely: POST /2fa/verify with JSON {"verified":true}.
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.