Skip to content
BENIBIX Learn

Broken Access Control

Development🔐 SecuritySecurity Basics

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

Broken access control means an app lets people do things they should not be allowed to do. A user might see someone else's orders just by changing a number in the address. Or a normal user reaches an admin page that was only hidden, not locked. The app checked who you are, but not what you may touch. It is first on the 2025 OWASP Top 10 list.
The third row: Jack asks for order 1042, and nobody checks that it is his.

Common mistake

Hiding a button and calling it safe. The server must check each request, because anyone can send one by hand.

Key takeaways

  1. 1
    Check every request. On the server, not in the page.
  2. 2
    Deny by default. Allow only what was granted.
  3. 3
    Check the owner. The record must belong to the user.