2021-06-14 08:50:55 +00:00
|
|
|
id: gitlab-user-enumeration
|
2021-06-14 10:43:38 +00:00
|
|
|
|
|
|
|
info:
|
|
|
|
author: Suman_Kar
|
|
|
|
name: GitLab - User Enumeration
|
2021-06-14 08:50:55 +00:00
|
|
|
severity: info
|
2021-06-20 11:05:59 +00:00
|
|
|
tags: gitlab,enumeration
|
2021-08-22 18:09:33 +00:00
|
|
|
reference: https://github.com/danielmiessler/SecLists/blob/master/Usernames/Names/malenames-usa-top1000.txt
|
2021-06-14 10:43:38 +00:00
|
|
|
|
|
|
|
requests:
|
2021-06-15 19:53:59 +00:00
|
|
|
|
2021-08-22 18:09:33 +00:00
|
|
|
- raw:
|
2021-06-14 10:43:38 +00:00
|
|
|
- |
|
2021-06-15 19:53:59 +00:00
|
|
|
GET /users/{{user}}/exists HTTP/1.1
|
2021-06-14 10:43:38 +00:00
|
|
|
Host: {{Hostname}}
|
|
|
|
Accept: application/json, text/plain, */*
|
|
|
|
Referer: {{BaseURL}}
|
2021-08-22 18:09:33 +00:00
|
|
|
|
2021-10-10 01:13:30 +00:00
|
|
|
threads: 50
|
2021-08-22 18:09:33 +00:00
|
|
|
payloads:
|
|
|
|
user: helpers/wordlists/user-list.txt
|
2021-06-14 10:43:38 +00:00
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
|
|
|
|
- type: regex
|
2021-06-14 08:50:55 +00:00
|
|
|
part: body
|
2021-06-14 10:43:38 +00:00
|
|
|
regex:
|
2021-06-14 08:50:55 +00:00
|
|
|
- "exists.*:true"
|
2021-06-14 10:43:38 +00:00
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
2021-06-15 19:53:59 +00:00
|
|
|
- 200
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- "application/json"
|
|
|
|
part: header
|