29 lines
910 B
YAML
29 lines
910 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|$)'
|
|
|
|
# digest: 4a0a00473045022100f718ef709ea06e721f703bd7cb14a1697daf18712702472ad60b890ae2114ccd0220247deb4b10bbb2735ed6041855300aa46571f9a328ac733acea61f8f51af1f38:922c64590222798bb761d5b6d8e72950
|