nuclei-templates/http/exposures/tokens/grafana/grafana-key.yaml

25 lines
609 B
YAML
Raw Normal View History

2023-07-14 11:42:53 +00:00
id: grafana-key
2023-07-04 09:09:14 +00:00
info:
2023-07-14 11:42:53 +00:00
name: Grafana API Key
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-api-key.yaml
- https://github.com/returntocorp/semgrep-rules/blob/develop/generic/secrets/gitleaks/grafana-api-key.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(eyJrIjoi[A-Za-z0-9]{70,400}={0,2})(?:['|\"|\n|\r|\s|\x60|;]|$)