.. / CVE-2022-37042

Exploit for Zimbra Collaboration Suite 8.8.15/9.0 - Remote Code Execution (CVE-2022-37042)

Description:

Zimbra Collaboration Suite (ZCS) 8.8.15 and 9.0 has mboximport functionality that receives a ZIP archive and extracts files from it. By bypassing authentication (i.e., not having an authtoken), an attacker can upload arbitrary files to the system, leading to directory traversal and remote code execution. NOTE: this issue exists because of an incomplete fix for CVE-2022-27925.

Nuclei Template

View the template here CVE-2022-37042.yaml

Validate with Nuclei

echo "$URL" | nuclei -t ~/nuclei-templates/http/cves/2022/CVE-2022-37042.yaml
Copy

References:

https://github.com/vnhacker1337/CVE-2022-27925-PoC
https://www.volexity.com/blog/2022/08/10/mass-exploitation-of-unauthenticated-zimbra-rce-cve-2022-27925/
https://blog.zimbra.com/2022/08/authentication-bypass-in-mailboximportservlet-vulnerability/
https://nvd.nist.gov/vuln/detail/CVE-2022-37042
https://wiki.zimbra.com/wiki/Security_Center