Skip to main content
← All vulnerabilities
CVE-2024-30270

mailcow Path Traversal and Arbitrary Code Execution Vulnerability

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2024-04
1 proof of concept on GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated
  4. EPSS reached 10%

    FIRST estimates at least a 10% chance of exploitation in the next 30 days

Affected versions

  • mailcow mailcow-dockerized

    fixed in 2024-04

References 4

GitHub · mailcow/mailcow-dockerized

mailcow.email

sonarsource.com

GitHub · Alchemist3dot14/CVE-2024-30270-PoC