2023-03-07 09:40:29 +00:00
|
|
|
id: gitlab-personal-token
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: GitLab Personal Access Token
|
|
|
|
author: DhiyaneshDK
|
|
|
|
severity: info
|
|
|
|
reference:
|
|
|
|
- https://github.com/praetorian-inc/noseyparker/blob/main/data/default/rules/gitlab.yml
|
|
|
|
- https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html
|
|
|
|
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,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(glpat-[0-9a-zA-Z_-]{20})(?:\b|$)'
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 490a0046304402207be655b29d61680e29fd20116b6b651b8e1a07945749263cdd9a4bbbf4982bf70220400c873f4883f884df66fa94e07b00ff56f5b6f97acc9550181dae1ba9ae9d4e:922c64590222798bb761d5b6d8e72950
|