id: magento-installer

info:
  name: Magento Installation Wizard
  author: DhiyaneshDk
  severity: high
  description: Magento is susceptible to the Installation page exposure due to misconfiguration.
  classification:
    cpe: cpe:2.3:a:magento:magento:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: magento
    product: magento
    shodan-query: html:"Magento Installation"
  tags: misconfig,magento,install,exposure

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

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "Magento Installation Wizard"
          - "Welcome to Magento's Installation Wizard!"
        condition: and

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

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