CVE-2023-42115: (0Day) Exim AUTH Out-Of-Bounds Write Remote Code Execution Vulnerability
[Exim AUTH Out-Of-Bounds Write Remote Code Execution Vulnerability]
Other sources
Exim AUTH Out-Of-Bounds Write Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Exim. Authentication is not required to exploit this vulnerability.
The specific flaw exists within the smtp service, which listens on TCP port 25 by default. The issue results from the lack of proper validation of user-supplied data, which can result in a write past the end of a buffer. An attacker can leverage this vulnerability to execute code in the context of the service account. . Was ZDI-CAN-17434.
— NVD
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/exim4to a version that resolves this vulnerability.Fixed in 4.92-8+deb10u6Fixed in 4.92-8+deb10u9Fixed in 4.94.2-7+deb11u2Fixed in 4.96-15+deb12u4Fixed in 4.97-5Fixed in 4.97-8 - Upgrade
Upgrade
ubuntu/exim4to a version that resolves this vulnerability.Fixed in 4.93-13ubuntu1.8 - Upgrade
Upgrade
ubuntu/exim4to a version that resolves this vulnerability.Fixed in 4.95-4ubuntu2.3 - Upgrade
Upgrade
ubuntu/exim4to a version that resolves this vulnerability.Fixed in 4.96-14ubuntu1.2 - Upgrade
Upgrade
ubuntu/exim4to a version that resolves this vulnerability.Fixed in 4.96-17ubuntu2 - Upgrade
Upgrade
ubuntu/exim4to a version that resolves this vulnerability.Fixed in 4.96.1 - Compensating control
Restrict access to Exim's SMTP service on TCP port 25 at the firewall or network ACL, since the vulnerable service listens on that port by default.
Event History
Frequently Asked Questions
What is CVE-2023-42115?
CVE-2023-42115 is an (0Day) Exim AUTH Out-Of-Bounds Write Remote Code Execution Vulnerability.
How does CVE-2023-42115 affect Exim?
CVE-2023-42115 allows remote attackers to execute arbitrary code on affected installations of Exim.
Is authentication required to exploit CVE-2023-42115?
No, authentication is not required to exploit CVE-2023-42115.
What is the severity of CVE-2023-42115?
CVE-2023-42115 has a severity value of 9.8, which is critical.
How can I fix CVE-2023-42115 on Ubuntu?
To fix CVE-2023-42115 on Ubuntu, update the Exim4 package to version 4.93-13ubuntu1.8, 4.95-4ubuntu2.3, 4.96-14ubuntu1.2, or 4.96.1 depending on the specific Ubuntu release.