๐Ÿ“ˆgraphql injection

Graphql Injection

Common GraphQL endpoints

/v1/explorer
/v1/graphiql
/graph
/graphql
/graphql/console/
/graphql.php
/graphiql
/graphiql.php

Universal Queries

query{__typename}

Introspection

query={__schema{types{name,fields{name}}}}
query={__schema{types{name,fields{name,args{name,description,type{name,kind,ofType{name, kind}}}}}}}

Identify an injection point

Errors

Enumerate Database Schema via Introspection

Encoded

Decoded

Querying

Mutations

Aliases

Query name based batching

Injections

NOSQL injection

SQL injection

References

Was this helpful?