id: zimbra-web-login

info:
  name: Zimbra Collaboration Suite Login Panel - Detect
  author: powerexploit
  severity: info
  description: |
    Zimbra Collaboration Suite panel was detected. Zimbra Collaboration Suite simplifies the communication environment, connects people over multiple channels, and provides a single place to manage collaboration and communication.
  reference:
    - https://www.zimbra.com/
  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:synacor:zimbra_collaboration_suite:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: synacor
    product: zimbra_collaboration_suite
    shodan-query:
      - http.title:"Zimbra Collaboration Suite"
      - http.title:"zimbra collaboration suite"
      - http.title:"zimbra web client sign in"
    fofa-query:
      - title="zimbra web client sign in"
      - title="zimbra collaboration suite"
    google-query:
      - intitle:"zimbra collaboration suite"
      - intitle:"zimbra web client sign in"
  tags: panel,zimbra,synacor,discovery

http:
  - method: GET
    path:
      - "{{BaseURL}}"

    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "Zimbra Collaboration Suite Log In"
          - "Zimbra Web Client Sign In"
          - "Zimbra Web Client Log In"
        condition: or

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - 'v=([0-9]+)'
# digest: 4b0a00483046022100958e5b6789c445175034a9fef46b63b7dac2a237df0710d09d0aafc274e8a029022100f61049bc5183f236b64b0a6ac4483122e90263370edf3b9b6807852e4dcf0231:922c64590222798bb761d5b6d8e72950