# EXIM exploits actively used

**URL:** <https://forum.hestiacp.com/t/exim-exploits-actively-used/11290>\
**Category:** Uncategorized\
**Created:** [October 4, 2023, 8:57am UTC](https://forum.hestiacp.com/t/exim-exploits-actively-used/11290 "2023-10-04T08:57:32Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Slagroom](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/slagroom/32/3826_2.png) [@Slagroom](https://forum.hestiacp.com/u/Slagroom)\
**Post date:** [October 4, 2023, 8:57am UTC](https://forum.hestiacp.com/t/exim-exploits-actively-used/11290/1 "2023-10-04T08:57:32Z")

</div>

> **[Exim patches three of six zero-day bugs disclosed last week](https://www.bleepingcomputer.com/news/security/exim-patches-three-of-six-zero-day-bugs-disclosed-last-week/)**
>
> Exim developers have released patches for three of the zero-days disclosed last week through Trend Micro's Zero Day Initiative (ZDI), one of them allowing unauthenticated attackers to gain remote code execution.

Another reason to go with Postfix instead. I’ve never understood why debian defaults with exim now.

---

<div class="post-metadata">

**Author:** ![sahsanu](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/sahsanu/32/9318_2.png) [@sahsanu](https://forum.hestiacp.com/u/sahsanu)\
**Post date:** [October 4, 2023, 9:03am UTC](https://forum.hestiacp.com/t/exim-exploits-actively-used/11290/2 "2023-10-04T09:03:32Z")

</div>

> [@CVE-2023-42115 | Exim Vulnerability (CVSS score 9.8)](https://forum.hestiacp.com/t/cve-2023-42115-exim-vulnerability-cvss-score-9-8/11215):
>
> Given Hestia’s reliance on Exim, I’d like to bring to your attention a current vulnerability (CVE-2023-42115) with CVSS score 9.8 that could potentially lead to remote code execution. Unfortunately, there is currently no patch available for this issue. As a temporary solution, we can mitigate the risk by blocking port 25 through the firewall page (iptables) in the HestiaCP panel. It’s important to note that this action will prevent the reception of emails for all email accounts. However, email s…

---

<div class="post-metadata">

**Author:** ![eris](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/eris/32/1241_2.png) [@eris](https://forum.hestiacp.com/u/eris)\
**Post date:** [October 4, 2023, 9:15am UTC](https://forum.hestiacp.com/t/exim-exploits-actively-used/11290/3 "2023-10-04T09:15:26Z")

</div>

Feel free to contribute to it …

But currently I have 0 time to work on it…

---

<div class="post-metadata">

**Author:** ![eris](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/eris/32/1241_2.png) [@eris](https://forum.hestiacp.com/u/eris)\
**Post date:** [October 4, 2023, 9:23am UTC](https://forum.hestiacp.com/t/exim-exploits-actively-used/11290/4 "2023-10-04T09:23:54Z")

</div>

Also:

## Not “a world-ending catastrophe”

While tagged with a 9.8/10 severity score by the ZDI team, Exim says the successful exploitation of CVE-2023-42115—the most severe of the six zero-days disclosed by ZDI last week—is dependent on the use of external authentication on the targeted servers.

Even though 3.5 million Exim servers are exposed online, according to [Shodan](https://www.shodan.io/search?query=%22ESMTP+Exim%22), this requirement drastically reduces the number of Exim mail servers potentially vulnerable to attacks.

An [analysis of the six zero-days](https://labs.watchtowr.com/exim-0days-90s-vulns-in-90s-software/) by watchTowr Labs confirms Exim’s take on the severity of these zero-days as they “require a very specific environment to be accessible.”

watchTowr Labs also provided a list of all configuration requirements on vulnerable Exim servers needed for successful exploitation:

| **CVE** | **CVSS** | **Requirements** |
| --- | --- | --- |
| CVE-2023-42115 | 9.8 | “External” authentication scheme configured and available |
| CVE-2023-42116 | 8.1 | “SPA” module (used for NTLM auth) configured and available |
| CVE-2023-42117 | 8.1 | Exim Proxy (different to a SOCKS or HTTP proxy) in use with untrusted proxy server |
| CVE-2023-42118 | 7.5 | “SPF” condition used in an ACL |
| CVE-2023-42114 | 3.7 | “SPA” module (used for NTLM auth) configured to auth the Exim server to an upstream server |
| CVE-2023-42119 | 3.1 | An untrusted DNS resolver |

“Most of us don’t need to worry. If you’re one of the unlucky ones who uses one of the listed features though, you’ll be keen to get more information before undertaking ZDI’s advice to ‘restrict interaction with the application’,” watchTowr researcher Aliz Hammond said.

We don’t use those features…

---

<div class="post-metadata">

**Author:** ![Slagroom](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/slagroom/32/3826_2.png) [@Slagroom](https://forum.hestiacp.com/u/Slagroom)\
**Post date:** [October 4, 2023, 8:33pm UTC](https://forum.hestiacp.com/t/exim-exploits-actively-used/11290/5 "2023-10-04T20:33:30Z")

</div>

As a CISSP I have to stress you’re plain wrong, sir. Exim the way hestia uses it, is the SMTP server, for crying out loud. It’s wide open for CVE-2023-42115 !  
You may want to read [ZDI-23-1469 | Zero Day Initiative](https://www.zerodayinitiative.com/advisories/ZDI-23-1469/) and be sure to patch it by updating.

For debian and ubuntu servers, if you’re having the security update stream active, you’re already patched.

---

<div class="post-metadata">

**Author:** ![sahsanu](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/sahsanu/32/9318_2.png) [@sahsanu](https://forum.hestiacp.com/u/sahsanu)\
**Post date:** [October 4, 2023, 9:53pm UTC](https://forum.hestiacp.com/t/exim-exploits-actively-used/11290/6 "2023-10-04T21:53:35Z")

</div>

> [@Slagroom](#):
>
> As a CISSP I have to stress you’re plain wrong, sir. Exim the way hestia uses it, is the SMTP server, for crying out loud. It’s wide open for CVE-2023-42115 !

As a SUUHAH (Simple User Using Hestia As Hobby) I have to stress you’re plain wrong, sir 😛 Hestia doesn’t use driver external so I don’t know how it would be affected by this CVE-2023-42115.

[https://exim.org/static/doc/security/CVE-2023-zdi.txt](https://exim.org/static/doc/security/CVE-2023-zdi.txt)

> **[41. The external authenticator](https://www.exim.org/exim-html-current/doc/html/spec_html/ch-the_external_authenticator.html)**
>
> Exim is a message transfer agent (MTA) developed at the University of Cambridge for use on Unix systems connected to the Internet.

---

<div class="post-metadata">

**Author:** ![system](https://forum.hestiacp.com/uploads/default/original/1X/d9a5b68bf50ced83e880b56452e592b204761b19.png) [@system](https://forum.hestiacp.com/u/system)\
**Post date:** [November 3, 2023, 9:54pm UTC](https://forum.hestiacp.com/t/exim-exploits-actively-used/11290/7 "2023-11-03T21:54:06Z")

</div>

Closed on November 3, 2023, 9:54pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
