Client-side path traversal labs
Six client-side path traversal labs, alternating XSS and CSRF, two each at easy, medium and hard, plus an unscored sandbox to warm up in. One account covers all of them; solves on the scored levels are recorded automatically.
How to play
Each level hides a set number of vulnerabilities. Your job is to find them all.
- Pick a levelEnter a level from the list above. Its card shows which vulnerabilities are waiting inside.
- Find the bugExplore the site as a normal user. Look at the requests it makes and where your input ends up.
- Build a proof of conceptTurn the finding into a single URL on that level's site. Opening the URL is enough to make the bug fire.
- Submit your solutionPaste the URL into Submit Solution. A bot opens it in a real browser as a logged-in victim and checks whether it worked. Verified solves go on the leaderboard.
Your payload must call alert(document.domain). The bot opens your URL and watches for the alert. If it fires with the level's domain, the solve is yours.
Your URL must make the victim's browser send POST /api/me/delete-account with the victim's session. The bot's account is protected, so nothing is really lost: the server answers {"status":"SOLVED"} and the solve is yours.
Tip: some challenges need an open redirect to a server you control. You can host your own payload at httpworkbench.com and edit the response body to serve your JSON.
