id: shopware-installer

info:
  name: Shopware Installer
  author: DhiyaneshDk
  severity: high
  description: Shopware is susceptible to the Installation page exposure due to misconfiguration.
  reference:
    - https://www.shopware.com/en/
  classification:
    cpe: cpe:2.3:a:shopware:shopware:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: shopware
    product: shopware
    fofa-query: title="Installation | Shopware 6"
  tags: misconfig,shopware,install,exposure

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

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'Setup | Shopware'
          - 'install'
        condition: and

      - type: status
        status:
          - 200
# digest: 490a004630440220381d8fbb839f41c79ec4b432a878a18b494cb7790ba7a5a191ad83ffa1a3bf4302206a78039296765d8eab4596907eb6c308b62da354b9808229d4e62e65404b7855:922c64590222798bb761d5b6d8e72950