40 lines
835 B
YAML
40 lines
835 B
YAML
id: gitlab-user-enum
|
|
|
|
info:
|
|
name: GitLab - User Enumeration
|
|
author: Suman_Kar
|
|
severity: info
|
|
reference:
|
|
- https://github.com/danielmiessler/SecLists/blob/master/Usernames/Names/malenames-usa-top1000.txt
|
|
metadata:
|
|
shodan-query: http.title:"GitLab"
|
|
tags: gitlab,enum,misconfig,fuzz
|
|
|
|
requests:
|
|
- raw:
|
|
- |
|
|
GET /users/{{user}}/exists HTTP/1.1
|
|
Host: {{Hostname}}
|
|
Accept: application/json, text/plain, */*
|
|
Referer: {{BaseURL}}
|
|
|
|
payloads:
|
|
user: helpers/wordlists/user-list.txt
|
|
|
|
stop-at-first-match: true
|
|
matchers-condition: and
|
|
matchers:
|
|
|
|
- type: regex
|
|
part: body
|
|
regex:
|
|
- "exists.*:true"
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
- type: word
|
|
part: header
|
|
words:
|
|
- "application/json" |