CVE-2022-41352
Synacor Zimbra Collaboration Suite (ZCS) Arbitrary File Upload Vulnerability
Record summary
CVE-2022-41352 has a selected CVSS score of 9.8 (critical); EIP currently links 1 catalogued exploit, 4 repository PoCs, and 1 Nuclei template. CISA lists CVE-2022-41352 in KEV; VulnCheck reports CVE-2022-41352 use in known ransomware campaigns.
Description
An issue was discovered in Zimbra Collaboration (ZCS) 8.8.15 and 9.0. An attacker can upload arbitrary files through amavis via a cpio loophole (extraction to /opt/zimbra/jetty/webapps/zimbra/public) that can lead to incorrect access to any other user accounts. Zimbra recommends pax over cpio. Also, pax is in the prerequisites of Zimbra on Ubuntu; however, pax is no longer part of a default Red Hat installation after RHEL 6 (or CentOS 6). Once pax is installed, amavis automatically prefers it over cpio.
Exploitation context
Known exploitation
- CISA KEV
- Listed · Oct 20, 2022 · CISA
- VulnCheck KEV
- Listed · Oct 20, 2022 · VulnCheck
- Reported exploitation
- Observed · VulnCheck
- Ransomware use
- Observed · VulnCheck
Available material
CISA SSVC decision
CISA Coordinator · SSVC 2.0.3 · Evaluated Feb 3, 2025 · Source: CVE List
Affected products and versions
1| Product | Source | Version range | Status |
|---|---|---|---|
Zimbra Collaboration Suite (ZCS)Browse Synacor / Zimbra Collaboration Suite (ZCS) | CISA | Version data not supplied | |
Proofs of concept
5Catalogued exploits
MetasploitTAR Path Traversal in Zimbra (CVE-2022-41352)Metasploit exploitby Alexander Cherepanov +2 moreNot analyzed1 file
Repository PoCs
GitHubsegfault-it/cve-2022-41352Repository PoCby segfault-itStars: 8Not analyzed4 files
GitHubCr4ckC4t/cve-2022-41352-zimbra-rceRepository PoCby Cr4ckC4tStars: 109Not analyzed2 files
GitHubqailanet/cve-2022-41352-zimbra-rceRepository PoCby qailanetStars: 0Not analyzed1 file
GitHubrxerium/CVE-2022-41352Repository PoCby rxeriumStars: 2Not analyzed3 files
Nuclei templates
1ProjectDiscoveryCRITICALZimbra Collaboration - Unrestricted File UploadCVSS 9.8
An issue was discovered in Zimbra Collaboration (ZCS) 8.8.15 and 9.0. An attacker can upload arbitrary files through amavis via a cpio loophole (extraction to /opt/zimbra/jetty/webapps/zimbra/public) that can lead to incorrect access to any other user accounts. Zimbra recommends pax over cpio. Also, pax is in the prerequisites of Zimbra on Ubuntu; however, pax is no longer part of a default Red Hat installation after RHEL 6 (or CentOS 6). Once pax is installed, amavis automatically prefers it over cpio.
Impact
Unauthenticated attackers can upload arbitrary files through amavis via a cpio loophole that extracts to the webapps directory, potentially achieving remote code execution and unauthorized access to other user accounts in Zimbra Collaboration Suite.
Remediation
Install pax package and ensure amavis is configured to use pax instead of cpio. Update to the latest patched version of Zimbra Collaboration Suite.
Source: ProjectDiscovery