Rapid7 Vulnerability & Exploit Database

Zip Path Traversal in Zimbra (mboximport) (CVE-2022-27925)

Back to Search

Zip Path Traversal in Zimbra (mboximport) (CVE-2022-27925)

Disclosed
05/10/2022
Created
08/29/2022

Description

This module POSTs a ZIP file containing path traversal characters to the administrator interface for Zimbra Collaboration Suite. If successful, it plants a JSP-based backdoor within the web directory, then executes it. The core vulnerability is a path-traversal issue in Zimbra Collaboration Suite's ZIP implementation that can result in the extraction of an arbitrary file to an arbitrary location on the host. This issue is exploitable on the following versions of Zimbra: * Zimbra Collaboration Suite Network Edition 9.0.0 Patch 23 (and earlier) * Zimbra Collaboration Suite Network Edition 8.8.15 Patch 30 (and earlier) Note that the Open Source Edition is not affected.

Author(s)

  • Volexity Threat Research
  • Yang_99's Nest
  • Ron Bowes

Platform

Linux

Architectures

x86, x64

Development

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use exploit/linux/http/zimbra_mboximport_cve_2022_27925
msf exploit(zimbra_mboximport_cve_2022_27925) > show targets
    ...targets...
msf exploit(zimbra_mboximport_cve_2022_27925) > set TARGET < target-id >
msf exploit(zimbra_mboximport_cve_2022_27925) > show options
    ...show and set options...
msf exploit(zimbra_mboximport_cve_2022_27925) > exploit

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;