nuclei-templates/http/misconfiguration/gitlab/gitlab-public-repos.yaml

36 lines
886 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
metadata:
max-request: 1
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: 4b0a00483046022100db1456b7621cff9a0e9b23cec256889e1b2105c58ea97aaeaf719f1403c36ce7022100b8eb7341c2599e8983388219ce5c1cfa516e1b1895649d49186e795b14f052b5:922c64590222798bb761d5b6d8e72950