CVE DatabaseCVE-2022-27925
한국어 권고문 →
CVE-2022-279257.2/HIGHCISA KEVCWE-22CWE-22

Zimbra Collaboration Suite (ZCS) mboximport Directory Traversal and Remote Code Execution Vulnerability (CVE-2022-27925)

⚡ Jump to Patch
Affected Vendors
synacor, zimbra
Affected Components
zimbra_collaboration_suite
Published Date
2022-04-21
CVSS v3.1
7.2
HIGH
EPSS (30d)
98.7%
FIRST.org
CISA KEV
Exploited

Executive & SecOps Summary

SECOPS ASSESSMENT
Affected Scope

Zimbra Collaboration Suite (ZCS) versions 8.8.15 and 9.0

Impact

An authenticated administrator can upload a malicious ZIP archive to write arbitrary files, leading to Remote Code Execution (RCE)

Mitigation

Immediately apply the official Zimbra security patches (9.0.0 Patch 24 / 8.8.15 Patch 31 or later)

Affected Products & Version Scope

Zimbra Collaboration Suite (ZCS) versions 8.8.15 and 9.0 (unpatched)

Remediation & Live Workaround Commands

PATCH & WORKAROUND

1. Official Patch & Version Upgrade Commands

Configure the official Zimbra repository and upgrade the core packages to the patched versions (9.0.0 Patch 24 / 8.8.15 Patch 31 or later).

bash
# For RedHat/CentOS systems
sudo yum clean all
sudo yum update zimbra-core zimbra-store -y

# For Ubuntu/Debian systems
sudo apt-get update
sudo apt-get --only-upgrade install zimbra-core zimbra-store -y

# Restart Zimbra services
su - zimbra -c 'zmcontrol restart'

2. Temporary Workaround & Hardening Configuration

If immediate patching is not feasible, restrict external access to the Zimbra administration console (default port 7071) and block external requests to the mboximport endpoint using a reverse proxy.

nginx
# Add to your Nginx configuration file
server {
    listen 80;
    listen 443 ssl;
    server_name mail.yourdomain.com;

    # Block external access to the mboximport endpoint
    location ~* /service/extension/mboximport {
        allow 127.0.0.1;
        allow 10.0.0.0/8; # Internal trusted network
        deny all;
    }
}

3. Log Audit & IoC Verification Commands

Inspect the Zimbra web directory for unauthorized JSP files and search the mailbox logs for suspicious mboximport activity.

bash
# 1. Search for recently created or modified JSP files in the web directory
find /opt/zimbra/jetty/webapps/ -name '*.jsp' -mtime -30 -ls

# 2. Scan mailbox.log for mboximport requests containing directory traversal patterns
grep -i 'mboximport' /opt/zimbra/log/mailbox.log | grep -E '\.\./|%2e%2e'
Interactive SecOps Remediation Checklist
0/4 (0%)
Recommended Security Control & Mitigation Partner
Cloudflare Enterprise & Pro WAF
Due to active exploitation in the wild (CISA KEV), immediately apply the latest Zimbra security patches and audit the web root for unauthorized JSP files.

Block Exploits Instantly with Managed Virtual Patching Rules

Can't patch production immediately? Deploy managed WAF rules at the edge to intercept RCE, SQLi, and deserialization payloads before they hit your origin server.

3-min setup · Automated Zero-Day Managed Rules
Practice Exploiting & Patching This Web Vulnerability in an Interactive Lab
Launch Hands-On Security Lab

Technical Root Cause & Exploitation Mechanics

1. Vulnerability Overview & Root Cause

This vulnerability (CVE-2022-27925) exists in the mboximport functionality of Zimbra Collaboration Suite (ZCS), which is designed to extract uploaded ZIP archives. The root cause is the lack of proper validation and sanitization of file paths contained within the uploaded ZIP archive. This allows directory traversal sequences (../) within the archive's file headers to bypass restrictions, enabling arbitrary file extraction to unintended directories on the host system (CWE-22).

2. Exploitation Mechanics & Attack Scenario

An authenticated attacker with administrative privileges crafts a malicious ZIP archive containing files with relative path traversal sequences (e.g., ../../../../opt/zimbra/jetty/webapps/zimbra/shell.jsp). When this archive is uploaded to the mboximport endpoint, the extraction process writes the payload directly into the web application's root directory. The attacker can then access the uploaded JSP web shell via a web browser to execute arbitrary operating system commands with the privileges of the Zimbra user.

3. Infrastructure & Business Impact

This vulnerability is listed in the CISA KEV (Known Exploited Vulnerabilities) catalog and carries an EPSS score of 0.9868, indicating active exploitation in the wild. Successful exploitation allows complete compromise of the mail server, leading to unauthorized access to sensitive corporate communications, data exfiltration, and potential lateral movement within the internal network.

Official Vendor Advisories & References

Frequently Asked SecOps Questions (CVE-2022-27925)

FAQ

Q1. How critical is CVE-2022-27925 and is it actively exploited in the wild?

CVE-2022-27925 is rated CVSS 7.2 (HIGH) with a 30-day EPSS exploitation probability of 98.7%. It is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, requiring immediate emergency remediation.

Q2. Which vendors and products are affected by CVE-2022-27925?

Primary impacted vendors include synacor, zimbra across zimbra_collaboration_suite. Scope summary: Zimbra Collaboration Suite (ZCS) versions 8.8.15 and 9.0 (unpatched)

Q3. What temporary mitigations or workarounds exist for CVE-2022-27925 before patching?

[Mitigation] Immediately apply the official Zimbra security patches (9.0.0 Patch 24 / 8.8.15 Patch 31 or later) Follow the CLI remediation commands and interactive SecOps checklist on this page to restrict exposure prior to your maintenance window.

SECOPS WORKBENCH INTEGRATION

Generate an Internal Engineering Notice or CISO Report for CVE-2022-27925

Instantly format this advisory into an executive CISO summary or engineering patch ticket.

Generate Report →

🔗 Related Advisories in Similar Stack (synacor)

View Category →
SecOps Advisory Dispatch & RSS Feed

Subscribe to Daily Vulnerability Briefings & KEV Alerts

Concise morning briefings for SecOps, DevSecOps, and SRE teams covering newly exploited CVEs and mitigation priorities.

Slack / Teams / RSS Feed:
PatchKO
CVE-2022-27925 Zimbra Collaboration Suite (ZCS) mboximport Directory Traversal and Remote Code Execution Vulnerability (CVE-2022-27925) (CVSS 7.2) - Patch & Workaround | CVE Pulse