Heap-based buffer overflow in Exim - CVE-2012-5671

 

Heap-based buffer overflow in Exim - CVE-2012-5671

Published: October 31, 2012 / Updated: September 28, 2021


Vulnerability identifier: #VU43366
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2012-5671
CWE-ID: CWE-122
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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

The vulnerability exists due to a boundary error in Heap-based buffer overflow in the dkim_exim_query_dns_txt function in dkim.c in Exim 4.70 through 4.80, when DKIM support is enabled and acl_smtp_connect and acl_smtp_rcpt are not set to "warn control = dkim_disable_verify,". A remote attacker can use an email from a malicious DNS server. to trigger heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

Exim
Fedora
exim

How to mitigate CVE-2012-5671

Install update from vendor's website.

exim - update to 4.72-3.el6

External References

Related Security Bulletins