CVE-2024-30270: mailcow Path Traversal and Arbitrary Code Execution Vulnerability

Published Apr 4, 2024
·
Updated

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 rspamdmaps() 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 Software

2 affected components
Mailcow mailcow: dockerized<2024-04
Mailcow Mailcow\<2024-04

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade mailcow: dockerized to a version that resolves this vulnerability.

    Fixed in 2024-04

Event History

Apr 4, 2024
CVE Published
via MITRE·08:27 PM
Data Sourced
via MITRE·08:27 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:15 PM
DescriptionSeverityWeaknessAffected Software
Jun 21, 2024
Exploit Published
via GitHub·04:47 AM

Frequently Asked Questions

1

What is the severity of CVE-2024-30270?

CVE-2024-30270 is considered a critical vulnerability due to its potential for path traversal and arbitrary code execution.

2

How do I fix CVE-2024-30270?

To fix CVE-2024-30270, update mailcow: dockerized to version 2024-04 or later.

3

What versions of mailcow are affected by CVE-2024-30270?

CVE-2024-30270 affects all versions of mailcow: dockerized prior to 2024-04.

4

What types of attacks can be carried out using CVE-2024-30270?

CVE-2024-30270 allows attackers to perform arbitrary code execution and path traversal attacks.

5

Is there a workaround for CVE-2024-30270?

There are no recommended workarounds for CVE-2024-30270 other than upgrading to the latest version.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203