id: manageengine-keymanagerplus

info:
  name: ZOHO ManageEngine KeyManagerPlus Panel - Detect
  author: righettod
  severity: info
  description: ZOHO ManageEngine KeyManagerPlus panel was detected.
  reference:
    - https://www.manageengine.com/key-manager/
  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
  metadata:
    max-request: 2
  tags: panel,zoho,manageengine,discovery

http:
  - method: GET
    path:
      - '{{BaseURL}}/apiclient/index.jsp'
      - '{{BaseURL}}/pki/images/keyManager_title.ico'

    stop-at-first-match: true

    matchers-condition: or
    matchers:
      - type: dsl
        dsl:
          - "status_code==200"
          - "contains(tolower(body), '<title>key manager plus</title>')"
        condition: and

      - type: dsl
        dsl:
          - "status_code==200"
          - "('192917117' == mmh3(base64_py(body)))"
        condition: and
# digest: 490a004630440220055a585e070947568891ac95881017d03008c54ded8614d62d2adf688d8ee92b0220194518c507ccbd4aee0b13b6bafd5bb13610b04d02cc59ea1ba38e1027628b11:922c64590222798bb761d5b6d8e72950