Files
nuclei-templates/misconfiguration/gitlab/gitlab-graphql-user-enum.yaml
2021-11-01 19:36:21 +05:30

38 lines
714 B
YAML

id: gitlab-graphql-user-enum
info:
name: Gitlab User enumeration via Graphql API
author: pikpikcu
severity: info
tags: gitlab,enum,misconfig
requests:
- method: POST
path:
- "{{BaseURL}}/api/graphql"
headers:
Content-Type: application/json
body: |
{
"query":"{\nusers {\nedges {\n node {\n username\n email\n avatarUrl\n }\n }\n }\n }"
}
matchers-condition: and
matchers:
- type: word
part: header
words:
- "application/json"
- type: word
condition: and
words:
- avatarUrl
- username
- email
- type: status
status:
- 200