Skip to content

In-depth lesson · GraphQL authorization gaps

Tips for beginners

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

Back to the lesson 1 to 11 of 11
  1. Look for resolvers that trust client-supplied identifiers without checking ownership. This is the root cause in many reports, so any operation that takes an ID is a candidate.

    Seen in 6 reports
  2. Focus on mutations that perform write operations such as delete, update, archive, or assign. These are common places for missing ownership checks and can lead to clear impact like deleting another user's content or modifying their settings.

    Seen in 5 reports
  3. Test node and global identifier lookups. These often resolve objects by ID without checking whether the caller can view the underlying resource, potentially exposing private programmes or user data.

    Seen in 3 reports
  4. Demonstrate impact clearly. Show that you can access data or perform actions that should be restricted, and if possible, show the consequences such as reading private information or modifying another user's data. Avoid reporting without proof of impact.

    Seen in 3 reports
  5. Create two accounts and use one to generate objects (like posts, conversations, invoices) and the other to attempt access. Substitute identifiers from the first account into requests made by the second and look for data leakage or state changes.

    Seen in 2 reports
  6. Check for cross-tenant issues by testing operations that involve organisation or tenant identifiers. Try to act on another organisation's resources by supplying their identifier.

    Seen in 2 reports
  7. Pay attention to features where the web interface enforces privacy but the GraphQL API might not, such as private profiles, snippets, or forms. Compare behaviour between the web interface and the API.

    Seen in 2 reports
  8. Be careful about scope. Ensure the GraphQL endpoint and the affected feature are in scope for the programme. Reporting out-of-scope issues wastes time and may be rejected.

    Seen in 2 reports
  9. Look for information disclosure beyond the first IDOR. Probe GraphQL operations for additional data exposure, such as user enumeration or system information.

    Seen in 2 reports
  10. Test for missing authentication on GraphQL operations. Sometimes endpoints accept requests with missing, malformed, or expired tokens, or allow unauthenticated access to operations discovered via introspection.

    Seen in 1 report
  11. Consider race conditions alongside IDOR. Sending concurrent requests against an object you do not own might reveal additional flaws.

    Seen in 1 report