Credential Gate Bypass
A staff console authenticates against the users table. Walk in as the administrator without ever knowing the password.
CSPSHIVAM // security playground
A hands-on lab environment for students and enthusiasts. Practice real attacks — SQL injection, SSRF, modern web bugs, CSRF, open redirects, XSS, and AI/ML exploits — in isolated, intentionally-vulnerable sandboxes. No setup. Each lab nudges you toward the technique — and, for server-side bugs, where to point your proxy — but never the payload. Capture the flag, then read the walkthrough to understand exactly why it worked.
Bend query logic through untrusted input — auth bypass, extraction and blind inference. The injectable channel is off the visible form: bring a proxy.
✓ Injection Operator earned
A staff console authenticates against the users table. Walk in as the administrator without ever knowing the password.
A catalogue endpoint returns product rows. Splice a second query onto it and lift data from a table you were never meant to read.
A lookup surfaces raw database errors to the page. Turn those errors into a data-exfiltration channel.
The endpoint answers with nothing but "match" or "no match". Interrogate the database one true/false question at a time.
No body change, no error — only latency. Read the database purely by how long each response takes.
A blocklist scrubs the obvious SQL keywords before the query runs. Reconstruct your injection past it.
Coerce the server into fetching internal-only resources. The fetch target lives in a request element the UI pins — you override it in the proxy.
✓ SSRF Operator earned
A link-preview service fetches whatever address it is handed. Steer it at an internal-only panel the box can see but you cannot.
The fetcher runs on a cloud instance. Make it read the instance metadata service and hand you its credentials.
Literal localhost and 127.0.0.1 are refused. Reach the loopback service through a spelling the filter never anticipated.
Internal hosts are rejected up front, but redirects are followed blindly. Bounce the fetch inward through an allowed origin.
The response body is swallowed. Prove the server reached your target by driving it to a unique out-of-band host.
The fetcher reports reachability. Use it to map which services listen on the internal host and read what one of them leaks.
Access control, SSTI, JWT, uploads, host-header and reset-flow abuse, response tampering. The advanced track — nearly all of it is proxy-driven.
✓ Web Exploitation Operator earned
A billing portal keys invoices by opaque reference and never checks who owns them, while a sibling API quietly lists them. Open an invoice that is not yours.
A diagnostics tool shells out to probe a host. Ride the command it builds and run your own.
A document viewer resolves pages by name inside a base folder with no containment. Escape it and read a file outside.
A personalised banner is rendered from a template that splices in a request value as source, not data. Make the engine evaluate your expression.
The session is a JSON Web Token the server trusts to describe your role. Mint one that promotes you.
An avatar uploader screens for the obvious extension only. Slip through a file the server still runs as code.
A feedback endpoint parses XML you submit with entity resolution left on. Coerce the parser into reading a local file.
A profile form claims to edit only your name and bio, but the save endpoint trusts every field the read API over-shares. Assign yourself a role you should not have.
A "forgot password" flow builds the emailed reset link from the incoming request. Make the link point at infrastructure you control so the victim's token lands in your lap.
The password-reset confirmation trusts a token and a user reference carried in the request — and the token is not unguessable. Complete a reset for an account that is not yours.
The web login is hardened, but a JSON authentication API behind it still stitches your input into the query. Authenticate as an operator through the API.
A page caches and links itself using the Host the request arrives with. Poison what it emits by controlling that header.
An entitlement check runs client-side against a verdict the server already sent. Rewrite the verdict on its way back and unlock the gated resource.
A form submits a tidy set of fields, but the handler honours one more that never appears on the page. Discover it and send it.
Ride a victim session to force state-changing actions. Read the genuine request in a proxy, then build the cross-origin forgery that reproduces it.
✓ Session Forgery Operator earned
A signed-in account can swap its email with no anti-forgery token. Drive that change from a request the user never intended.
A sensitive action fires on a bare GET. Trigger it without the victim lifting a finger.
A token exists, but it is derived from public data. Reproduce it and push the request through.
The server sniffs the Referer header — and does it badly. Satisfy the check from a host you own.
Instead of hijacking the victim, plant them inside an account you control. Forge the sign-in.
Tokens are checked for shape but never tied to a session. Reuse one across users.
Abuse trust in redirect targets to bounce a victim to an origin you control. URL-driven — solvable straight from the browser.
✓ Redirect Operator earned
A "continue" link forwards to whatever a parameter says. Bounce a visitor to an origin you control.
The guard insists the target starts with the trusted host. Grow a URL that begins with it and ends somewhere else.
The forward is performed in the browser. Own the destination anyway.
An allowlist inspects the wrong slice of the URL. Exploit the gap between what it reads and where the browser goes.
A freshly issued token rides along in the URL fragment. Redirect the flow so it spills onto your page.
Only cspshivam.com and its subdomains are meant to pass. Register something that ends in those characters yet is entirely yours.
Land script execution in another user's browser: reflected, stored, DOM and sink-specific contexts. In-browser — no proxy needed.
✓ Client-Side Operator earned
A search box drops your query straight into the page body. Turn that echo into script execution.
Your value lands inside an HTML attribute. Break out of it and run code.
Your input is embedded inside an inline script string. Terminate the string and execute.
Notes you leave are persisted and replayed to every visitor. Plant one that runs on view.
Browser-side code copies the URL fragment into the DOM. No server ever sees the payload.
The app deletes the script tag. Execute without ever using it.
A shallow keyword filter blocks a few words. Reshape your payload so it slips by.
Your input becomes a link target. Convert the navigation into execution.
Angle brackets survive but "script" is banned. Fire a handler that runs on its own.
Your input is reflected into a JSON blob served under a lax policy. Achieve execution regardless.
Prompt injection, jailbreaks, system-prompt leakage, unsafe output handling and over-broad agency in LLM apps. Chat-driven — no proxy needed.
✓ AI Security Operator earned
A support bot is told to guard a secret. Talk it out of it.
The assistant summarises a document you hand it. Smuggle instructions inside the text.
Recover the hidden system prompt the assistant runs under.
The model declines restricted asks. Reframe until it complies.
Replies are painted into the page as HTML. Turn one into cross-site script.
The agent wields tools. Coax it into calling one it must not.
A sensitive record sits in the model's context. Pull it out verbatim.
The agent can fetch URLs. Aim it at the internal metadata service.
A toxicity gate blocks certain messages. Get a blocked one through intact.
A spam filter learns from user labels. Teach it the wrong lesson.
About the playground
CSPSHIVAM Playground is a self-contained training ground. Each lab is an isolated, deliberately vulnerable mini-app. The platform around it — this site, your progress, the walkthroughs — is hardened and holds no real accounts or data, so there is nothing here worth stealing. Attack the labs; the playground itself stays out of scope.
Every lab hides a flag like CSPSHIVAM{…} that only appears once you actually pull off the
attack. Submit it on the lab page to mark it solved.
Finish every level in a category and you'll be prompted for a name and a downloadable badge — Injection Operator, AI Security Operator, and more. Share it and tag #CSPSHIVAMPlayground.
Each lab nudges you toward the technique — and, for proxy labs, which header or parameter to intercept — but never the payload. When you're ready, the Walkthroughs tab explains each bug end-to-end, with the working exploit and how to fix it.
Dangerous primitives (SSRF, command execution, file reads) run against bundled mocks — never the real host or network — so nothing you do here can escape the sandbox.
Progress is stored only in this browser. Reset my progress.
Category complete
Enter a name to put on your badge, then download it.