Runtyme
All practice problems

Cybersecurity · Web security · Warm-up

Web security practice: Admin by Cookie

The site remembers who you are. In a cookie. That you control. Get into the /admin panel.

The problem

  • Vulnerability class: Broken Access Control.
  • Get into the /admin panel.

You'll use: URLs & HTTP · Cookies & DevTools · SQL injection · XSS · Brute force · OWASP Top 10

Solve it free in your browser3–5 min · Read code — no writing
Show a hint

How does the site know your role? Open the Cookies tab in DevTools.

What this teaches (spoiler)

Never let the client tell you who it is or what it's allowed to do. Keep roles on the server (database or a signed session) and check them on every request.

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