githubEdit

GraphQL Deep Dive

Skill Level: Intermediate to Advanced Prerequisites: GraphQL basics, API testing

Reconnaissance

Endpoint Discovery

# Common GraphQL endpoints
/graphql
/graphql/console
/graphql/api
/graphql/graphql
/graphiql
/graphiql.php
/graphiql.js
/graphql.php
/graphql/schema.json
/v1/graphql
/api/graphql
/query
/gql
/playground

# Nuclei template
nuclei -u https://target.com -t graphql-detect.yaml

Introspection Query

Tools for Discovery

Authentication Bypass

Bypass Introspection Restrictions

Authorization Flaws

Injection Attacks

SQL Injection

NoSQL Injection

OS Command Injection

Batching Attacks

Query Batching for Brute Force

OTP/2FA Bypass via Batching

Denial of Service

Recursive Query (Circular References)

Field Duplication

Batch Query DoS

Directive Overloading

SSRF via GraphQL

File Upload Attacks

Subscriptions Attacks

WebSocket Hijacking

Tools & Automation

GraphQL-specific Tools

Burp Suite Integration

Defense Bypass Techniques

Rate Limiting Bypass

WAF Bypass

Checklist

Last updated

Was this helpful?