abbreviation IDOR
insecure direct object reference
An insecure direct object reference (IDOR) is a cybersecurity vulnerability where an application fails to properly validate user input before accessing objects like files, database records, or user accounts.
It happens when a system uses direct references (e.g., IDs, URLs) to identify objects, and an attacker manipulates these references to access unauthorized data. For example, changing a URL parameter from ‘user=123’ to ‘user=124’ might reveal another user’s data.
For developers, IDORs require strict input validation, access control checks, and indirect object references (e.g., tokens). Ignoring this can expose sensitive data, leading to breaches or legal consequences. In 2021, a misconfigured API allowed attackers to access 5.4 million users’ records due to an IDOR flaw.
A hacker changes a URL parameter to access another customer’s order history on an e-commerce site.