nuclei-templates/http/exposures/tokens/grafana/grafana-serviceaccount-toke...

27 lines
865 B
YAML

id: grafana-serviceaccount-token
info:
name: Grafana Service Account Token
author: DhiyaneshDK
severity: info
reference:
- 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
metadata:
verified: true
max-request: 1
tags: grafana,exposure,tokens
http:
- method: GET
path:
- "{{BaseURL}}"
extractors:
- type: regex
part: body
regex:
- (?i)\b(glsa_[A-Za-z0-9]{32}_[A-Fa-f0-9]{8})(?:['|\"|\n|\r|\s|\x60|;]|$)
# digest: 4a0a004730450221008208a606bfaf1a87ec5159687c40b7ffc16a27bd7095d67e29a36f32cdceae4d022048f8e537a20aa7431afb7fe259880c19fe18e6e1cbe3bde6b1373fc464da0fd4:922c64590222798bb761d5b6d8e72950