id: ejbca-enterprise-installer

info:
  name: EJBCA Enterprise Cloud Configuration Wizard - Exposure
  author: DhiyaneshDK
  severity: high
  description: |
    Detects exposed EJBCA Enterprise Cloud Installation page.
  reference:
    - https://aws.amazon.com/marketplace/pp/prodview-u2xdo5mkuilke
  classification:
    cpe: cpe:2.3:a:primekey:ejbca:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: primekey
    product: ejbca
    shodan-query: html:"EJBCA Enterprise Cloud Configuration Wizard"
  tags: misconfig,install,exposure,ejbca

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

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "EJBCA Enterprise Cloud Configuration Wizard"

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