38 lines
990 B
YAML
38 lines
990 B
YAML
id: gitlab-public-repos
|
|
|
|
info:
|
|
name: GitLab public repositories
|
|
author: ldionmarcil
|
|
severity: info
|
|
reference:
|
|
- https://twitter.com/ldionmarcil/status/1370052344562470922
|
|
- https://github.com/ldionmarcil/gitlab-unauth-parser
|
|
classification:
|
|
cpe: cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*
|
|
metadata:
|
|
max-request: 1
|
|
vendor: gitlab
|
|
product: gitlab
|
|
shodan-query: http.title:"GitLab"
|
|
tags: gitlab,exposure,misconfig
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/api/v4/projects"
|
|
|
|
headers:
|
|
Cookie: _gitlab_session=
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: header
|
|
words:
|
|
- "Set-Cookie: _gitlab_session="
|
|
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- "name_with_namespace"
|
|
# digest: 4b0a00483046022100d9dd10ccef9d36ef95269812b962ac236dab0eb25276f1866662d4e06f89b6970221008dee0b89902d37dbd5c10006867f77939c5a11592ed85f2129862f7a5be36451:922c64590222798bb761d5b6d8e72950 |