2023-03-07 09:40:29 +00:00
|
|
|
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:
|
2023-06-04 08:13:42 +00:00
|
|
|
verified: true
|
2023-10-14 11:27:55 +00:00
|
|
|
max-request: 1
|
2023-03-07 09:40:29 +00:00
|
|
|
tags: gitlab,runner,token,exposure
|
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2023-03-07 09:40:29 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}"
|
|
|
|
|
|
|
|
extractors:
|
|
|
|
- type: regex
|
|
|
|
part: body
|
|
|
|
regex:
|
2023-10-14 11:27:55 +00:00
|
|
|
- '\b(GR1348941[0-9a-zA-Z_-]{20})(?:\b|$)'
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4a0a00473045022100f718ef709ea06e721f703bd7cb14a1697daf18712702472ad60b890ae2114ccd0220247deb4b10bbb2735ed6041855300aa46571f9a328ac733acea61f8f51af1f38:922c64590222798bb761d5b6d8e72950
|