2021-10-26 12:09:26 +00:00
|
|
|
id: gitlab-user-enum
|
2021-06-14 10:43:38 +00:00
|
|
|
|
|
|
|
info:
|
|
|
|
name: GitLab - User Enumeration
|
2022-04-22 10:38:41 +00:00
|
|
|
author: Suman_Kar
|
2021-06-14 08:50:55 +00:00
|
|
|
severity: info
|
2022-04-22 10:38:41 +00:00
|
|
|
reference:
|
|
|
|
- https://github.com/danielmiessler/SecLists/blob/master/Usernames/Names/malenames-usa-top1000.txt
|
2022-03-02 07:35:29 +00:00
|
|
|
metadata:
|
2023-04-28 08:11:21 +00:00
|
|
|
max-request: 100
|
2022-03-02 07:35:29 +00:00
|
|
|
shodan-query: http.title:"GitLab"
|
2024-02-28 05:11:31 +00:00
|
|
|
tags: gitlab,enum,misconfig,bruteforce
|
2021-06-14 10:43:38 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
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
|
|
|
|
|
|
|
payloads:
|
|
|
|
user: helpers/wordlists/user-list.txt
|
2021-10-26 12:09:26 +00:00
|
|
|
stop-at-first-match: true
|
2023-10-14 11:27:55 +00:00
|
|
|
|
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
|
2021-11-01 14:06:21 +00:00
|
|
|
part: header
|
2021-06-15 19:53:59 +00:00
|
|
|
words:
|
2023-10-14 11:27:55 +00:00
|
|
|
- "application/json"
|
2024-02-12 18:33:19 +00:00
|
|
|
# digest: 490a004630440220516454fecd095238b0680909c584d24276cdc2923a0c6041adc84bd5049e8fec02204536a4fff408b0c9cbebae22e5e544563a9d2ada2330506adfa06ea7818a5709:922c64590222798bb761d5b6d8e72950
|