id: pgwatch2-db-exposure

info:
  name: Pgwatch2 DBs to monitor - Exposure
  author: DhiyaneshDK
  severity: high
  description: |
    Pgwatch2 :: DBs to monitor Dashboard was discovered.
  metadata:
    verified: true
    max-request: 1
    shodan-query: title:"Pgwatch2"
  tags: dashboard,exposure,pgwatch2,unauth

http:
  - method: GET
    path:
      - "{{BaseURL}}"

    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "Databases under monitoring"
          - "pgwatch2"
        condition: and

      - type: status
        status:
          - 200
# digest: 490a00463044022058675c735e74ad2d281b219b25ae3f0fcf9adc4f63e3a010216439eb00a381ad022002dbfac1124cf2c3f7a448b31f97148541324eda975a3b16d95bc016135695c3:922c64590222798bb761d5b6d8e72950