Test for IDOR via sequential IDs
When testing an API that serves records by numeric ID, try lowering the ID in a request to see if it returns other users' records. This can reveal an insecure direct object reference (IDOR) if the API checks only that the caller is logged in, not that the record belongs to the caller. Send a request with a applicant_id parameter set to a lower value than expected, and check if the response contains data that should not be accessible to the current user. If it does, the target may be vulnerable to IDOR.
Follow #api-security, #authorization or #sequential-ids for new tips like this one, on your notifications page and, if you choose, in a daily or weekly email.
Comments
No comments yet.