id: pgadmin-exposure

info:
  name: PostgreSQL pgAdmin Dashboard Panel - Detect
  author: princechaddha
  severity: info
  description: PostgreSQL pgAdmin Dashboard panel was detected.
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
    cwe-id: CWE-200
  metadata:
    max-request: 1
  tags: unauth,pgadmin,postgres,panel

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

    matchers-condition: and
    matchers:
      - type: status
        status:
          - 200

      - type: word
        words:
          - "PGADMIN_LANGUAGE="
        part: header

      - type: word
        words:
          - "<title>pgAdmin"
        part: body
# digest: 4a0a0047304502202842f1d4d7415e0f5b40fefd73e398c5120b935ac845601ff1b73d6bfd1d17b80221009693b33f4c42d8c0d786fce3afb76c47d40810d2eceda834b6788e4c888e9d9c:922c64590222798bb761d5b6d8e72950