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

46 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:
max-request: 2
vendor: grafana
product: grafana
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: 4a0a0047304502202f25ea658343fcfa12820a9aab67650087531fb010888f323e05def86df8dee3022100a5ec70d8b5011fcaa6f140cf2a15c4ad83c1dabcb3722b5ac4ffccea3094e8c2:922c64590222798bb761d5b6d8e72950