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,vuln

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: 4a0a00473045022045260e0de3062bf8f3ea631a6cecb512a9c2276fdd9632e5d04f817f10329d440221009cbe5bc9f1b3c62019421f3d39bc2e13d4b8f7392d7698a2ac4f7de6b07e14ab:922c64590222798bb761d5b6d8e72950