Skip to content

In-depth lesson · IDOR

Tips for beginners

Every point the IDOR reports back under this heading, best-backed first, each with the reports it is seen in.

Back to the lesson 1 to 14 of 14
  1. Start with two accounts you control and map every request that carries an identifier: user id, file id, order number, tenant id, email address or token. Focus first on profile and settings updates, delete endpoints and order or invoice lookups, because these are the most common places for missing ownership checks and the impact is easy to show.

    Seen in 5 reports
  2. When an identifier looks encoded, decode it, change the inner value, re-encode it and send it back. Base64-wrapped ids and composite identifiers are common, and developers sometimes validate only part of the value, such as the last element of a comma-separated list or the GUID inside a Base64 string.

    Seen in 5 reports
  3. Remember that rate limiting and lockout are not fixes for IDOR. If you find an endpoint that returns another user's data by identifier, report the missing ownership check even if the identifiers are hard to guess. Conversely, if the only issue is that identifiers are enumerable but the server correctly checks ownership, that is not an IDOR and should not be reported as one.

    Seen in 5 reports
  4. For GraphQL, run introspection where it is available and test every query and mutation that takes an id argument. Pay particular attention to nested fields: a root query may be protected while a nested resolver returns private data for objects you do not own. Also look for hidden or unlinked GraphQL endpoints referenced in JavaScript bundles.

    Seen in 4 reports
  5. Test password reset and email change flows carefully. If a reset request carries a user identifier, try swapping it for another account's identifier while keeping a valid token. If a profile update endpoint lets you change an email address without the old password, change it to an address you control and then trigger a password reset to demonstrate account takeover.

    Seen in 4 reports
  6. For file and media endpoints, look for sequential filenames, numeric file ids or UUIDs in download and delete requests. Try fetching a neighbouring id or a filename generated from a predictable pattern. If a download link works without a session, check whether it still works in a private window and whether nearby identifiers return other people's documents.

    Seen in 4 reports
  7. In multi-tenant applications, capture requests that include a tenant, workspace, organisation or cluster identifier. Try using your own session with another tenant's identifier, and also try combining your own organisation id with a user id from another organisation. Check bulk operations and role management endpoints, which often miss the tenant check that the main API enforces.

    Seen in 4 reports
  8. Test delete and account management endpoints with care. A delete request that accepts a user id from the URL or body can remove another account, and a bulk delete can affect many users at once. Demonstrate the flaw on an account you control first, then on a second test account, and never target a real user's account. If the program has a bug bounty policy, follow its rules on destructive testing.

    Seen in 4 reports
  9. When you find a numeric identifier, try neighbouring values and low numbers such as the first few ids. Administrators and early users often have low ids, and a successful response with another user's data is a clear demonstration. Do not stop at a 403: try changing the request method, adding a query parameter or altering the path slightly, because authorisation checks are sometimes applied inconsistently across route variations.

    Seen in 3 reports
  10. Read minified JavaScript bundles and archived copies of the site to find internal endpoints that are not linked in the interface. These often return per-user data by identifier and may lack the checks applied to the public API. Test each discovered endpoint for missing authentication and object ownership checks.

    Seen in 3 reports
  11. Show impact with the minimum necessary data. A response containing another user's name and email is usually enough for a privacy bug, but for account takeover demonstrate the full chain: change the email, trigger a reset, and show that you can set a new password. Avoid accessing more records than needed to prove the issue, and never modify or delete another user's data beyond what is required to demonstrate the flaw.

    Seen in 3 reports
  12. Look at mobile app backends after bypassing certificate pinning. Mobile APIs often use email addresses or page identifiers as the only authorisation check, and they may expose endpoints that the web interface does not call. Capture the requests, swap identifiers and check whether the server returns another user's profile or content.

    Seen in 3 reports
  13. Check scope before you test. A sibling site, a third-party integration or an archived endpoint may be out of scope even if it is reachable. If you find an identifier leak on one host, confirm that the affected data belongs to the program's in-scope assets before reporting. Reporting an out-of-scope endpoint with no impact wastes triage time and can count against you.

    Seen in 2 reports
  14. Do not report a missing authorisation check without demonstrating that it returns or changes another user's data. A 200 response with your own data, an error message that reveals nothing, or a theoretical identifier swap is not enough. Use two accounts and show the before and after, including the request that names the victim's object and the response that contains their data.

    Seen in 2 reports