CVE DatabaseCVE-2022-37042
한국어 권고문 →
CVE-2022-370429.8/CRITICALCISA KEVCWE-22CWE-22

Zimbra Collaboration Suite (ZCS) Authentication Bypass and Directory Traversal Remote Code Execution (RCE) Vulnerability (CVE-2022-37042)

⚡ Jump to Patch
Affected Vendors
zimbra
Affected Components
zimbra_collaboration_suite
Published Date
2022-08-12
CVSS v3.1
9.8
CRITICAL
EPSS (30d)
92.1%
FIRST.org
CISA KEV
Exploited

Executive & SecOps Summary

SECOPS ASSESSMENT
Affected Scope

Zimbra Collaboration Suite (ZCS) versions 8.8.15 and 9.0

Impact

Unauthenticated attackers can bypass authentication, upload malicious ZIP archives, and exploit directory traversal to write arbitrary files, leading to Remote Code Execution (RCE)

Mitigation

Immediately apply the official Zimbra security patches and restrict external access to the mboximport endpoint

Affected Products & Version Scope

Zimbra Collaboration Suite (ZCS) 8.8.15 and 9.0 (including environments with incomplete fixes for CVE-2022-27925)

Remediation & Live Workaround Commands

PATCH & WORKAROUND

1. Official Patch & Version Upgrade Commands

Follow the official Zimbra security advisory to upgrade your installation to the latest patched version. Use the following commands to update the Zimbra patch package.

bash
# Switch to zimbra user and stop services
su - zimbra
zmcontrol stop
exit

# Update the patch package (RedHat/CentOS example)
yum clean all
yum update zimbra-patch -y

# Restart Zimbra services
su - zimbra
zmcontrol start

2. Temporary Workaround & Hardening Configuration

If patching cannot be applied immediately, block external access to the vulnerable mboximport endpoint using a reverse proxy or web server configuration.

nginx
# Nginx configuration to block external access to mboximport
server {
    listen 443 ssl;
    server_name mail.yourdomain.com;

    # Deny external access to the mboximport endpoint
    location ~* /service/extension/backup/mboximport {
        allow 127.0.0.1;
        allow 10.0.0.0/8; # Allow internal admin range only
        deny all;
    }
}

3. Log Audit & IoC Verification Commands

Run the following commands to inspect the system for unauthorized JSP files and analyze logs for exploitation attempts.

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

# Audit mailbox logs for suspicious mboximport requests
grep -i 'mboximport' /opt/zimbra/log/mailbox.log | grep -E '401|403|500'
Interactive SecOps Remediation Checklist
0/4 (0%)
Recommended Security Control & Mitigation Partner
Cloudflare Enterprise & Pro WAF
Due to active exploitation (CISA KEV) and a high EPSS score (0.92+), immediately apply the official patches and conduct a thorough compromise assessment for webshells.

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 exists in the mboximport functionality of Zimbra Collaboration Suite (ZCS), which is designed to receive and extract ZIP archives for mailbox migration. Due to an incomplete fix for CVE-2022-27925, an authentication bypass flaw allows attackers to access this endpoint without a valid authtoken. Combined with a lack of path validation during ZIP extraction, this enables arbitrary file write via directory traversal.

2. Exploitation Mechanics & Attack Scenario

An attacker targets the mboximport servlet endpoint without providing any authentication credentials. They construct a malicious ZIP archive containing a JSP webshell payload with directory traversal sequences (e.g., ../../) in its filename. Upon receiving the HTTP POST request, the vulnerable server bypasses authentication and extracts the archive, writing the JSP webshell directly into the public web root directory (e.g., /opt/zimbra/jetty/webapps/zimbra/). The attacker then requests the uploaded JSP file to execute arbitrary OS commands.

3. Infrastructure & Business Impact

With a CVSS score of 9.8 (Critical) and inclusion in the CISA KEV catalog, this vulnerability is actively exploited in the wild. Successful exploitation grants the attacker full control over the mail server, enabling them to compromise sensitive communications, pivot into internal networks, and deploy ransomware, posing a severe threat to business operations.

Official Vendor Advisories & References

Frequently Asked SecOps Questions (CVE-2022-37042)

FAQ

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

CVE-2022-37042 is rated CVSS 9.8 (CRITICAL) with a 30-day EPSS exploitation probability of 92.1%. 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-37042?

Primary impacted vendors include zimbra across zimbra_collaboration_suite. Scope summary: Zimbra Collaboration Suite (ZCS) 8.8.15 and 9.0 (including environments with incomplete fixes for CVE-2022-27925)

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

[Mitigation] Immediately apply the official Zimbra security patches and restrict external access to the mboximport endpoint 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-37042

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

Generate Report →

🔗 Related Advisories in Similar Stack (zimbra)

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-37042 Zimbra Collaboration Suite (ZCS) Authentication Bypass and Directory Traversal Remote Code Execution (RCE) Vulnerability (CVE-2022-37042) (CVSS 9.8) - Patch & Workaround | CVE Pulse