Security lab
Time-Based SQL Injection
The login routine delays the response when a SQL condition is true, allowing an attacker to infer the result of hidden predicates by measuring response timing instead of reading the database directly.
Lab objective
Use the timing difference to infer whether the predicate is true, then derive an admin login by exploiting the blind SQL condition in a time-based payload.
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 response latency changes depending on query evaluation.
- 02Try injecting a payload that causes a delay only if a database condition is true.
- 03The conditional can be used to infer privileged state without direct output from the database.
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.