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

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: 4a0a004730450221008b54afdc4caa1da5d4f3baa22a8785779fe0f5d29dbdc74c28628115920e6f520220058443b8f26967f5e8f36d022501bd20f12f060c451cad448c930770840a8b76:922c64590222798bb761d5b6d8e72950