id: zenphoto-setup

info:
  name: Zenphoto <1.5 Installer - Detect
  author: pdteam
  severity: critical
  description: Zenphoto setup page before version 1.5 is susceptible to sensitive information disclosure due to misconfiguration.
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:H
    cvss-score: 9.4
    cwe-id: CWE-284
  metadata:
    verified: true
    max-request: 4
    shodan-query: title:"Zenphoto install"
  tags: misconfig,panel,zenphoto,setup,installer

http:
  - method: GET
    path:
      - '{{BaseURL}}/zp-core/setup/index.php'
      - '{{BaseURL}}/zp/zp-core/setup/index.php'
      - '{{BaseURL}}/gallery/zp-core/setup/index.php'
      - '{{BaseURL}}/zenphoto/zp-core/setup/index.php'

    stop-at-first-match: true
    matchers:
      - type: word
        part: body
        words:
          - Welcome to Zenphoto! This page will set up Zenphoto
# digest: 4a0a004730450220629b5aaff25239d9961f3fede15984202268329e4563d84f33d4effb2a7bddcc0221009d4e4b8bd14612cc456660fad9260decbbc802445317994cdf4ef2ca5f17da97:922c64590222798bb761d5b6d8e72950