SQL Injection: Authentication Bypass
Exploit a classic SQL injection flaw in a login form to bypass authentication as an administrator, then capture the flag.
You are assessing the login API of an internal admin panel during an authorized engagement. The endpoint builds its SQL query by pasting your input straight into the query string — the textbook setup for a SQL injection authentication bypass.
The target is a real HTTP service (an isolated sandbox with only in-memory demo accounts — no database, no real users, no secrets). You interact with it from the console below by sending real requests.
Sign in to submit flags
You can explore the target now. Answer validation and progress tracking require an account.
Recon — how the login query is built
Send a GET / request to the target using the console above. The service describes itself, including the exact query it runs:
SELECT * FROM users WHERE username = '<username>' AND password = '<password>'
Your username and password are concatenated directly into that string — nothing is escaped or parameterized. Notice which keyword links the two checks together: that is the clause you will subvert.
Which single SQL keyword joins the username check and the password check in the query the server runs?
Sign in to submit and earn points.
Isolated simulated environment
Deliberately vulnerable, in-memory data only — isolated from the platform. No real accounts, no database, no secrets. Exploit it to recover the flag.
Acme Portal — login API
A login endpoint that builds its SQL query by string concatenation. POST /login with { username, password }.
Edit the request directly — method, path, headers and body. What you type here is exactly what gets sent.
Mirrors the Params, Headers and Body tabs. Type here to take over. This is the request the target app receives; transport authentication stays internal.
Send a request to see the response here.
The status, headers, body and timing you see are the target's real answer.
The console is isolated and simulated — it runs in your browser against a deliberately vulnerable target, never the real platform. Open it whenever you need to work with the target; it keeps its state while hidden.

