nuclei-templates/technologies/graphql-detect.yaml

68 lines
2.0 KiB
YAML
Raw Normal View History

2021-06-04 18:23:21 +00:00
id: graphql-detect
2020-04-20 12:52:29 +00:00
info:
2021-06-04 18:23:21 +00:00
name: GraphQL API Detection
2021-06-09 12:20:56 +00:00
author: NkxxkN,ELSFA7110
2020-08-03 21:52:00 +00:00
severity: info
2021-09-09 13:38:13 +00:00
tags: tech,graphql
2020-04-20 12:52:29 +00:00
requests:
- method: POST
2020-05-25 08:24:39 +00:00
path:
2020-04-20 12:52:29 +00:00
- "{{BaseURL}}/graphql"
- "{{BaseURL}}/graphiql"
2020-09-21 14:01:20 +00:00
- "{{BaseURL}}/graphql.php"
- "{{BaseURL}}/graphql/console"
- "{{BaseURL}}/v1"
- "{{BaseURL}}/v2"
- "{{BaseURL}}/v3"
2020-10-09 15:49:07 +00:00
- "{{BaseURL}}/graphql-console"
- "{{BaseURL}}/query-laravel"
- "{{BaseURL}}/v3/subscriptions"
- "{{BaseURL}}/v3/graphql/schema.xml"
- "{{BaseURL}}/v3/graphql/schema.yaml"
- "{{BaseURL}}/v3/playground"
- "{{BaseURL}}/v3/graphql/schema.json"
- "{{BaseURL}}/graphql/schema.yaml"
- "{{BaseURL}}/graphql/schema.xml"
- "{{BaseURL}}/graphql/schema.json"
- "{{BaseURL}}/graphiql/finland"
- "{{BaseURL}}/graphiql.css"
- "{{BaseURL}}/graphql-devtools"
- "{{BaseURL}}/graphql/v1"
- "{{BaseURL}}/v1/graphql"
- "{{BaseURL}}/api/graphql/v1"
- "{{BaseURL}}/portal-graphql"
- "{{BaseURL}}/graphql-playground"
- "{{BaseURL}}/laravel-graphql-playground"
- "{{BaseURL}}/query-explorer"
- "{{BaseURL}}/sphinx-graphiql"
- "{{BaseURL}}/express-graphql"
- "{{BaseURL}}/query"
- "{{BaseURL}}/HyperGraphQL"
- "{{BaseURL}}/graphql/graphql-playground"
- "{{BaseURL}}/graphql-playground-html"
- "{{BaseURL}}/graph_cms"
- "{{BaseURL}}/query-api"
- "{{BaseURL}}/api/cask/graphql-playground"
- "{{BaseURL}}/altair"
- "{{BaseURL}}/playground"
2020-10-09 15:49:07 +00:00
2020-04-20 12:52:29 +00:00
headers:
Content-Type: application/json
2021-06-04 18:23:21 +00:00
2020-04-20 12:52:29 +00:00
body: '{"query":"query IntrospectionQuery{__schema {queryType { name }}}"}'
2020-10-09 15:49:07 +00:00
stop-at-first-match: true
2020-10-09 15:49:07 +00:00
matchers-condition: and
2020-04-20 12:52:29 +00:00
matchers:
2020-10-09 15:49:07 +00:00
- type: status
status:
- 200
2021-06-04 18:23:21 +00:00
2020-10-09 15:49:07 +00:00
- type: regex
regex:
- "__schema"
- "(Introspection|INTROSPECTION|introspection).*?"
- ".*?operation not found.*?"
2021-06-04 18:23:21 +00:00
condition: or