Skip to content
ShankarStack
HighIDOR

Insecure Direct Object Reference (IDOR)

An application exposes a reference to an object without verifying the user is authorised to access it.

IDOR is a form of broken object-level authorization: the server trusts an identifier from the client and returns or modifies the object without an ownership/permission check.

Root cause

Authorization is assumed from possession of an identifier rather than enforced per request on the server.

Impact

Users can read or modify data belonging to others, leading to privacy breaches or integrity loss.

Detection methodology

Enumerate your own objects and verify every request re-checks authorization server-side; review handlers for missing ownership checks.

Remediation

Enforce object-level authorization on every request using the authenticated identity; avoid exposing predictable internal identifiers where feasible.

Secure coding guidance

Centralise authorization checks; derive the acting user from the session, never from client input.