$5,500 for Asking a GraphQL API What It Was: Introspection Schema Leakage That Mapped an Entire…
The production GraphQL endpoint had introspection enabled without authentication, allowing anyone to retrieve the full schema, including internal-only types. One such type, InternalGradeOverride, lacked authorization checks, so a low-privileged student account could query grade override records for any course.
Most of the GraphQL bugs that pay well involve actually exploiting something — batching past a rate limiter, breaking object-level authorization in a resolver. This one never touched a mutation or exploited an authorization gap at all.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the production GraphQL endpoint left introspection enabled without authentication, and the resolver for an internal type lacked any authorization check.
Impact
Any unauthenticated party could obtain a complete map of the API's internal data model, and any authenticated user could retrieve grade override records, including administrator identities and justifications, for any course.
What the attacker needed
GraphQL endpoint reachable; introspection enabled in production; a low-privilege account for data access
The fix
The endpoint was fixed by disabling introspection in production and adding an explicit authorization check to the grade-override resolver, with an audit of other internal types.
How it was found
- Send a standard introspection query to the production GraphQL endpoint without authentication.
- Review the returned schema dump for internal-only types not used by public clients.
- Using a low-privilege student account, query the InternalGradeOverride type for a test course.
- Observe that grade override records, including administrator identity and reason, are returned.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
GraphQL is a way for apps to ask a server for data. It has a built-in feature called introspection that lets anyone ask the server to describe all its data types and fields. Here, that feature was left on in production, so an outsider could see internal types that were never meant to be public. One of those types let a normal student account read private grade-change records.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.