Skip to main content
Mallory
CriticalExploited in the wildCISA KEVPublic exploitVulnerability

CVE-2019-9670: XML External Entity Injection in Zimbra Collaboration Suite mailboxd

Published May 29, 2019 · 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
EPSS100.0%100th percentile
CISA KEVYesAdded Jan 10, 2022
In the wildActivePer CISA KEV
Vendor
Zimbra
IdentifiersCVE-2019-9670CWE-611 · Improper Restriction of XML…

CVE-2019-9670 is an XML External Entity injection vulnerability in the mailboxd component of Synacor Zimbra Collaboration Suite 8.7.x before 8.7.11p10. The vulnerability affects XML processing exposed through the Autodiscover interface, permitting improper handling of external entity references. APT29 and Earth Lusca have exploited the vulnerability for initial access. Intrusion sequences involving this vulnerability and other Zimbra flaws have led to web shell deployment and subsequent lateral movement.

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.

Exploitation has enabled initial access to vulnerable Zimbra deployments. Campaigns involving CVE-2019-9670 and CVE-2019-9621 have included web shell deployment and Cobalt Strike use for lateral movement. Remote arbitrary code execution is also reported, but the precise contribution of CVE-2019-9670 alone, as opposed to a vulnerability chain, is not established. Specific confidentiality and availability effects of standalone exploitation are not established.

Mitigation

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

Apply defense-in-depth controls for public-facing applications: restrict unnecessary external exposure, use application isolation and least-privilege service accounts, segment externally facing servers from internal networks, and monitor application logs and network traffic for exploitation attempts. Web application firewall protections may provide an additional layer, but a vulnerability-specific blocking rule or validated workaround is not established.

Remediation

Patch, then assume compromise.

Update affected Zimbra Collaboration Suite 8.7.x installations to 8.7.11p10 or a later supported release containing the fix. Prioritize exposed deployments because the vulnerability has been exploited in the wild.

Public exploits

Exploits

3 exploits validated by Mallory's analysis.

View more in app →
zimbra_xxe_rce.rbThis repository contains a single Metasploit module (modules/exploits/linux/http/zimbra_xxe_rce.rb) that exploits a chain of vulnerabilities in Zimbra Collaboration Suite (CVE-2019-9670 and CVE-2019-9621) affecting versions 8.5 to 8.7.11 on Linux. The exploit leverages an XXE vulnerability in the Autodiscover Servlet to read the Zimbra LDAP password from /opt/zimbra/conf/localconfig.xml, then uses these credentials to obtain a user authentication cookie. It then exploits a server-side request forgery (SSRF) in the ProxyServlet to escalate to admin privileges, and finally uploads a JSP webshell via the Client Upload servlet. The webshell is then triggered to provide remote code execution as the Zimbra user. The module is weaponized, allowing the attacker to specify a Metasploit payload (default: java/jsp_shell_reverse_tcp). The code is written in Ruby and is structured as a typical Metasploit exploit module, with clear separation of each attack stage and robust error handling. The main network endpoints targeted are the Zimbra web application (typically on port 8443), with internal SSRF targeting 127.0.0.1:7071. The exploit is highly automated and suitable for operational use.Disclosed Mar 13, 2019 · Framework: metasploit · ruby · networkWeaponizedZimbra-RCEThis repository contains a Python exploit script (zimbra.py) targeting Zimbra Collaboration Suite versions <= 8.7.0 and 8.7.11, exploiting CVE-2019-9670. The exploit leverages an XXE vulnerability in the Autodiscover servlet to extract low-privilege credentials, then uses SSRF via the ProxyServlet to escalate privileges and obtain an admin token. With this token, it uploads an attacker-supplied file (such as a web shell) to the server using the clientUploader endpoint. The exploit is operational and requires the attacker to provide a DTD payload hosted at a reachable URL, the target Zimbra instance URL, and a file to upload. The README provides usage instructions and argument details. The main code is in zimbra.py, with LICENSE and README.md as supporting files. The exploit is not part of a framework and is a standalone operational exploit for remote code execution on vulnerable Zimbra servers.rek7 · Disclosed Aug 16, 2019 · python · networkOperationalZimbra-RCEThis repository contains a Python exploit script (zimbra.py) targeting Zimbra Collaboration Suite versions <= 8.7.0 and 8.7.11, exploiting CVE-2019-9670. The exploit leverages an XXE vulnerability in the Autodiscover servlet to extract low-privilege credentials, then uses SSRF via the ProxyServlet to escalate to admin privileges. With the admin token, it uploads an arbitrary file (such as a web shell) to the server, enabling remote code execution. The script requires the attacker to provide a target URL, a DTD file URL (for the XXE payload), a payload file, and a name for the uploaded file. The main code file is zimbra.py, which implements the full exploit chain. The README provides usage instructions and context. No framework is used; this is a standalone operational exploit.attackgithub · Disclosed Aug 16, 2019 · python · networkOperational
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
ZimbraZimbra Collaboration Suiteapplication
FAQ

Frequently asked questions

Is CVE-2019-9670 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 Jan 10, 2022.
Is there a public exploit for CVE-2019-9670?
Yes. Mallory tracks 3 public exploits or proofs of concept for CVE-2019-9670, the earliest disclosed Mar 13, 2019.
Is there a patch for CVE-2019-9670?
Update affected Zimbra Collaboration Suite 8.7.x installations to 8.7.11p10 or a later supported release containing the fix. Prioritize exposed deployments because the vulnerability has been exploited in the wild.
What products are affected by CVE-2019-9670?
Zimbra Collaboration Suite.
How severe is CVE-2019-9670?
CVE-2019-9670 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 100.0% (100th percentile) as of Oct 16, 2026.
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 evidence9Every 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 activityCommunity discussion across Reddit, Mastodon, and other social sources.