2021-03-12 08:10:33 +00:00
|
|
|
id: gitlab-public-repos
|
|
|
|
|
2021-03-12 04:45:35 +00:00
|
|
|
info:
|
|
|
|
name: GitLab public repositories
|
|
|
|
author: ldionmarcil
|
|
|
|
severity: info
|
2021-11-01 14:06:21 +00:00
|
|
|
tags: gitlab,exposure,misconfig
|
2021-08-18 11:37:49 +00:00
|
|
|
reference:
|
2021-08-19 14:44:46 +00:00
|
|
|
- https://twitter.com/ldionmarcil/status/1370052344562470922
|
|
|
|
- https://github.com/ldionmarcil/gitlab-unauth-parser
|
2021-03-12 04:45:35 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/api/v4/projects"
|
|
|
|
headers:
|
|
|
|
Cookie: _gitlab_session=
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: header
|
|
|
|
words:
|
|
|
|
- "Set-Cookie: _gitlab_session="
|
|
|
|
|
2021-03-12 06:58:45 +00:00
|
|
|
- type: word
|
2021-03-12 04:45:35 +00:00
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- "name_with_namespace"
|