November 29, 2026
A Practical Manual IDOR and Authorization Testing Methodology
Introduction

By Rebline CyberSec
1 min read
Manual Web Application VAPT
Introduction
Automated scanners can identify common vulnerabilities, but authorization problems frequently require human reasoning.
Insecure Direct Object Reference (IDOR) occurs when an application allows a user to access an object they are not authorized to access.
Modern OWASP terminology includes Broken Object Level Authorization (BOLA).
1. Understand the application
Assume a test application contains:
GET /api/users/1001/profile
GET /api/users/1002/profileGET /api/users/1001/profile
GET /api/users/1002/profileUser A is authorized for account 1001. User B owns account 1002.
The security requirement is that User A must not retrieve User B's private information.
2. Lab setup
Use OWASP Juice Shop or another intentionally vulnerable application.
Tools:
- Burp Suite Community.
- OWASP ZAP.
- Browser developer tools.
- Postman.
Configure your browser to proxy traffic through Burp Suite.
3. Step-by-step methodology
Step 1 โ Reconnaissance
Map application endpoints and identify object identifiers.
Step 2 โ Enumeration
Identify user roles, object ownership and HTTP methods.
Step 3 โ Baseline request
Capture an authorized request:
GET /api/users/1001/profile HTTP/1.1
Host: lab.example
Authorization: Bearer USER_A_TOKENGET /api/users/1001/profile HTTP/1.1
Host: lab.example
Authorization: Bearer USER_A_TOKENStep 4 โ Authorization test
In your lab, substitute an object belonging to User B:
GET /api/users/1002/profile HTTP/1.1
Host: lab.example
Authorization: Bearer USER_A_TOKENGET /api/users/1002/profile HTTP/1.1
Host: lab.example
Authorization: Bearer USER_A_TOKENStep 5 โ Validate the response
A properly authorized application should reject the unauthorized request.
An HTTP 200 response alone does not establish a vulnerability. Inspect the actual returned data and confirm ownership boundaries.
4. More advanced test cases
- GET access to another user's record.
- PUT modification of another user's record.
- DELETE authorization enforcement.
- Nested object ownership.
- Administrative-only operations.
- Role changes.
- Bulk API requests.
5. Detection
Developers should log:
- Authenticated principal.
- Requested object ID.
- Authorization decision.
- Denied cross-account access.
- Unusual object enumeration patterns.
6. Remediation
Authorization must be checked server-side on every request.
Example:
def get_profile(user, profile):
if profile.owner_id != user.id:
raise PermissionError("Forbidden")
return profiledef get_profile(user, profile):
if profile.owner_id != user.id:
raise PermissionError("Forbidden")
return profileAlso implement centralized policy enforcement, least privilege and automated cross-user authorization tests.
Conclusion
An IDOR finding is not simply about changing an ID. It is about proving that the application fails to enforce ownership and authorization.
Question: What is your preferred approach to finding BOLA: manual testing, API automation or source-code review?
Follow Rebline CyberSec.
References: OWASP API1:2023.