id: ibm-maximo-login

info:
  name: IBM Maximo Login Panel - Detect
  author: ritikchaddha,righettod
  severity: info
  description: IBM Maximo login panel was detected.
  reference:
    - https://www.ibm.com/support/pages/what-default-username-and-password-websphere-application-server-community-edition-and-how-add-users-admin-group
    - https://www.ibm.com/products/maximo
  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:maximo_asset_management:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: ibm
    product: maximo_asset_management
    shodan-query: http.favicon.hash:-399298961
    fofa-query: icon_hash=-399298961
  tags: maximo,panel,ibm,login,detect,discovery

http:
  - method: GET
    path:
      - "{{BaseURL}}/maximo/webclient/login/login.jsp?appservauth=true"

    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "maximo-icon.png"
          - "IBM"
        condition: and

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - '(?i)Copyright\s+IBM\s+Corp\.\s+([0-9-]+)'
# digest: 4b0a00483046022100895746988885a93f92970b639ab6b0f98d5e92a4ddc726e9b2e25b847bcab779022100894ac7f9dcf2dc120d50edd2cdc43c744bb6862d80afc21e75ea962ab92e95a9:922c64590222798bb761d5b6d8e72950