id: openshift-installer-panel

info:
  name: OpenShift Assisted Installer Panel - Detect
  author: DhiyaneshDk
  severity: medium
  description: OpenShift Assisted Installer panel was detected.
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L
    cvss-score: 4.6
    cwe-id: CWE-284
    cpe: cpe:2.3:a:redhat:openshift_assisted_installer:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    shodan-query: title:"OpenShift Assisted Installer"
    product: openshift_assisted_installer
    vendor: redhat
  tags: panel,openshift,cluster,misconfig

http:
  - method: GET
    path:
      - '{{BaseURL}}/clusters'

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'OpenShift Assisted Installer'

      - type: word
        part: header
        words:
          - 'text/html'

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