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,vuln

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

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

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