Test Object References For IDOR

Insecure direct object reference (IDOR)Discovery

Written with a model's help from “How I Find IDOR Vulnerabilities: My Complete Bug Bounty Hunting Methodology” by Samadhan shimple on Samadhan (samadhanshimple) (Medium). Read the writeup before relying on it.

To test for Insecure Direct Object Reference (IDOR) vulnerabilities, try modifying id, user_id, account_id, and other object identifiers in requests to see if the application properly checks ownership and permissions. Use tools like Burp Suite to intercept and repeat requests, and compare responses from different test accounts. Look for object references in URL Paths, Query Parameters, Request Body, and HTTP Headers and Cookies. Test different HTTP methods, including GET, POST, PUT, PATCH, and DELETE, to see if the application allows unauthorized access or modification of resources. For example, send a GET /api/users/1042/profile request and check if the response contains information belonging to another user. You can use a tool like Burp Suite Repeater to resend requests and compare responses.

Follow #authorization or #idor for new tips like this one, on your notifications page and, if you choose, in a daily or weekly email.

Comments

No comments yet.