Critical and high severity Exim vulnerabilities: everything you need to know
Exim Mail Transfer Agent contains an out-of-bounds write in its SMTP service when 'External' authentication is enabled, allowing unauthenticated remote attackers to execute arbitrary code. Other high-severity flaws also enable remote code execution under specific configurations.
Multiple vulnerabilities were publicly disclosed by the Zero Day Initiative (ZDI) in Exim Mail Transfer Agent (MTA), including CVE-2023-42115, which is a critical vulnerability enabling unauthenticated attackers to remotely execute code on publicly exposed Exim servers with “External” authentication enabled. This…
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 improper input validation in the SMTP service when 'External' authentication is enabled, leading to an out-of-bounds write.
Impact
A successful exploit could allow an attacker to execute code with the privileges of the service account, and exploitation in the wild is expected soon.
What the attacker needed
Exim with 'External' authentication enabled; Network access to SMTP port (default 25)
The fix
Update Exim to patched versions 4.96.1 or 4.97, or disable 'External' authentication and restrict remote access.
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. A bug in how it handles certain login attempts lets an attacker run their own code on the server without needing a password. This could give them full control of the machine.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.