32 lines
1.0 KiB
YAML
32 lines
1.0 KiB
YAML
id: thanos-prometheus-exposure
|
|
|
|
info:
|
|
name: Thanos Prometheus Setup - Exposure
|
|
author: DhiyaneshDk,righettod
|
|
severity: high
|
|
description: |
|
|
Thanos graph endpoint was detected.
|
|
reference:
|
|
- https://thanos.io/
|
|
- https://github.com/thanos-io/thanos
|
|
metadata:
|
|
verified: true
|
|
max-request: 2
|
|
shodan-query: title:"Thanos | Highly available Prometheus setup"
|
|
fofa-query: icon_hash="29632872"
|
|
tags: thanos,prometheus,exposure,setup,misconfig
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/graph"
|
|
- "{{BaseURL}}/classic/graph"
|
|
|
|
stop-at-first-match: true
|
|
matchers:
|
|
- type: dsl
|
|
dsl:
|
|
- 'status_code == 200'
|
|
- 'contains_all(body, "THANOS_COMPONENT", "THANOS_QUERY_URL") || contains_all(body, "<title>Thanos", "href=\"/classic/\">Thanos</a>")'
|
|
condition: and
|
|
# digest: 4b0a00483046022100f8f26aad83b4b0162f73962102847bd51cda6dcb0cb3385b26ce3b0e716cadea022100c63e4a1a2e541904ddd90bff7e095310d93972002ff7952f62c8acc6fd615eb6:922c64590222798bb761d5b6d8e72950 |