2023-07-14 11:42:53 +00:00
|
|
|
id: grafana-serviceaccount-token
|
2023-07-04 09:09:14 +00:00
|
|
|
|
|
|
|
info:
|
2023-07-14 11:42:53 +00:00
|
|
|
name: Grafana Service Account Token
|
2023-07-04 09:09:14 +00:00
|
|
|
author: DhiyaneshDK
|
|
|
|
severity: info
|
|
|
|
reference:
|
2023-07-14 11:42:53 +00:00
|
|
|
- https://github.com/returntocorp/semgrep-rules/blob/develop/generic/secrets/gitleaks/grafana-service-account-token.yaml
|
|
|
|
- https://github.com/returntocorp/semgrep-rules/blob/develop/generic/secrets/gitleaks/grafana-service-account-token.go
|
2023-07-04 09:09:14 +00:00
|
|
|
metadata:
|
|
|
|
verified: true
|
2023-10-14 11:27:55 +00:00
|
|
|
max-request: 1
|
2023-07-14 11:42:53 +00:00
|
|
|
tags: grafana,exposure,tokens
|
2023-07-04 09:09:14 +00:00
|
|
|
|
|
|
|
http:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}"
|
|
|
|
|
|
|
|
extractors:
|
|
|
|
- type: regex
|
|
|
|
part: body
|
|
|
|
regex:
|
2023-10-14 11:27:55 +00:00
|
|
|
- (?i)\b(glsa_[A-Za-z0-9]{32}_[A-Fa-f0-9]{8})(?:['|\"|\n|\r|\s|\x60|;]|$)
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4a0a004730450221008208a606bfaf1a87ec5159687c40b7ffc16a27bd7095d67e29a36f32cdceae4d022048f8e537a20aa7431afb7fe259880c19fe18e6e1cbe3bde6b1373fc464da0fd4:922c64590222798bb761d5b6d8e72950
|