All practice problems Bug of the Day: a new problem every midnight, free for everyone. Keep a streak with your friends.
Cybersecurity · Web security · Intermediate
Web security practice: Redirect Roulette
After login, the site sends you wherever continue= says. Make a real ChaiCart link send people to another website.
The problem
- Vulnerability class: Unvalidated Redirects.
- Make a real ChaiCart link send people to another website.
You'll use: URLs & HTTP · Cookies & DevTools · SQL injection · XSS · Brute force · OWASP Top 10
Solve it (expert level)3–5 min · Read code — no writing
Show a hint
Look at continue= in the URL.
What this teaches (spoiler)
Redirect targets from users must be validated. Allow only your own paths, or a fixed list.