id: ibm-websphere-panel

info:
  name: IBM WebSphere Portal Login Panel - Detect
  author: pdteam
  severity: info
  description: IBM WebSphere Portal 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:ibm:websphere_portal:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: ibm
    product: websphere_portal
    shodan-query:
      - http.html:"IBM WebSphere Portal"
      - http.html:"ibm websphere portal"
      - cpe:"cpe:2.3:a:ibm:websphere_portal"
    fofa-query: body="ibm websphere portal"
  tags: ibm,websphere,panel,discovery

http:
  - method: GET
    path:
      - '{{RootURL}}/wps/portal'

    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: status
        status:
          - 200

      - type: word
        words:
          - 'IBM WebSphere Portal'
          - 'IBMPortalWeb'
        condition: or

      - type: regex
        part: header
        regex:
          - "Content-Location: .+"
        negative: true
# digest: 4b0a0048304602210086c4073325f9dd689a3a7a87a8d5c7a5a7212408771d64fab1728b10f7349364022100b9055ec1edcfb36dd7923c9836df6971f35b97fe2a99ed8dd17c5f2dbfbdcba8:922c64590222798bb761d5b6d8e72950