2022-03-02 16:59:13 +00:00
|
|
|
id: prometheus-metrics
|
|
|
|
|
|
|
|
info:
|
2023-02-23 19:29:46 +00:00
|
|
|
name: Prometheus Metrics - Detect
|
2022-03-02 16:59:13 +00:00
|
|
|
author: dhiyaneshDK, philippedelteil
|
2023-03-02 19:35:26 +00:00
|
|
|
severity: medium
|
2023-02-23 19:29:46 +00:00
|
|
|
description: Prometheus metrics page was detected.
|
2023-03-02 19:35:26 +00:00
|
|
|
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:
|
2022-03-02 16:59:13 +00:00
|
|
|
- https://github.com/prometheus/prometheus
|
|
|
|
- https://hackerone.com/reports/1026196
|
2022-08-27 04:41:18 +00:00
|
|
|
tags: exposure,prometheus,hackerone,config
|
2022-03-02 16:59:13 +00:00
|
|
|
|
|
|
|
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
|
2023-02-23 19:25:41 +00:00
|
|
|
|
2023-03-02 19:35:26 +00:00
|
|
|
# Enhanced by cs on 2023/03/02
|