2022-03-02 16:59:13 +00:00
|
|
|
id: prometheus-metrics
|
|
|
|
|
|
|
|
info:
|
2023-02-23 19:29:46 +00:00
|
|
|
name: Prometheus Metrics - Detect
|
2023-04-17 04:07:09 +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-08-22 12:37:30 +00:00
|
|
|
reference:
|
|
|
|
- https://github.com/prometheus/prometheus
|
|
|
|
- https://hackerone.com/reports/1026196
|
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
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
2023-08-22 12:37:30 +00:00
|
|
|
max-request: 2
|
|
|
|
tags: exposure,prometheus,hackerone,config
|
2022-03-02 16:59:13 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2022-03-02 16:59:13 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/metrics"
|
2023-08-17 08:34:13 +00:00
|
|
|
- "{{BaseURL}}/api/metrics"
|
2022-03-02 16:59:13 +00:00
|
|
|
|
2023-08-17 09:15:05 +00:00
|
|
|
stop-at-first-match: true
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2022-03-02 16:59:13 +00:00
|
|
|
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
|
|
|
|
|
2022-03-02 16:59:13 +00:00
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4a0a0047304502206a91f07c6ef932dad78722633bd4966ef49dfec12dad50dd6e67b7f36e7c376d022100d3912261718bbd4bb5b66da39959f5bf3a5c3b1f9f9b2b87a3608cf134494a87:922c64590222798bb761d5b6d8e72950
|