Summary
A stored cross-site scripting vulnerability (CWE-79) exists in the Standard HTML print renderer of Zimbra Collaboration Suite. When processing a message with a message/rfc822 attachment that contains an xml/x-zimbra-share part, the renderer processes the attachment recursively. It then inserts attacker-controlled share identifiers into hidden input attributes without encoding them. ZCS 10.1.0 through 10.1.21 are affected.
Per the CVSS vector (8.7, High), the attack is network-based and low in complexity. The attacker needs an ordinary mailbox account (low privileges). Victim interaction is also required: a signed-in user must open the printmessage URL of a message the attacker has published in a shared folder. Scope is changed (S:C).
When the victim opens the URL, the payload executes in the Zimbra origin. This gives the attacker access to the victim's mailbox data and the ability to perform authenticated actions on the victim's behalf (high confidentiality and integrity impact). The vulnerability is not currently listed in CISA KEV.
Who is affected
Organizations running Zimbra Collaboration Suite 10.1.0 through 10.1.21, especially where users share folders and use the Standard HTML client.
What to do
- Identify the ZCS version on all servers. Versions 10.1.0 through 10.1.21 are affected.
- No fixed version is listed in the record. Monitor Zimbra's official security advisories and apply the patch as soon as it is available.
- Warn users not to open printmessage links received from other users or untrusted sources.
- Review shared folders and sharing permissions between users. Monitor for unusual messages with nested attachments containing xml/x-zimbra-share parts.
- For technical details, review the Rapid7 blog post and the zimbra-vulnerability-tracker repository listed in the references.
Affected products and versions
CVSS vector, explained
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
- Attack vector
- Network (from the internet)
- Attack complexity
- Low
- Privileges required
- Regular user
- User interaction
- Required
- Scope
- Affects other components
- Confidentiality
- High impact
- Integrity
- High impact
- Availability
- None
Weakness type (CWE)
- CWE-79 Improper neutralization of input during web page generation ('cross-site scripting')
References
- github.com/jburgess-r7/zimbra-vulnerability-tracker
- rapid7.com/blog/post/ve-calendar-forgery-and-stored-xss-in-zimbra-part-2
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.