Skip to content

Prometheus exporter detect

ID: prometheus-exporter

Severity: info

Author: jarijaas

Tags: prometheus,misconfig

Prometheus exporter detector

id: prometheus-exporter
info:
name: Prometheus exporter detect
author: jarijaas
severity: info
description: Prometheus exporter detector
reference:
- https://github.com/prometheus/prometheus/wiki/Default-port-allocations
metadata:
max-request: 1
tags: prometheus,misconfig
http:
- method: GET
path:
- "{{BaseURL}}"
matchers-condition: and
matchers:
- type: word
words:
- 'Exporter'
- '<a href="/metrics">Metrics</a>'
condition: and
extractors:
- type: regex
part: body
group: 1
regex:
- "<title>(.*?)</title>"
# digest: 4a0a0047304502204eef0617fc18b8259406d683179611d0cd745ebb451c6c8dc8af3a74d0c5aa8f022100abc74103d3ef3376512effa3b9f6887b59ca7ea3755b1449d82f2641190008d6: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-exporter.yaml"

View on Github