Summary
The zmfixperms helper in Zimbra Collaboration Suite (ZCS) improperly follows symbolic links (CWE-59). The Unix zimbra account can replace a Postfix template entry in /opt/zimbra/common/conf with a symbolic link. When root later runs a permission repair or an affected package-maintenance action, a nonrecursive chown on that path follows the link. This transfers ownership of an attacker-selected root-owned file to the zimbra account.
Per the CVSS vector, the attack is local and low in complexity. The attacker must already control the zimbra account (low privileges). User interaction is also required: an administrator or automated process running as root must trigger the maintenance action, which the attacker cannot invoke through this flaw alone. Successful exploitation lets the attacker modify a security-critical file and execute arbitrary commands as root. The result is full loss of confidentiality, integrity and availability.
The CVSS score is 7.3 (High). 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 versions 10.1.0 through 10.1.21.
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. Check Zimbra's official security advisory and apply the patch as soon as it is available.
- Before running zmfixperms or package upgrades and maintenance as root, check /opt/zimbra/common/conf for symbolic links in place of regular Postfix template files.
- Restrict and monitor access to the zimbra Unix account. Unauthorized access to it is a prerequisite for exploitation.
- Review ownership changes on root-owned system files, especially any that now belong to the zimbra user.
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-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.