Summary
A vulnerability in the core packaging of Zimbra Collaboration Suite (ZCS) allows the Unix zimbra account to install commands that logrotate executes as root. During package configuration, the root post-installation script copies the service-writable /opt/zimbra/conf/zmlogrotate file into /etc/logrotate.d/zimbra without validating its contents. Versions 10.1.0 through 10.1.21 are affected.
Per the CVSS vector, the attack is local, low complexity, and requires low privileges (access to the zimbra account). User interaction is also required: an administrator must reconfigure the affected core package (e.g. during an upgrade), after which the next qualifying root logrotate run executes the staged action.
Successful exploitation gives the attacker root on the server, with full impact on confidentiality, integrity and availability. The vulnerability is not listed in the CISA KEV catalog and no EPSS data is available.
Who is affected
Organizations running self-hosted Zimbra Collaboration Suite servers on versions 10.1.0 through 10.1.21.
What to do
- No fixed version is listed in the record – check Zimbra's official advisory and apply the patch as soon as it is available.
- Before reconfiguring or upgrading ZCS packages, review /opt/zimbra/conf/zmlogrotate and remove any unexpected action blocks (e.g. postrotate/prerotate with unknown commands).
- Inspect the current /etc/logrotate.d/zimbra and compare it with the expected configuration; treat any deviation as a possible compromise.
- Restrict and monitor access to the Unix zimbra account and track changes to these files (e.g. with file integrity monitoring).
- Follow the references for technical details: the Rapid7 blog post and the zimbra-vulnerability-tracker repository.
Affected products and versions
CVSS vector, explained
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Regular user
- User interaction
- Required
- Scope
- Vulnerable component only
- Confidentiality
- High impact
- Integrity
- High impact
- Availability
- High impact
Weakness type (CWE)
- CWE-15 External control of system or configuration setting
- CWE-732 Incorrect Permission Assignment for Critical Resource
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.