Skip to content

Learning path · Intermediate

APIs and access control

The JSON and GraphQL behind modern apps, where most authorisation checks live and where they are most often missing.

Before you start. You are comfortable replaying requests in an intercepting proxy.

0 of 7 done
Start at step 1
  1. Step 1: Object IDs in every API call

    Insecure direct object reference (IDOR)·1,761 reports

    Start with reads, then updates and deletes. An API often has more endpoints than the website uses, so read the JavaScript and any public API documentation for the full list.

  2. Step 2: Random IDs are not access control

    Leaked identifiers feeding IDOR·976 reports

    Long random IDs only help while nobody can see them. The reports show where they leaked: public profiles, invite links, exports and other endpoints.

  3. Step 3: GraphQL fields and mutations

    GraphQL authorization gaps·124 reports

    Introspection gives you the whole schema. Nested queries and mutations often skip checks that the equivalent REST endpoint has.

  4. Step 4: Fields the form does not show

    Mass assignment·62 reports

    Add role, isAdmin, price or ownerId to a request and see whether the server saves it. Compare what the API returns with what it accepts.

  5. Step 5: One organisation reaching another

    Cross-tenant access·82 reports

    In software sold to companies, swap a workspace or tenant ID. A single missing check exposes every customer, which is why these reports pay well.

  6. Step 6: Prices, quotas and workflow steps

    Business logic flaws·10,284 reports

    No payload, just a careful reading of what the app assumes: negative quantities, skipped steps, coupons applied twice, limits checked on the client.

  7. Step 7: The same request, many times at once

    Race conditions·1,504 reports

    Redeem a code twice or exceed a limit by sending parallel requests. The reports show which features are worth trying: anything that checks, then updates.

Next trackServer-side injectionMaking the server fetch, read or run what you choose: SSRF, path traversal, SQL and template injection, and command execution.