Summary
A vulnerability in the service lifecycle of Zimbra Collaboration Suite (ZCS) allows the Unix zimbra account to obtain ownership of an attacker-selected root-owned file. The root init script repairs ownership of /opt/zimbra/redolog/redo.log before dropping privileges, even though the parent directory is controlled by zimbra. Both the file test and the subsequent chown follow a symbolic link (CWE-59).
Exploitation is local and requires the privileges of the zimbra account, with low complexity and no user interaction (CVSS 7.8, high). The attacker replaces redo.log with a link and waits for a root lifecycle action, including a normal system boot.
Ownership of a security-critical file can then be leveraged to execute arbitrary commands as root, with full impact on confidentiality, integrity and availability. The vulnerability 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 (e.g. as zimbra: zmcontrol -v); versions 10.1.0 – 10.1.21 are affected.
- No fixed version is listed in the record – monitor Zimbra's official advisories and patches and upgrade as soon as a fix is available.
- Verify that /opt/zimbra/redolog/redo.log is a regular file rather than a symbolic link, and monitor ownership changes on critical root-owned files.
- Limit avenues to the zimbra account (e.g. via compromised web/mail components) and monitor unusual activity by that account.
- Review the references (Rapid7 blog and GitHub tracker) for additional detection details.
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-59 Improper link resolution before file access ('link following')
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.