2022-03-02 16:59:13 +00:00
|
|
|
id: prometheus-metrics
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Exposed Prometheus metrics
|
|
|
|
author: dhiyaneshDK, philippedelteil
|
|
|
|
severity: low
|
2022-03-02 17:08:05 +00:00
|
|
|
reference:
|
2022-03-02 16:59:13 +00:00
|
|
|
- https://github.com/prometheus/prometheus
|
|
|
|
- https://hackerone.com/reports/1026196
|
|
|
|
tags: config,exposure,prometheus
|
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/metrics"
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- 'cpu_seconds_total'
|
|
|
|
- 'http_request_duration_seconds'
|
|
|
|
- 'process_virtual_memory_bytes'
|
|
|
|
- 'process_start_time_seconds'
|
|
|
|
condition: or
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|