id: shopware-detect

info:
  name: Shopware CMS detect
  author: cyllective,pascalheidmann
  severity: info
  description: Detects Shopware CMS
  reference:
    - https://github.com/shopware/shopware
    - https://github.com/shopware/platform
  classification:
    cpe: cpe:2.3:a:shopware:shopware:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 2
    vendor: shopware
    product: shopware
    shodan-query: title:"shopware AG"
  tags: tech,shopware,cms

http:
  - method: GET
    path:
      - "{{BaseURL}}/admin"
      - "{{BaseURL}}/backend"

    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'Realisiert mit Shopware'
          - 'Realised with Shopware'
          - 'Shopware Administration (c) shopware AG'
          - '<title>Shopware 5 - Backend (c) shopware AG</title>'
          - 'Shopware.Application.start'
        condition: or

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