id: totemomail-panel

info:
  name: Totemomail Login Panel - Detect
  author: johnk3r,daffainfo
  severity: info
  description: Totemomail login panel was detected.
  reference:
    - https://www.totemo.com/en/products/email-encryption
  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:totemo:totemomail:*:*:*:*:*:*:*:*
  metadata:
    google-query: intext:"totemomail" inurl:responsiveUI
    max-request: 2
    product: totemomail
    vendor: totemo
    verified: true
  tags: totemomail,panel,totemo

http:
  - method: GET
    path:
      - "{{BaseURL}}/responsiveUI/"
      - "{{BaseURL}}/responsiveUI/webmail/folder.xhtml"

    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "/responsiveUI/javax.faces.resource/images/totemomail_logo.svg.xhtml"
          - "/responsiveUI/javax.faces.resource/css/custom.css.xhtml?con=totemo"
          - "<title>WebMail login: totemomail® WebMail</title>"
        condition: or

      - type: status
        status:
          - 200
# digest: 4a0a00473045022049674d111e318152a1d698e6968de3c334181483bca9c3cae74d49020183515e022100fbf40baad187c42b9d33fb87dc2e76833b0bb003476341f2eee7356b2423ee68:922c64590222798bb761d5b6d8e72950