Connect with us

Hi, what are you looking for?

SecurityWeekSecurityWeek

Email Security

Critical Remote Code Execution Vulnerability Patched in Exim Email Server

A Critical vulnerability recently addressed in the popular open-source email server Exim could lead to remote code execution. 

Exim is an open source mail transfer agent (MTA) widely used in systems running Linux and macOS. At the moment, Exim powers over half of email servers out there. 

A Critical vulnerability recently addressed in the popular open-source email server Exim could lead to remote code execution. 

Exim is an open source mail transfer agent (MTA) widely used in systems running Linux and macOS. At the moment, Exim powers over half of email servers out there. 

Tracked as CVE-2019-16928, the newly addressed security vulnerability is a heap-based buffer overflow in string_vformat (string.c). 

The issue, Exim explains in an advisory, is that an attacker could send a long EHLO string to crash the Exim process that receives the message. 

“While at this mode of operation Exim already dropped its privileges, other paths to reach the vulnerable code may exist,” Exim notes. 

By exploiting the vulnerability, the attacker could not only deny access to the Exim service, but could also potentially execute code remotely on the affected server, security researchers with the QAX A-TEAM explain in a post on the Exim bug tracker. 

Advertisement. Scroll to continue reading.

Proof-of-concept code has been published as well, to exemplify the use of an extraordinary long EHLO string to trigger the crash. 

The security flaw was introduced with the release of Exim 4.92 and does not impact previous versions of the email server. However, versions 4.92, 4.92.1, and 4.92.2 are known to be vulnerable. 

Exim addressed the vulnerability with the release of version 4.92.3 of the server. 

In the beginning of September, Exim addressed a vulnerability (CVE-2019-15846) that allowed attackers to remotely execute arbitrary code with root privileges. 

Earlier this year, the development team addressed a vulnerability (CVE-2019-10149) that allowed for the execution of arbitrary commands with execv(), as root. The first attacks targeting the flaw were observed within weeks, but the attacks haven’t stopped, and botnets also attempt to exploit it. 

Related: Exim Vulnerability Allows Remote Code Execution as Root

Related: Hackers Target Recent Vulnerability in Exim Mail Server

Written By

Ionut Arghire is an international correspondent for SecurityWeek.

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing for the latest cybersecurity threats, trends, and expert insights.

Click to comment

You must be logged in to post a comment Login

Leave a Reply

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest threats, trends, and technology, along with insightful columns from industry experts.

SecurityWeek’s Cyber AI & Automation Summit pushes the boundaries of security discussions by exploring the implications and applications of predictive AI, machine learning, and automation in modern cybersecurity programs.

Register

Join to learn the four levels of architecting security into the agentic SDLC – from securing the code your developers' agents write to running a coordinated system of security agents you've built yourself.

Register

People on the Move

Jensen Huang has been reinstated as President and CEO at NVIDIA.

Lindsey Cerkovnik has joined Anthropic as Head of Vulnerability Disclosure and Security Community.

Kirsten Davies has been appointed National Cyber Director.

More People On The Move

Expert Insights

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest cybersecurity news, threats, and expert insights. Unsubscribe at any time.