The Darkside of GraphQL
summary
Shows concrete exploits and fixes: public introspection reveals schema and allowed unauthenticated mutations (example: price changes at jumbo.com), discovered with ffuf and inspected with GraphQL Voyager; a built scanner at Cequence/Sequence detects open introspection. Demonstrates batching authentication bypass using many OTPs in one request (no rate limit required), directive overloading and cyclic-query DOS. Recommends practical mitigations: depth limits, per-client rate limits, disable or auth-gate introspection, and whitelist input characters.
AI-written summary · about
chapters (19)
- 0:00Intro
- 1:04What is Sequence
- 1:36What is GraphQL
- 2:06Why GraphQL
- 2:47GraphQL vs REST
- 4:11Common GraphQL Endpoints
- 6:01GraphQL Queries
- 7:07Bad Joke
- 8:06In introspection
- 9:48Human mind
- 10:18Unauthenticated calls
- 12:42Sequence
- 13:11Batching
- 15:33Authentication Bypass
- 20:08Testing for Directive overloading
- 20:39What are directives
- 22:41Directive overloading
- 24:08Depth limiting
- 26:48Questions
