prometheus-unauth: Prometheus Monitoring System - Unauthenticated
- Template: prometheus-unauth
- Name: Prometheus Monitoring System - Unauthenticated
- Description: Detects unauthenticated access to Prometheus Time Series Collection and Processing Server by checking for specific elements in the response from the `/graph` endpoint.
- Severity: high
- Authors: pussycat0x
- Tags: unauth, prometheus, misconfig, vuln
- Verified: yes
- Max requests: 2
- Directory: http/misconfiguration
- Path: http/misconfiguration/prometheus/prometheus-unauth.yaml
- Digest: 4a0a00473045022034e04fe6dafe2bdfb3605a6ad2841a70e519d290bb3a35bfeffa4ac940b4e930022100a427e0d7f91a157ec6849d5e94ecdf36f4aeb6f212bf72c66b91573eee1bd924
- Created at: 2025-04-02T06:26:36Z
- Updated at: 2025-10-26T16:17:37Z
- Age in days: 600
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/misconfiguration/prometheus/prometheus-unauth.yaml
- Checked, none or zero: references, cves, products
- Not known: impact, remediation
Classification
- Checked, none or zero: cwe
- Not known: cvss score, cvss vector, epss score, epss percentile, cpe
Metadata
- Max-request: 2
- Shodan-query: http.title:"Prometheus Time Series"
- Verified: yes
Labels
- Name: Prometheus Monitoring System - Unauthenticated Access
- Impact: Unauthenticated attackers can access Prometheus dashboards and potentially sensitive metrics data, leading to information disclosure.
- Remediation: Enable authentication on the Prometheus server or restrict access to the /graph endpoint to trusted networks.
- Vulnerability type: misconfiguration
- Vulnerability impact: information_disclosure
- Requirement type: none
- Labels source: securitycontext
- Not known: requirements, from cve
```yaml
id: prometheus-unauth
info:
name: Prometheus Monitoring System - Unauthenticated
author: pussycat0x
severity: high
description: |
Detects unauthenticated access to Prometheus Time Series Collection and Processing Server by checking for specific elements in the response from the `/graph` endpoint.
metadata:
verified: true
max-request: 2
shodan-query: http.title:"Prometheus Time Series"
tags: unauth,prometheus,misconfig,vuln
http:
- method: GET
path:
- "{{BaseURL}}/config"
- "{{BaseURL}}/api/v1/status/config"
matchers-condition: and
matchers:
- type: word
part: body
words:
- "global:"
- "scrape_configs:"
- "scrape_interval"
condition: and
- type: status
status:
- 200
digest: 4a0a00473045022034e04fe6dafe2bdfb3605a6ad2841a70e519d290bb3a35bfeffa4ac940b4e930022100a427e0d7f91a157ec6849d5e94ecdf36f4aeb6f212bf72c66b91573eee1bd924:922c64590222798bb761d5b6d8e72950
```