Test API endpoints for IDOR
When testing API endpoints, try to access resources that should belong to other users or organizations by modifying the organization_id or similar parameters in the request. If the endpoint returns data for other organizations, it may indicate an Insecure Direct Object Reference (IDOR) vulnerability. Look for endpoints that handle sensitive data, such as sales reports or product information, and test them with different organization_id values. You can use a tool like curl to send requests with modified parameters, such as curl -X GET 'https://target.com/api/reports/top-products?organization_id=123'. If the response contains data for the specified organization, even if you are not authenticated as a user of that organization, it may indicate an IDOR vulnerability.
Follow #authentication or #business-logic for new tips like this one, on your notifications page and, if you choose, in a daily or weekly email.
Comments
No comments yet.