GraphQL Injection: Enumerate Database Schema via Suggestions
When you use an unknown keyword, the GraphQL backend will respond with a suggestion related to its schema.
{
"message": "Cannot query field \"one\" on type \"Query\". Did you mean \"node\"?",
}You can also try to bruteforce known keywords, field and type names using wordlists such as Escape-Technologies/graphql-wordlist when the schema of a GraphQL API is not accessible.
Comments
No comments yet.