What is Broken Access Control and what is an IDOR?
IntermediateConceptFoundations, Threat Modeling and OWASP
Answer
Broken access control means a user can act outside their intended permissions. An IDOR (insecure direct object reference) is the classic case: GET /api/invoices/1042 returns another customer's invoice because the server checks that you are logged in but not that the invoice belongs to you.
Fix: enforce authorisation server-side on every request using the object's owner (WHERE id = ? AND tenant_id = ?), deny by default, and use non-guessable IDs as defence in depth, not as the control. DAST often misses IDORs; they need authorisation tests in the test suite.
More on Foundations, Threat Modeling and OWASP
What is DevSecOps, and how is it different from DevOps?BeginnerWhat does "shift-left" mean?BeginnerIf we shift left, why do we still need "shift-right" controls?IntermediateWhat are the phases of a secure SDLC and a security activity for each?BeginnerExplain the CIA triad with a DevOps example for each property.BeginnerWhat is threat modeling and when should you do it?Beginner