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

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: 4a0a00473045022036e229dc3aa8c667e3c48edd636be0689fb08551b0c58888a1b20db94e39a2c7022100e890df701d976a47eb0b8ad0fb2d9e3d4cf65d315ca6b683667df8200d05e1a6:922c64590222798bb761d5b6d8e72950