PortSwigger Web Security Academy
- Burp Suite
- Browser Developer Tools
- HTTP Request Analysis
IDOR (Insecure Direct Object Reference)
Access unauthorized user data by manipulating object references and analyze the security impact of broken access control.
- Login as a normal user
- Intercept the HTTP request using Burp Suite
- Identify the object reference (user ID / order ID / document ID)
- Modify the parameter manually
- Forward the modified request
- Access unauthorized resource
Original request:
GET /account?id=123
Modified request:
GET /account?id=124
Result:
Unauthorized access to another user's data
- Sensitive data exposure
- Privacy breach
- Unauthorized access
- Potential privilege escalation
- Broken access control exploitation
High
- Server-side authorization checks
- Access control validation
- Indirect object references
- Role-Based Access Control (RBAC)
- Principle of Least Privilege
Never trust client-side identifiers. Authorization must always be validated on the server side.