Runtyme
All practice problems

Cybersecurity · Web security · Intermediate

Web security practice: The Role Cookie

The site remembers who you are in a cookie. Including what you're allowed to do. Get into /staff/refunds.

The problem

  • Vulnerability class: Broken Access Control (client-side role).
  • Get into /staff/refunds.

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

Open the Cookies panel. What does the site store about you?

What this teaches (spoiler)

Anything stored in the browser is under the user's control. Authorisation decisions must use server-side data.

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