Skip to content

Exposed Prometheus

ID: prometheus-log

Severity: low

Author: dhiyaneshDK,thevillagehacker

Tags: prometheus,misconfig

Prometheus instance is exposed.

id: prometheus-log
info:
name: Exposed Prometheus
author: dhiyaneshDK,thevillagehacker
severity: low
description: Prometheus instance is exposed.
metadata:
max-request: 3
tags: prometheus,misconfig
http:
- method: GET
path:
- "{{BaseURL}}/prometheus"
- "{{BaseURL}}/actuator/prometheus"
- "{{BaseURL}}/actuator/prometheus;%2f..%2f..%2f"
matchers-condition: and
matchers:
- type: word
words:
- 'gateway_request_total'
- 'logback_events_total'
condition: or
- type: status
status:
- 200
# digest: 4a0a00473045022100d869ff28c471a463e88410f1cccd78c65a032fec3f402cc1f899fb37f7a9f44602207d4e42a97719c85608841928480fd24e04dde4a2426021604b1d1df1bf5b6016:922c64590222798bb761d5b6d8e72950

This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.

Terminal window
$ nuclei -u "URL" -t "http/misconfiguration/prometheus/prometheus-log.yaml"

View on Github