Insecure Direct Object Reference (IDOR)
Summary
IDOR describes a situation in which sensitive resources can be accessed without proper authorization
Testing methodology
Description
Insecure Direct Object Reference (IDOR) occurs when attacker-controlled application identifiers are used to fetch resources from the database directly, without proper access control guards in place that verify the user's permission to access the resources.
An attacker abusing this vulnerability will be able to bypass access controls and view or modify sensitive data in the application.
Remediations
- Implement proper access controls on sensitive resources to ensure that only authorized users can access them.
- Ensure that user input and session data is properly validated before being used to access sensitive resources.
Usually follows
Usually precedes
Affected components
- Client Side
- Session
- Sensitive Information