GraphQL Attacks
Common Endpoints
/graphql
/api/graphql
/graphql/console
/graphql.php
/graphiqlIdentification
Fingerprint GraphQL Engine (graphw00f)
git clone https://github.com/dolevf/graphw00f.git
python3 main.py -d -f -t http://TARGETSecurity Audit (GraphQL-Cop)
git clone https://github.com/dolevf/graphql-cop.git
pip install -r requirements.txt
python3 graphql-cop.py -t http://TARGET/graphqlIntrospection Queries
List All Types
Get Fields of a Type
List All Queries
List All Mutations
Get Mutation Input Fields
Full Introspection Dump (paste into GraphQL Voyager)
IDOR / Broken Authorization
Identify
Exploit - Read Other User's Password
Exploit - Enumerate All Users
SQL Injection
Identify
Exploit - UNION SQLi in GraphQL
Denial of Service (DoS)
Identify
Exploit - Nested Query DoS
Batching Attacks (Brute Force Bypass)
Identify
Exploit - Multiple Queries in Single Request
Mutations - Privilege Escalation
Identify
Exploit - Register Admin User
XSS via GraphQL
Identify
Test
Tools
Tool
Purpose
Install
Burp + InQL Workflow
Last updated