Files
nuclei-templates/misconfiguration/gitlab/gitlab-api-user-enum.yaml
forgedhallpass 209538baa6 refactor: Description field uniformization
* info field reorder
* reference values refactored to list
* added new lines after the id and before the protocols
* removed extra new lines
* split really long descriptions to multiple lines (part 1)
* other minor fixes
2022-04-22 13:38:41 +03:00

43 lines
887 B
YAML

id: gitlab-api-user-enum
info:
name: GitLab - User Information Disclosure Via Open API
author: Suman_Kar
severity: medium
reference:
- https://gitlab.com/gitlab-org/gitlab-foss/-/issues/40158
metadata:
shodan-query: http.title:"GitLab"
tags: gitlab,enum,misconfig,disclosure
requests:
- raw:
- |
GET /api/v4/users/{{uid}} HTTP/1.1
Host: {{Hostname}}
Accept: application/json, text/plain, */*
Referer: {{BaseURL}}
payloads:
uid: helpers/wordlists/numbers.txt
stop-at-first-match: true
matchers-condition: and
matchers:
- type: regex
part: body
condition: and
regex:
- "username.*"
- "id.*"
- "name.*"
- type: word
part: header
words:
- "application/json"
- type: status
status:
- 200