Labs: attack a fake app, then fix it
A simulated browser with DevTools against an in-browser fake shop. Pull off the attack, deploy the patch, watch it fail.
Everything here is for learning to defend your own software. Never test systems you don't own or aren't authorized to test.
Read someone else's order
Change one number in the URL and see a stranger's address and phone.
Log in as the admin without a password
A login form that builds its SQL by pasting strings together.
Steal the moderator's session
Reviews are rendered as raw HTML, and an admin reads every new one.
Promote yourself to admin
The profile form only has name and avatar. The API saves whatever it gets.
Pay one cent for headphones
The checkout trusts the total that the browser sends.
Forge an admin token
The session is a JWT. The server reads it, but does it check it?
Download the server's secrets
Invoice downloads take a file name from the query string.
Steal the server's cloud credentials
"Import avatar from URL" fetches anything, from inside the cloud network.