Runtyme
All practice problems

Cybersecurity · Web security · Intermediate

Web security practice: After Login

After login, the site sends you wherever return_to= 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 return_to= in the URL.

What this teaches (spoiler)

Redirect targets from users must be validated. Allow only your own paths, or a fixed list.

Bug of the Day: a new problem every midnight, free for everyone. Keep a streak with your friends.