Skip to content
OpenAdvisories
Medium · 6.2 Public exploit CVE-2024-30270 EUVD-2024-28191

mailcow Path Traversal and Arbitrary Code Execution Vulnerability

Published Apr 4, 2024 · Updated Dec 12, 2024 · Assigned by GitHub_M

Description

mailcow: dockerized is an open source groupware/email suite based on docker. A security vulnerability has been identified in mailcow affecting versions prior to 2024-04. This vulnerability is a combination of path traversal and arbitrary code execution, specifically targeting the `rspamd_maps()` function. It allows authenticated admin users to overwrite any file writable by the www-data user by exploiting improper path validation. The exploit chain can lead to the execution of arbitrary commands on the server. Version 2024-04 contains a patch for the issue.

Affected products

VendorProductAffectedFixed
mailcow mailcow-dockerized < 2024-04 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

  • Alchemist3dot14/CVE-2024-30270-PoC ★ 4 · Jun 21, 2024

    The script exploits Mailcow vulnerabilities via XSS and RCE, emphasizing the need for robust security measures and responsible usage to enhance web application security.

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

References