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,discovery

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