A critical vulnerability resides in Exim Email server allows attackers to execute the code remotely and take control of the vulnerable server.
An open-source Exim message transfer agent (MTA) Written by Philip Hazel and the integration has maintained by the University of Cambridge as an open-source project and is responsible for receiving, routing and delivering e-mail messages used on Unix-like operating systems.
In June, Exim maintainers released a patch for Critical Remote command execution vulnerability that affected Exim Email Server versions 4.87 to 4.91 let a local attacker or a remote attacker(with limited boundary) can execute an arbitrary command and exploit the server.
The maintenance team behind the Exim sever has been released a patch for this critical vulnerability and urge to apply the patch immediately to prevent from the attack.
All versions from 4.92 up to 4.92.2 are vulnerable to remote code execution due to the Heap-based buffer overflow in string_vformat, and the vulnerability was reported by Jeremy Harris from QAX-A-TEAM.
According to the Exim Team release notes “The currently known exploit uses an extraordinary long EHLO string to crash the Exim process that is receiving the message.
While at this mode of operation Exim already dropped its privileges, other paths to reach the vulnerable code may exist.”
There is the only way to fix the vulnerability is to update the server by applying the patch that has been released with Exim version 4.92.3, and there is no other mitigation available.
CVE-2019-16928 has been assigned for this vulnerability, and the Exim server users are highly recommended to update their server to prevent from the attacker.
“The tagged commit is the officially released version. The +fixes branch isn’t officially maintained but contains the security fix and useful fixes. If you can’t install the above versions, ask your package maintainer for a version containing the backported fix.”
Also read about Penetration Testing Mail Server with Email Spoofing – Exploiting Open Relay configured Public Mail Servers.