id: unauthenticated-alert-manager

info:
  name: Alert Manager - Unauthenticated Access
  author: dhiyaneshDK
  severity: high
  description: Alert Manager was able to be accessed with no authentication requirements in place.
  classification:
    cpe: cpe:2.3:a:prometheus:alertmanager:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: prometheus
    product: alertmanager
    shodan-query: http.title:"Alertmanager"
  tags: unauth,alertmanager,misconfig,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/#/alerts"

    matchers-condition: and
    matchers:
      - type: word
        words:
          - '<title>Alertmanager</title>'

      - type: status
        status:
          - 200
# digest: 4a0a00473045022100ff3ba58928002e834484b0f0ea03f47e25c4727d4db31fad427387c8eed2f2d102201d705b164acb06406e2197c91147f952bfc4f0dda67957aca2d67f371a22e496:922c64590222798bb761d5b6d8e72950