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:
    verified: true
    max-request: 2
    vendor: totemo
    product: totemomail
    google-query:
      - intext:"totemomail" inurl:responsiveUI
      - intext:"totemomail" inurl:responsiveui
    shodan-query: http.html:"totemomail" inurl:responsiveui
    fofa-query: body="totemomail" inurl:responsiveui
  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: 4a0a00473045022100ea17ad3a4938be68904894e76b905e10b9ececdb6823b0c1e115d1dab5450da8022050241a5df935dd729e946b60f2a3bf5eff3b4570ac99eb4ce64e654957b27298:922c64590222798bb761d5b6d8e72950