id: pghero-dashboard-exposure

info:
  name: PgHero Dashboard Exposure Panel - Detect
  author: DhiyaneshDk
  severity: medium
  description: PgHero Dashboard Exposure panel was detected.
  reference:
    - https://github.com/ankane/pghero
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
    cvss-score: 5.3
    cwe-id: CWE-200
  metadata:
    verified: true
    max-request: 1
    shodan-query: title:"PgHero"
  tags: exposure,panel,pghero,misconfig

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

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "<title>PgHero / Connections</title>"

      - type: status
        status:
          - 200

# digest: 4a0a0047304502201193644dbc0fd789100283e95f8b6a0326154e80dd073fe8789fa58bf29fab28022100bddbe8420320762a648faacdc159bc22faaa425094c55344f2a2144327403926:922c64590222798bb761d5b6d8e72950
