Heap-based buffer overflow in Exim - CVE-2010-4344

 

Heap-based buffer overflow in Exim - CVE-2010-4344

Published: April 24, 2018 / Updated: March 25, 2022


Vulnerability identifier: #VU12128
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2010-4344
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: The vulnerability is being exploited in the wild

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The weakness exists in the string_vformat function in string.c due to heap-based buffer overflow. A remote attacker can trigger memory corruption and execute arbitrary code via an SMTP session that includes two MAIL commands in conjunction with a large message containing specially crafted headers, leading to improper rejection logging.

Affected software

Exim
Debian Linux
Opensuse
exim4 (Ubuntu package)

How to mitigate CVE-2010-4344

Update to version 4.70.

exim4 (Ubuntu package) - addressed in versions 4.60-3ubuntu3.2, 4.69-2ubuntu0.2, 4.69-11ubuntu4.1

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins