2021-11-27 22:09:10 +00:00
|
|
|
id: prometheus-log
|
2021-07-13 13:54:13 +00:00
|
|
|
|
|
|
|
info:
|
|
|
|
name: Exposed Prometheus
|
2023-10-16 19:51:17 +00:00
|
|
|
author: dhiyaneshDK,thevillagehacker
|
2021-07-13 13:54:13 +00:00
|
|
|
severity: low
|
2024-01-03 06:08:41 +00:00
|
|
|
description: Prometheus instance is exposed.
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
2023-10-20 11:41:13 +00:00
|
|
|
max-request: 3
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: prometheus,misconfig
|
2021-07-13 13:54:13 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-07-13 13:54:13 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/prometheus"
|
2021-11-27 22:09:10 +00:00
|
|
|
- "{{BaseURL}}/actuator/prometheus"
|
2023-10-16 19:51:17 +00:00
|
|
|
- "{{BaseURL}}/actuator/prometheus;%2f..%2f..%2f"
|
2021-07-13 13:54:13 +00:00
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- 'gateway_request_total'
|
|
|
|
- 'logback_events_total'
|
|
|
|
condition: or
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
2024-01-15 11:49:24 +00:00
|
|
|
# digest: 4b0a00483046022100d5a9f8ae7e3d799ea642d2eef5a277b5cf3ac5a114458911bc4cf1f4372481f5022100ff79efd4d84754d539822480473bd41470e4c493b8857bc36a514a01c9be1637:922c64590222798bb761d5b6d8e72950
|