What is Zimbra Collaboration Suite?
Zimbra Collaboration Suite (ZCS) is an enterprise email and collaboration platform deployed by governments, enterprises, and ISPs worldwide. Zimbra's mboximport functionality is an administrative feature used to import mailbox data. When authentication enforcement on this endpoint is flawed, it becomes an unauthenticated RCE vector.
Overview
CVE-2022-27925 is a path traversal / arbitrary file upload vulnerability (CWE-22) in Zimbra's MailboxImportServlet (mboximport) endpoint. An attacker with administrator-level credentials can upload arbitrary files — including JSP web shells — to any location on the Zimbra server, achieving remote code execution.
By itself, the vulnerability requires high privileges (admin credentials). However, it was chained with CVE-2022-37042, a separate authentication bypass in the same endpoint, to become a fully unauthenticated RCE. Volexity documented mass exploitation of this chain in August 2022, finding hundreds of Zimbra servers compromised with web shells.
Affected Versions
| Product | Vulnerable | Fixed |
|---|---|---|
| Zimbra Collaboration Suite 8.8.15 | < P33 | P33 |
| Zimbra Collaboration Suite 9.0.0 | < P26 | P26 |
The CVE-2022-37042 auth bypass was separately patched; both patches are needed for full remediation.
Technical Details
The mboximport endpoint accepts file uploads for mailbox import operations. The path traversal vulnerability (CWE-22) allows the filename parameter in the upload request to contain directory traversal sequences, placing the uploaded file in attacker-chosen locations — including the Zimbra web application directory.
When CVE-2022-37042 (authentication bypass) is chained:
- CVE-2022-37042 bypasses authentication for the
mboximportendpoint - CVE-2022-27925 uploads a JSP web shell to the Zimbra webapps directory
- Attacker accesses the web shell via HTTP for unauthenticated remote code execution
- Standalone: Requires admin authentication (high privilege)
- Chained with CVE-2022-37042: Unauthenticated — no credentials required
- Impact: Full RCE as the Zimbra service user; access to all email data on the server
Discovery
The file upload vulnerability was reported to Zimbra; the authentication bypass (CVE-2022-37042) enabling unauthenticated exploitation was identified later, with Volexity documenting active mass exploitation.
Exploitation Context
Volexity's August 2022 report identified over 1,000 Zimbra servers compromised via this chain. Exploitation involved automated scanning and web shell deployment, with subsequent data exfiltration of email archives. Threat actors observed included both opportunistic groups and targeted nation-state actors. The same servers targeted by this chain were also targeted by CVE-2022-27924 (Memcache credential theft) and CVE-2022-30333 (UnRAR path traversal) — Zimbra servers were heavily targeted from multiple angles in 2022.
Remediation
- Apply Zimbra 8.8.15 Patch 33 or 9.0.0 Patch 26 (addresses both CVE-2022-27925 and CVE-2022-37042)
- Immediately after patching, audit the Zimbra web directory for unauthorized JSP files:
find /opt/zimbra/jetty/webapps -name "*.jsp" | xargs grep -l "Runtime.exec\|ProcessBuilder\|cmd\|bash" - Search for web shells in:
/opt/zimbra/jetty/webapps/zimbra/,/opt/zimbra/jetty/webapps/zimbraAdmin/ - Review Zimbra access logs for POST requests to
/service/extension/backup/mboximportfrom external IPs - Force password resets for all Zimbra accounts as a precaution; rotate any credentials potentially exposed via email
- Consider placing Zimbra's admin interface behind a VPN or IP allowlist
Key Details
| Property | Value |
|---|---|
| CVE ID | CVE-2022-27925 |
| Vendor / Product | Synacor — Zimbra Collaboration Suite (ZCS) |
| NVD Published | 2022-04-21 |
| NVD Last Modified | 2025-10-31 |
| CVSS 3.1 Score | 7.2 |
| CVSS 3.1 Vector | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| Severity | HIGH |
| CWE | CWE-22 find similar ↗ |
| CISA KEV Added | 2022-08-11 |
| CISA KEV Deadline | 2022-09-01 |
| Known Ransomware Use | ⚠️ Yes |
CVSS 3.1 Breakdown
Required Action
Timeline
| Date | Event |
|---|---|
| 2022-04-21 | CVE-2022-27925 published; initial fix requires admin credentials |
| 2022-08-10 | Volexity publishes report on mass exploitation combining CVE-2022-27925 with CVE-2022-37042 auth bypass |
| 2022-08-11 | Added to CISA Known Exploited Vulnerabilities catalog |
| 2022-08-12 | Zimbra publishes emergency patch for CVE-2022-37042 auth bypass |
| 2022-09-01 | CISA BOD 22-01 remediation deadline |
References
| Resource | Type |
|---|---|
| Zimbra Blog — Authentication Bypass in MailboxImportServlet | Vendor Advisory |
| Volexity — Mass Exploitation of Unauthenticated Zimbra RCE | Security Research |
| NVD — CVE-2022-27925 | Vulnerability Database |
| CISA KEV Catalog Entry | US Government |