Test APIs for IDOR via mobile app

Insecure direct object reference (IDOR)Discovery

Written with a model's help from “IDOR Trick Leads to Damage Across the Entire Business” on Mahmoud Farag (Medium). Read the writeup before relying on it.

When a target has a mobile app and web API, try to find endpoints that handle the same data. If the mobile app provides an identifier, such as a review_id, test whether the web API accepts it. Use a tool like a proxy to capture the mobile app's request, extract the identifier, and then use it in a request to the web API. If the web API processes the request without checking ownership, you may have found an IDOR vulnerability. To confirm, use the identifier from one user's account to perform an action on another user's data, such as deleting a review, while logged in as the first user. If the action succeeds, the target may be vulnerable to IDOR attacks.

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

Comments

No comments yet.