All practice problems Bug of the Day: a new problem every midnight, free for everyone. Keep a streak with your friends.
Cybersecurity · Web security · Warm-up
Web security practice: Peek-a-Boo Orders
Your order page has a number in the URL. Just a number. See an order that belongs to another customer.
The problem
- Vulnerability class: Broken Access Control (IDOR).
- See an order that belongs to another customer.
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
Look at the address bar. What identifies the order?
What this teaches (spoiler)
Insecure Direct Object Reference: never trust an ID from the client. On every request, check on the server that the logged-in user is allowed to see that exact record.