What Is IDOR? A Guide to Insecure Direct Object Reference Flaws
Insecure Direct Object Reference (IDOR) is a common web and API security bug in which an application uses a user-changeable identifier, such as an invoice or user ID, to retrieve data without verifying the requester's ownership. The article explains that it falls under Broken Access Control in the OWASP Top 10, and is called BOLA in API contexts. A worked example shows how changing an invoice number in a URL can expose another customer's personal details. It notes that such references can appear in URLs, API paths, request bodies, file downloads and GraphQL queries, and can allow read, write, or delete actions. The author attributes the flaw to confusing authentication with authorization and recommends manual testing with two accounts, since automated scanners often miss it.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in