Path Traversal in Mailcow Mailcow\
CVE-2024-30270
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.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.2 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:L.
EPSS exploit prediction
EPSS: 0.273 (98.1th percentile), scored .
Moderate probability of exploitation in the next 30 days — watch for active exploitation reports. 98th percentile — 98.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.273 · newest: 0.273 · change: 0.000
Affected products
- Mailcow Mailcow\ — versions _dockerized
- Mailcow Mailcow-Dockerized — versions < 2024-04
- Mailcow Mailcow\: Dockerized
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/mailcow/mailcow-dockerized/security/advisories/GHSA-4m8r-87gc-3vvp (Vendor Advisory)
- mailcow.email/posts/2024/release-2024-04 (Release Notes)
- www.sonarsource.com/blog/remote-code-execution-in-mailcow-always-sanitize-error… (Exploit, Third Party Advisory)
- af854a3a-2127-422b-91ae-364da2661108 (Exploit, Third Party Advisory)
Frequently asked questions
- What is CVE-2024-30270?
- CVE-2024-30270 is a medium-severity vulnerability in Mailcow Mailcow\, classified under Path Traversal. CVSS score: 6.2/10. Published 2024-04-04.
- How severe is CVE-2024-30270?
- Medium severity. CVSS v3 base score is 6.2 out of 10.
- Is CVE-2024-30270 known to be exploited?
- 5 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.