2023-07-11 12:40:42 +00:00
|
|
|
id: prometheus-promtail
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Prometheus Promtail - Exposure
|
|
|
|
author: irshad ahamed
|
|
|
|
severity: medium
|
|
|
|
description: |
|
|
|
|
Prometheus Promtail is an agent that gathers log data from various sources, such as files or systemd journal.
|
|
|
|
reference:
|
|
|
|
- https://grafana.com/docs/loki/latest/clients/promtail/
|
|
|
|
- https://github.com/grafana/loki/issues/8680
|
|
|
|
metadata:
|
2023-07-12 11:47:23 +00:00
|
|
|
max-request: 1
|
2023-07-11 12:40:42 +00:00
|
|
|
verified: true
|
|
|
|
shodan-query: http.favicon.hash:932345713
|
2023-07-12 11:47:23 +00:00
|
|
|
tags: misconfig,prometheus,promtail,exposure
|
2023-07-11 12:40:42 +00:00
|
|
|
|
|
|
|
http:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/service-discovery"
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- '>Promtail</a>'
|
|
|
|
- 'https://github.com/grafana/loki'
|
|
|
|
condition: and
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|