Cloudanix VulnDB

CVE-2023-42114

Low · 3.7

CVSS

3.7

EPSS

26.9%

Published

May 3, 2024

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A flaw in the mail server allows outsiders to potentially peek at small amounts of internal memory without logging in, which could reveal useful information to attackers.

Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
High
Impact
Data Exposure
Component
Network Service
Class
Information Disclosure
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Out-of-bounds read in NTLM challenge request handling due to missing validation of user-supplied data, allowing disclosure of memory contents in the service account context.

Why it matters to the business

Attackers can obtain limited sensitive information from mail servers without authentication, increasing risk of further compromise; the flaw has been public for over two years with moderate exploit prediction scores.

How an attack unfolds

A remote unauthenticated attacker sends a specially crafted NTLM challenge request to the Exim server; the server fails to validate the supplied data length, reads past the end of an allocated structure, and returns memory contents to the attacker.

How to fix it

Upgrade Exim to the commit b9e0b12d9b665bbff996382264d4ba97d1a61efd or later; if immediate patching is not possible, restrict NTLM authentication or apply network access controls.

How to confirm the fix worked

Verify the installed Exim binary or source matches a build containing commit b9e0b12d9b665bbff996382264d4ba97d1a61efd; re-test NTLM challenge handling with boundary values after upgrade.

Typical attack path

  1. Identify exposed Exim SMTP services
  2. Craft and send a malformed NTLM challenge request
  3. Trigger the out-of-bounds read during challenge processing
  4. Receive leaked memory contents containing sensitive information

How to detect it

Search mail server logs for unusual or malformed NTLM challenge requests; inspect process memory dumps or network captures around the time of suspicious SMTP sessions for signs of unexpected data leakage.

What your security team should do

  • Prioritize upgrade of all Exim instances to the fixed commit within the next maintenance window
  • Review and restrict exposure of SMTP services accepting NTLM authentication
  • Monitor EPSS trends and any new public exploits for this issue

The record

Exim NTLM Challenge Out-Of-Bounds Read Information Disclosure Vulnerability. This vulnerability allows remote attackers to disclose sensitive information on affected installations of Exim. Authentication is not required to exploit this vulnerability. The specific flaw exists within the handling of NTLM challenge requests. The issue results from the lack of proper validation of user-supplied data, which can result in a read past the end of an allocated data structure. An attacker can leverage this vulnerability to disclose information in the context of the service account. Was ZDI-CAN-17433.

Affected packages

Ecosystem Package Introduced Fixed
Chainguard exim 0 4.96.1-r0
Chainguard exim-cdb 0 4.96.1-r0
Chainguard exim-dbmdb 0 4.96.1-r0
Chainguard exim-dnsdb 0 4.96.1-r0
Chainguard exim-doc 0 4.96.1-r0
Chainguard exim-mysql 0 4.96.1-r0
Chainguard exim-pgsql 0 4.96.1-r0
Chainguard exim-scripts 0 4.96.1-r0
Chainguard exim-sqlite 0 4.96.1-r0
Chainguard exim-utils 0 4.96.1-r0
Debian:10 exim4 0 4.92-8+deb10u8
Debian:11 exim4 0 4.94.2-7+deb11u1
Debian:12 exim4 0 4.96-15+deb12u2
Debian:13 exim4 0 4.97~RC1-2
SUSE:Package Hub 15 SP4 exim 0 4.94.2-bp155.5.3.1
SUSE:Package Hub 15 SP5 exim 0 4.94.2-bp155.5.3.1
SUSE:Package Hub 15 SP5 exim 0 4.97.1-bp155.5.9.1
Ubuntu:20.04:LTS exim4 0 4.93-13ubuntu1.8
Ubuntu:22.04:LTS exim4 0 4.95-4ubuntu2.3
Ubuntu:Pro:14.04:LTS exim4 0 4.82-3ubuntu2.4+esm6
Ubuntu:Pro:16.04:LTS exim4 0 4.86.2-2ubuntu2.6+esm4
Ubuntu:Pro:18.04:LTS exim4 0 4.90.1-1ubuntu1.10+esm1
Wolfi exim 0 4.96.1-r0
Wolfi exim-cdb 0 4.96.1-r0
Wolfi exim-dbmdb 0 4.96.1-r0
Wolfi exim-dnsdb 0 4.96.1-r0
Wolfi exim-doc 0 4.96.1-r0
Wolfi exim-mysql 0 4.96.1-r0
Wolfi exim-pgsql 0 4.96.1-r0
Wolfi exim-scripts 0 4.96.1-r0
Wolfi exim-sqlite 0 4.96.1-r0
Wolfi exim-utils 0 4.96.1-r0
openSUSE:Leap 15.4 exim 0 4.94.2-bp155.5.3.1
openSUSE:Leap 15.5 exim 0 4.94.2-bp155.5.3.1
openSUSE:Leap 15.5 exim 0 4.97.1-bp155.5.9.1
openSUSE:Tumbleweed exim 0 4.96.1-1.1

Related vulnerabilities