id: zencart-installer

info:
  name: Zen Cart Installer
  author: DhiyaneshDk
  severity: high
  description: Zen Cart is susceptible to the Installation page exposure due to misconfiguration.
  reference:
    - https://www.zen-cart.com/
  metadata:
    verified: true
    max-request: 1
    shodan-query: html:"shopping cart program by zen cart"
    fofa-query: title="Installer" && icon_hash="899320116"
  tags: misconfig,zencart,install,exposure

http:
  - method: GET
    path:
      - '{{BaseURL}}/zc_install/index.php'

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '<title>Zen Cart&reg; Installer</title>'

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