Summary
The statistics-monitoring components of Zimbra Collaboration Suite (ZCS) contain an OS command injection vulnerability (CWE-78). The installed passwordless sudo policy lets the Unix zimbra account run zmstat-fd with unrestricted arguments. Its log-rotation code inserts an attacker-selected pathname into a shell command without escaping shell metacharacters. An unprivileged stop operation can also remove the existing monitor's PID file after misinterpreting a permission failure, enabling the vulnerable root invocation while the installed monitor keeps running.
Per the CVSS vector (7.8, high), the attack is local, low complexity, requires command execution as the zimbra user, and needs no interaction from another user. A successful attacker gains arbitrary command execution as root, with full impact on confidentiality, integrity and availability.
In practice this turns any compromise of the zimbra account (e.g. through another application flaw) into full server takeover. It is not listed in the CISA KEV catalog.
Who is affected
Organizations running self-hosted Zimbra Collaboration Suite versions 10.1.0 through 10.1.21.
What to do
- Check the installed 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.
- Review sudo rules for the zimbra user (e.g. sudo -l -U zimbra) and entries related to zmstat-fd, and assess restricting them in consultation with the vendor.
- Limit who can execute commands as the zimbra user and monitor for unusual zmstat-fd invocations and missing or altered monitor PID files.
- Review the references (Rapid7 blog and zimbra-vulnerability-tracker) for related vulnerabilities that could provide initial access as zimbra.
Affected products and versions
CVSS vector, explained
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Regular user
- User interaction
- Not required
- Scope
- Vulnerable component only
- Confidentiality
- High impact
- Integrity
- High impact
- Availability
- High impact
Weakness type (CWE)
- CWE-78 Improper neutralization of special elements used in an OS command ('OS command injection')
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.