id: default-websphere-liberty

info:
  name: WebSphere Liberty Default Page
  author: oppsec
  severity: info
  classification:
    cpe: cpe:2.3:a:ibm:websphere_liberty:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: ibm
    product: websphere_liberty
    shodan-query: http.title:"WebSphere Liberty"
  tags: tech,websphere,liberty

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

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "WebSphere Liberty"

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        part: body
        regex:
          - "(WebSphere Liberty).*?([a-zA-Z0-9.-]+)"
# digest: 4a0a004730450221008c4ae410c88f9532ebb711e62480ec372415fe3ac8e3e1938c7387a269f8c5850220769feec2be9b0181d67a12adec63afe3f45442714da4db42bb46fa154a5af539:922c64590222798bb761d5b6d8e72950