Skip to main content
Mallory
CriticalExploited in the wildCISA KEVPublic exploitVulnerability

CVE-2022-37042: Authentication bypass in Zimbra Collaboration Suite MailboxImportServlet

Published Aug 11, 2022 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS9.8Critical · v3.1
EPSS84.8%100th percentile
CISA KEVYesAdded Aug 11, 2022
In the wildActivePer CISA KEV
Vendor
Zimbra
IdentifiersCVE-2022-37042CWE-287

CVE-2022-37042 is an authentication-bypass vulnerability in the MailboxImportServlet function of Zimbra Collaboration Suite (ZCS) 8.8.15 and 9.0. An incomplete fix for CVE-2022-27925 allows attackers without an authentication token to access mboximport functionality, which accepts ZIP archives and extracts their contents. Combined with the directory-traversal vulnerability CVE-2022-27925, this permits unauthenticated arbitrary file uploads and remote code execution. Affected deployments include ZCS 8.8.15 Patch 32 and earlier and ZCS 9.0.0 Patch 25 and earlier.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Attackers can bypass authentication to the mailbox-import functionality. Chaining this bypass with CVE-2022-27925 permits arbitrary file writes through ZIP extraction and installation of JSP web shells, resulting in remote code execution and persistent access to the affected Zimbra server. Widespread exploitation of the chain affected more than 1,000 ZCS instances in 2022.

Mitigation

If you can’t patch tonight, do this now.

Reduce exposure through network access restrictions and segmentation, keeping management interfaces off the internet and disabling unnecessary services. Monitor mailbox-import HTTP requests, suspicious archive uploads, unexpected JSP files, and web-shell activity using network and endpoint telemetry. Establish a baseline of legitimate Zimbra JSP files and hunt for deviations. These measures supplement patching; authentication controls alone do not address an authentication bypass.

Remediation

Patch, then assume compromise.

Upgrade to a current, vendor-supported ZCS release containing the fix for CVE-2022-37042 and the associated CVE-2022-27925 directory-traversal vulnerability. Zimbra issued fixes for CVE-2022-37042 in late July 2022. For internet-exposed or belatedly patched deployments, investigate for prior compromise rather than relying on patching alone. Quarantine and reimage compromised hosts, and replace affected account credentials.

Public exploits

Exploits

4 exploits validated by Mallory's analysis.

View more in app →
zimbra_mboximport_cve_2022_27925.rbThis repository contains a single Metasploit module targeting a ZIP path traversal vulnerability (CVE-2022-27925) in Zimbra Collaboration Suite Network Edition (versions 9.0.0 Patch 23 and earlier, and 8.8.15 Patch 30 and earlier). The exploit works by crafting a ZIP file with path traversal sequences to upload a JSP-based backdoor into the Zimbra admin web directory. The module then triggers the backdoor to achieve remote code execution, typically using a Meterpreter reverse shell payload. The exploit requires access to the Zimbra admin interface (default port 7071, HTTPS) and a valid username (default: admin). The code is written in Ruby and is structured as a standard Metasploit module, making it weaponized and easily customizable. Key endpoints include the vulnerable ZIP upload handler and the web-accessible directory where the backdoor is placed. The module also references related advisories and patches, and is intended for use against Linux-based Zimbra installations.Disclosed May 10, 2022 · Framework: metasploit · ruby · networkWeaponizedCVE-2022-37042This repository contains a weaponized Nuclei template (CVE-2022-37042-shell-upload.yaml) for exploiting an unauthenticated remote code execution (RCE) vulnerability in Zimbra Collaboration Suite (ZCS) versions 8.8.15 and 9.0 (CVE-2022-37042). The exploit leverages a flaw in the mboximport functionality, allowing an attacker to upload arbitrary files (via directory traversal) without authentication. The provided payload is a JSP web shell (formatter.jsp), which is uploaded to the /public/ directory of the target server. Once uploaded, the attacker can execute arbitrary system commands by sending HTTP requests to /public/formatter.jsp with the 'cmd' parameter. The repository includes a README with usage instructions, example shell URLs, and remediation advice. The main exploit file is a Nuclei template, making this a WEAPONIZED exploit suitable for automated mass exploitation.aels · Disclosed Aug 25, 2022 · Framework: nuclei · yaml · jsp · networkWeaponizedZimbra_CVE-2022-37042-_CVE-2022-27925This repository contains a proof-of-concept exploit for Zimbra Collaboration Suite vulnerabilities CVE-2022-37042 and CVE-2022-27925. The main file, poc.py, is a Python script that crafts a malicious ZIP archive containing a JSP web shell and uploads it to a vulnerable Zimbra server via the /service/extension/backup/mboximport endpoint. Once uploaded, the shell can be accessed at /zimbraAdmin/shell.jsp, allowing the attacker to execute arbitrary commands on the server. The exploit demonstrates remote code execution by uploading the shell and issuing a 'whoami' command. The repository structure is simple, consisting of a README and the exploit script. The exploit is operational, providing a working payload (JSP web shell) and targeting Zimbra servers accessible over the network.GreyNoise-Intelligence · Disclosed Aug 18, 2022 · python · networkOperationalCVE-2022-37042This repository is an exploit tool targeting CVE-2022-37042, a remote code execution vulnerability in Zimbra Collaboration Suite versions 8.8.15 and 9.0. The exploit is implemented in Go (main.go) and allows for both vulnerability detection and exploitation. It can scan single or multiple targets for the vulnerability and, if exploitable, uploads a malicious JSP webshell (shell.jsp) to the target server. The webshell is AES-encrypted and password-protected, providing remote code execution capabilities to the attacker. The tool supports command-line options for specifying targets, uploading the webshell, and outputting results. The repository includes build and release configuration files, a detailed README with usage instructions, and the actual exploit code. The main attack vector is network-based, targeting HTTP(S) endpoints of Zimbra servers. The exploit is operational, providing a working payload and automation for exploitation.0xf4n9x · Disclosed Oct 24, 2022 · go · jsp · networkPoC
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
ZimbraCollaborationapplication
ZimbraZimbra Collaboration Suiteapplication
FAQ

Frequently asked questions

Is CVE-2022-37042 exploited in the wild?
Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Aug 11, 2022.
Is there a public exploit for CVE-2022-37042?
Yes. Mallory tracks 4 public exploits or proofs of concept for CVE-2022-37042, the earliest disclosed May 10, 2022.
Is there a patch for CVE-2022-37042?
Upgrade to a current, vendor-supported ZCS release containing the fix for CVE-2022-37042 and the associated CVE-2022-27925 directory-traversal vulnerability. Zimbra issued fixes for CVE-2022-37042 in late July 2022.
What products are affected by CVE-2022-37042?
Zimbra Collaboration and Zimbra Collaboration Suite.
How severe is CVE-2022-37042?
CVE-2022-37042 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 84.8% (100th percentile) as of Oct 16, 2026.
Activity feed

Recent activity

13 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+4 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidence4Every report linking this CVE to a named adversary.
Associated malware1Malware families linked to this CVE, with evidence and IOCs.
Detection signatures3YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity2Community discussion across Reddit, Mastodon, and other social sources.