scanrub
AuthorizationHighBOLABroken Object Level Authorization

Insecure Direct Object Reference (IDOR)

An endpoint exposes object identifiers but fails to verify that the caller is authorized for that specific object.

Live Playground · Powered by this research
ID Predictability Checker

Paste example object IDs. We'll tell you if they're predictable (sequential/short) - a common IDOR risk.

Total IDs analyzed4
Sequential (predictable)YES
Short (< 8 chars)YES - enumerable
FormatShort numeric/string
Predictable IDs. Combined with weak authz, this is textbook IDOR.
Payloads from this research (10 total)
?id=1, ?id=2, ?id=99999
/api/users/1, /api/users/2
/api/reports/<other-uuid>
POST /transfer with from=<their account>
These payloads were synthesized from real HackerOne disclosures. Click any payload to copy it, then paste it into the tester above to see how our detection classifies it.

Overview

When access control checks the user is authenticated but not that they own the referenced id, changing an id (numeric, UUID, or filename) returns or modifies another tenant’s data. It is the #1 API risk (BOLA).

How it works

When access control checks the user is authenticated but not that they own the referenced id, changing an id (numeric, UUID, or filename) returns or modifies another tenant’s data. It is the #1 API risk (BOLA).

Example

http
GET /api/v2/invoices/1042   200 OK   (yours)
GET /api/v2/invoices/1043   200 OK   (someone else’s)

Impact

Cross-tenant data disclosure and tampering, mass data scraping, and privilege escalation.

Detection

Authenticate as two users and replay each one’s object references with the other’s session, flagging any successful cross-account read or write. Diffing the actual response content, rather than just checking the status code, is what confirms real data exposure instead of a coincidental 200.

Prevention

  • Enforce per-object authorization on every request, server-side.
  • Scope queries by the authenticated principal (WHERE owner_id = :me).
  • Use unpredictable identifiers as defense-in-depth, never as the control.
  • Add automated multi-tenant authorization tests to CI.

Real-world HackerOne reports

Sampled from 257 disclosed reports analyzed for the Insecure Direct Object Reference (IDOR) research playbook.

Weekly security research

New vulnerability playbooks, tool updates, and bug bounty insights - delivered to your inbox. No spam.

Unsubscribe anytime. We respect your inbox.
Press ⌘K to search×