nuclei-templates/http/exposures/tokens/gitlab/gitlab-runner-token.yaml

27 lines
715 B
YAML

id: gitlab-runner-token
info:
name: GitLab Runner Registration Token
author: DhiyaneshDK
severity: info
reference:
- https://github.com/praetorian-inc/noseyparker/blob/main/data/default/rules/gitlab.yml
- https://docs.gitlab.com/runner/security/
- https://docs.gitlab.com/ee/security/token_overview.html#runner-registration-tokens-deprecated
- https://docs.gitlab.com/ee/security/token_overview.html#security-considerations
metadata:
verified: true
max-request: 1
tags: gitlab,runner,token,exposure
http:
- method: GET
path:
- "{{BaseURL}}"
extractors:
- type: regex
part: body
regex:
- '\b(GR1348941[0-9a-zA-Z_-]{20})(?:\b|$)'