Vulnerabilities · 2024 · Mailcow
CVE-2024-30270
Mailcow\ vulnerability
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
Mailcow\. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Mailcow\ runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/mailcow/mailcow-dockerized/security/advisories/GHSA-4m8r-87gc-3vvp · Vendor Advisory
- www.sonarsource.com/blog/remote-code-execution-in-mailcow-always-sanitize-error-messages · Exploit
- www.vicarius.io/vsociety/posts/mailcow-with-xss-and-path-traversal-cve-2024-31204-and-cve- · Exploit
- mailcow.email/posts/2024/release-2024-04
- nvd.nist.gov/vuln/detail/CVE-2024-30270
- cve.org/CVERecord?id=CVE-2024-30270
More vulnerabilities in Mailcow products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.