nuclei-templates/http/exposures/configs/prometheus-metrics.yaml

45 lines
1013 B
YAML
Raw Normal View History

id: prometheus-metrics
info:
name: Prometheus Metrics - Detect
2023-04-17 04:07:09 +00:00
author: dhiyaneshDK,philippedelteil
severity: medium
description: Prometheus metrics page was detected.
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
2022-03-02 17:08:05 +00:00
reference:
- https://github.com/prometheus/prometheus
- https://hackerone.com/reports/1026196
tags: exposure,prometheus,hackerone,config
metadata:
max-request: 1
http:
- method: GET
path:
- "{{BaseURL}}/metrics"
2023-08-17 08:34:13 +00:00
- "{{BaseURL}}/api/metrics"
2023-08-17 09:15:05 +00:00
stop-at-first-match: true
matchers-condition: and
matchers:
- type: word
words:
- 'cpu_seconds_total'
- 'http_request_duration_seconds'
- 'process_virtual_memory_bytes'
- 'process_start_time_seconds'
condition: or
2023-04-17 04:07:09 +00:00
- type: word
part: body
words:
- "lvm_"
negative: true
- type: status
status:
- 200