CVE-2024-24760 Mailcow Docker Container Exposure to Local Network
Attackers on the same subnet can access internal Docker container ports despite localhost binding, potentially exposing sensitive data or services.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-24760?
CVE-2024-24760 is a high-severity vulnerability in mailcow-dockerized, published on 2 Feb 2024. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
mailcow is a dockerized email package, with multiple containers linked in one bridged network. A security vulnerability has been identified in mailcow affecting versions < 2024-01c. This vulnerability potentially allows attackers on the same subnet to connect to exposed ports of a Docker container, even when the port is bound to 127.0.0.1. The vulnerability has been addressed by implementing additional iptables/nftables rules. These rules drop packets for Docker containers on ports 3306, 6379, 8983, and 12345, where the input interface is not `br-mailcow` and the output interface is `br-mailcow`.
Weakness: CWE-610
Which versions are affected by CVE-2024-24760?
It affects 1 product.
Products include Mailcow Mailcow\.
How do I fix CVE-2024-24760?
No fix has been published for CVE-2024-24760 yet. Limit exposure of the affected software until one is available.
Is CVE-2024-24760 being exploited?
There is no known exploitation of CVE-2024-24760 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in mailcow-dockerized
- CVE-2025-53909 mailcow: dockerized vulnerable to SSTI in Quota and Quarantine Notification Template
- CVE-2023-34108 Manipulation of Internal Dovecot Variables in mailcow via crafted Passwords
- CVE-2022-31138 OS Command Injection in mailcow
- CVE-2022-31245 Command injection in n/a
- CVE-2017-8928 Cross-site request forgery in n/a
Sources
Also known as GHSA-gmpj-5xcm-xxx6.