Skip to content

Field manual · BAC · Chapter 0

The One-Frame Model

Everything is one idea

2 min readBroken Access Control

Broken access control: the complete field guide

Section titled “Broken access control: the complete field guide”

Or: The Server Already Knows Who You Are: It Just Doesn’t Care

Section titled “Or: The Server Already Knows Who You Are: It Just Doesn’t Care”

IDOR is Broken Access Control’s famous little brother. IDOR changes the number on the door. Broken Access Control asks: “Why am I knocking on doors at all? Why not just walk into the vault?”

This is the OWASP #1 category. Not top 5. Not “a major one.” #1. Above injection, above crypto, above everything. The entire industry’s biggest vulnerability category is, at its core, this concept:

The server knows who you are. It just forgot to care.


Chapter 0: the one-frame model: everything is one idea

Section titled “Chapter 0: the one-frame model: everything is one idea”

Every BAC bug ever found is one of two sentences:

HORIZONTAL: "Objects are checked for EXISTENCE, not OWNERSHIP."
(You get user #1042's stuff instead of your own.)
VERTICAL: "Routes are hidden by the UI, not gated by the SERVER."
(A standard user reaches admin-only actions.)

That’s the whole kingdom. Everything else is costume:

Costume What it’s actually wearing
IDOR Horizontal, object ownership never checked
Forced browsing Vertical, admin URL works without admin session
Privilege escalation Vertical, your role changed, shouldn’t have
Mass assignment Vertical, you wrote your own promotion
JWT confusion Vertical, identity claims manipulated
GraphQL resolver bugs Horizontal or vertical, per-field blindness
OAuth flaws Horizontal, you wear someone else’s badge

The unified prayer you will recite at every endpoint:

“The UI is not the security. The UI is not the security. The UI is a suggestion. The server is where authorization lives or dies.”

Why care: this is the single most common access-control bug in the wild, and it costs nothing to test. A developer builds an admin panel. The admin panel links are only shown to admins. The developer feels safe. The developer goes to lunch. You request /admin/users/delete?id=1042 with your standard-user cookie. The server says: “link, admin genealogy, whatever, deleting user 1042 for you.”

The link was never the lock. That’s forced browsing. It is the oldest BAC bug there is (found in 1994, still shipped in 2025). This chapter shows how to find it at scale.

IDOR is the horizontal half of this same picture. The IDOR guide covers the full identifier-cracking method: ID formats, the four-identity diff, and GraphQL and WebSocket IDOR.

Next step: build your role-by-endpoint hunting map in Chapter 1.

Connections1 backlink · 1 outgoing · 1 cross-guideFull graph →
Open local graph around this page
Open full graph →
Click a node to open · Drag to reposition · Scroll to zoom

Broken Access ControlFor authorized security research only: bug bounty programs, your own systems, or scoped engagements with written permission.