id: ez-publish-panel

info:
  name: eZ Publish Login Panel - Detect
  author: ritikchaddha
  severity: info
  description: eZ Publish login panel was detected.
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
    cwe-id: CWE-200
    cpe: cpe:2.3:a:ez:ez_publish:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    shodan-query: http.html:"eZ Publish"
    product: ez_publish
    vendor: ez
  tags: panel,ez,discovery

http:
  - method: GET
    path:
      - "{{BaseURL}}"

    host-redirects: true
    max-redirects: 2

    matchers-condition: or
    matchers:
      - type: word
        part: body
        words:
          - 'content="eZ Publish'
        case-insensitive: true

      - type: word
        part: header
        words:
          - 'eZ Publish'
# digest: 4a0a00473045022054ecd651936a57ebf07d813c7abd72a226330cf83fb8316c8a4f6d7940a332190221008fe1a06733e57f0c689d074d44bb680bb601dbf1862b653d62a8578c10297212:922c64590222798bb761d5b6d8e72950