21Nails: Multiple Critical Vulnerabilities in Exim Mail Server
Multiple critical vulnerabilities were found in the Exim mail server, some of which can be chained to achieve remote unauthenticated code execution and root privileges. An attacker could exploit these to gain full control of the server, install programs, modify data, and create new accounts.
blog.qualys.com
Published on blog.qualys.com
Exim is a popular mail transfer agent (MTA) available for major Unix-like operating systems and comes pre-installed on Linux distributions such as Debian. According to a recent survey, an estimated 60% of internet servers run on Exim.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely various programming errors in Exim's code, such as memory corruption and logic flaws, that allow attackers to execute arbitrary code or escalate privileges.
Impact
A remote attacker could gain full root privileges on the target server and execute commands to install programs, modify data, and create new accounts.
What the attacker needed
Exim server exposed to internet; no authentication required
The fix
The vulnerabilities were fixed in Exim version 4.94.2, and users should apply patches immediately.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
Exim is a mail server program that runs on many internet servers. The researchers found many security mistakes in its code, and some of these mistakes can be combined so that an attacker can run their own commands on the server without needing a password. This gives the attacker complete control over the server.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.