nuclei-templates/http/exposed-panels/grafana-detect.yaml

44 lines
1.1 KiB
YAML

id: grafana-detect
info:
name: Grafana Login Panel - Detect
author: organiccrap,AdamCrosser,bhutch
severity: info
description: Grafana login panel was detected.
classification:
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
cwe-id: CWE-200
metadata:
vendor: grafana
product: grafana
max-request: 2
shodan-query: title:"Grafana"
category: devops
tags: panel,grafana,detect
http:
- method: GET
path:
- "{{BaseURL}}/login"
- "{{BaseURL}}/graph/login"
stop-at-first-match: true
matchers:
- type: word
part: body
words:
- "<title>Grafana</title>"
extractors:
- type: regex
name: version
part: body
group: 1
regex:
- '\"version\"\:\"([0-9.]+)\"}'
- '\"subTitle\":\"Grafana v([0-9.]+)'
- type: kval
kval:
- version
# digest: 4b0a00483046022100a66f829ae9265bde7575ad7039bbecd0b7e94804d6ec9b08c8b5fa6811bee58b02210095049ed052b39c67a6f26e3b87bd7d75da4e7ca69334fddbd9f1b58f450c4d42:922c64590222798bb761d5b6d8e72950