GraphQL Pentesting
Endpoints
/graphql
/api/graphql
/graphql/v1
/v1/graphql
/gqlWordlist
/usr/share/wordlists/seclists/Discover/Web-Content/graphql.txtWhere to look for GraphQL usage:
1) Login pages
2) Trigger error messages
curl -X POST http://domain.local:8080/graphql3) JavaScript files
After verification of GraphQL presence
1) Check for excessive data exposure
2) Injection
GraphQL introspection
1) Check if schema introspection is enabled
2) Dump the entire GraphQL schema
3) Check what operations you can do with GraphQL
4) SQL Injection example
Last updated