31 lines
749 B
YAML
31 lines
749 B
YAML
id: prometheus-log
|
|
|
|
info:
|
|
name: Exposed Prometheus
|
|
author: dhiyaneshDK,thevillagehacker
|
|
severity: low
|
|
metadata:
|
|
max-request: 3
|
|
tags: prometheus,misconfig
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/prometheus"
|
|
- "{{BaseURL}}/actuator/prometheus"
|
|
- "{{BaseURL}}/actuator/prometheus;%2f..%2f..%2f"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
words:
|
|
- 'gateway_request_total'
|
|
- 'logback_events_total'
|
|
condition: or
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
# digest: 490a0046304402204c8f9d53fa53ba9703067ef51db779be4c5b84f1f60f8c1b976df6c667a84006022056c3f6ff537a1a586201c8021d2f8dc14167042c8c6f5e86bd80676ec3f9dfef:922c64590222798bb761d5b6d8e72950
|