#VU73857 Man-in-the-Middle (MitM) attack in Exim


Published: 2023-03-20

Vulnerability identifier: #VU73857

Vulnerability risk: Medium

CVSSv3.1: 6.3 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2021-38371

CWE-ID: CWE-300

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Exim
Server applications / Mail servers

Vendor: Exim

Description

The vulnerability allows a remote attacker to perform MitM attack.

The vulnerability exists due to the way Exim handles concurrent STARTTLS sessions when sending out emails. A malicious server can send a response to the *next* command within the existing STARTTLS sessions and force the Exim to treat this session as trusted.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

Exim: 4.00 - 4.94.2


External links
http://www.exim.org
http://nostarttls.secvuln.info
http://www.exim.org/static/doc/security/CVE-2021-38371.txt


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability