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: Ticket Snooping
Your subscription lives at a URL with a number in it. Open a subscription that belongs to another customer.
The problem
- Vulnerability class: Broken Access Control (IDOR).
- Open a subscription that belongs to another customer.
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 the number in the address bar.
What this teaches (spoiler)
Never trust an ID from the client. Check on the server that the logged-in user may see that exact record.