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
    product: websphere_portal
    shodan-query: http.html:"IBM WebSphere Portal"
    vendor: ibm
  tags: ibm,websphere,panel

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: 490a0046304402204b867d9a123fe8a9be4b7fff74298f3214d2fbc3173b9bb73970b9b8f06fa0c3022026c019494e65cc5dac41f119e0d34f030cc49f4a12c20f53456f1264881dbb0c:922c64590222798bb761d5b6d8e72950