CVE Tools

CVE-2024-30270

mailcow Path Traversal and Arbitrary Code Execution Vulnerability

Public exploit available. Not confirmed exploited in the wild yet. Fixed in 2024-04.

Published Updated Sources: CVE.org, NVD, BDU

What to do

Find your product and version, then upgrade to the build on the right.

  • Mailcow-dockerizedAffected: < 2024-04Upgrade to: not statedStated by: CVE record
  • Mailcow\Affected: < 2024-04Upgrade to: 2024-04Stated by: NVD
  • Сообщество свободного программного обеспечения mailcow:dockerizedAffected: до 2024-04Upgrade to: not statedStated by: BDU

Versions as the sources state them. Full version matrix after sign-in

Steps

Written by AI from the record
  1. Check your mailcow-dockerized version and confirm it is older than 2024-04.
  2. Upgrade mailcow-dockerized to the patched release from 2024-04 or newer.
  3. Review admin access controls (who can log in as an admin) and rotate admin credentials if you have any concern.
  4. If upgrading is delayed, immediately restrict admin login access (e.g., allowlist your office/VPN IPs) and monitor for suspicious file changes and command execution attempts.

What it is

From the CVE record

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.

In plain language

Written by AI from the record

mailcow-dockerized has a vulnerability in versions before 2024-04 that can let a logged-in admin user run commands on the server; if you run mailcow as a public-facing service, you should update to 2024-04 or newer.

CVE-2024-30270 is a path traversal leading to arbitrary code execution in mailcow-dockerized (mailcow) by abusing insufficient path validation in the `rspamd_maps()` flow, allowing an authenticated admin to overwrite server files writable by `www-data`, then execute attacker-controlled code.

If you're affected

  • Server takeover via admin misuse
  • Email service disruption
  • Data theft from mailbox storage
  • Ransomware-style impact risk

Exploitation

Where each signal puts this CVE on the scale from published to confirmed exploited.

EPSS98th
Public exploit
CISA KEV

Not in the catalog. CISA has not confirmed exploitation.

Public exploits

1 source with a proof of concept or module.

Exploit links, PoCs and Metasploit modules after sign-in
EPSS

27% chance of exploitation activity in the next 30 days, which ranks it in the 98th percentile of scored CVEs.

Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.

Lifecycle

The patch came 151 days before any public exploit.

  1. OpenVAS check added
  2. Public exploit / PoCsource: other
  3. Patch availablerecord updated
  4. Publishedweakness classified, att&ck mapped

Affected products

Technical detail

CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:L

Scored 6.2 by NVD.

How it is reached

  • Attack Vector NetworkExploitable remotely over the network without any special conditions
  • Attack Complexity HighRequires specific conditions like a race condition or non-default configuration
  • Privileges Required HighRequires admin or elevated privileges
  • User Interaction NoneNo user interaction needed — fully automated exploitation

Scope

  • Scope UnchangedImpact is limited to the vulnerable component itself

Impact if exploited

  • Confidentiality HighTotal information disclosure — all data in the component is compromised
  • Integrity HighTotal loss of integrity — attacker can modify any data in the component
  • Availability LowReduced performance or intermittent disruption of service

Weaknesses

ATT&CK techniques

Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.

Sources

Watch the software you run.

My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.

We'll flag the next CVE, public exploit or patch for Mailcow-dockerized, not every advisory. This one: public exploit.