🔐Broken Access Control
Also known as Insecure Direct Object Reference, IDOR, Missing Authorization Check
When an app lets people see or change things that are not theirs.
Think of it like
Think of it like a hotel where one key fits all the doors.
Example
Jack opens /orders/1041 and sees his order. He types 1042 and sees a stranger's address, because the server never checked the owner.
Why it matters
It is the most common serious flaw in web apps. One missing check can leak every user's data.
Definition
Common mistake
Key takeaways
- 1Check every request. On the server, not in the page.
- 2Deny by default. Allow only what was granted.
- 3Check the owner. The record must belong to the user.