id: prestashop-installer

info:
  name: Prestashop Installer Exposure
  author: tess
  severity: high
  description: Prestashop is susceptible to the Installation page exposure due to misconfiguration.
  classification:
    cpe: cpe:2.3:a:prestashop:prestashop:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: prestashop
    product: prestashop
    shodan-query: title:"PrestaShop Installation Assistant"
  tags: misconfig,prestashop,exposure,install,vuln

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

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '<title>PrestaShop Installation Assistant</title>'
          - '<li>System configuration</li>'
          - '<li>Store installation</li>'
        condition: and

      - type: word
        part: header
        words:
          - "text/html"

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