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
    cpe: cpe:2.3:a:pghero_project:pghero:*:*:*:*:ruby:*:*:*
  metadata:
    verified: true
    max-request: 1
    shodan-query: title:"PgHero"
    product: pghero
    vendor: pghero_project
  tags: exposure,panel,pghero,misconfig,vuln

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

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

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