Description
Detected Grafana metrics endpoint exposed without authentication revealed sensitive infrastructure information, including version, edition, user counts, dashboard statistics, datasources, and database connection details.
Detected Grafana metrics endpoint exposed without authentication revealed sensitive infrastructure information, including version, edition, user counts, dashboard statistics, datasources, and database connection details.
id: grafana-metrics-exposure
info:
name: Grafana Metrics Endpoint - Information Disclosure
author: 0x_Akoko
severity: low
description: |
Detected Grafana metrics endpoint exposed without authentication revealed sensitive infrastructure information, including version, edition, user counts, dashboard statistics, datasources, and database connection details.
reference:
- https://grafana.com/docs/grafana/latest/setup-grafana/set-up-grafana-monitoring/
- https://hackerone.com/reports/1448218
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
cvss-score: 5.3
cwe-id: CWE-200
metadata:
verified: true
max-request: 1
tags: grafana,exposure,metrics,misconfig,vuln
http:
- method: GET
path:
- "{{BaseURL}}/metrics"
matchers-condition: and
matchers:
- type: status
status:
- 200
- type: word
part: body
words:
- "grafana_build_info"
- "# TYPE grafana_"
condition: and
- type: word
part: header
words:
- "text/plain"
extractors:
- type: regex
name: version
part: body
group: 1
regex:
- 'grafana_build_info\{[^}]*version="([0-9.]+)"'
# digest: 490a0046304402204940f3d30cbf9b669e60ffdcf728cbff5bd484bb646d61d5d4ca1092ec09d7b0022051ba1edcd0cf28f70e319c1f0324917cc24e2d5f4a7d5ee687df1d7e6d2ce35b:922c64590222798bb761d5b6d8e72950
# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.