search menu icon-carat-right cmu-wordmark

CERT Coordination Center

Exim string_format() buffer overflow

Vulnerability Note VU#682457

Original Release Date: 2010-12-13 | Last Revised: 2010-12-13

Overview

The Exim mail server contains a buffer overflow that could allow a remote attacker to execute arbitrary code on an affected system.

Description

Exim is a message transfer agent (MTA) developed at the University of Cambridge for use on Unix systems connected to the Internet. The internal string handling functions of the Exim software contain a function called string_format(). The version of this function included with Exim versions prior to 4.70 contains a flaw that can result in a buffer overflow. An attacker can exploit this vulnerability by crafting message headers that are subsequently supplied to Exim logging functions.

Note: this vulnerability has been reported being exploited in the wild.

Impact

A remote, unauthenticated attacker may be able to execute arbitrary code with the privileges of the Exim server. A separate vulnerability in Exim could then allow the attacker to escalate privileges to root.

Solution

Apply an update

Users who obtain Exim from a third-party vendor, such as their operating system vendor, should see the vendor information portion of this document for a partial list of affected vendors.

This vulnerability is reportedly addressed in Exim version 4.70. Users of Exim from the original source distribution should upgrade to this version or later, as appropriate. Users who are unable to upgrade are encouraged to apply the following patch from the Exim developers:
<http://git.exim.org/exim.git/commitdiff/24c929a2>

Vendor Information

682457
 

Debian GNU/Linux Affected

Updated:  December 10, 2010

Statement Date:   December 10, 2010

Status

Affected

Vendor Statement

We have not received a statement from the vendor.

Vendor Information

We are not aware of further vendor information regarding this vulnerability.

Vendor References

SUSE Linux Affected

Updated:  December 13, 2010

Statement Date:   December 13, 2010

Status

Affected

Vendor Statement

We have not received a statement from the vendor.

Vendor Information

We are not aware of further vendor information regarding this vulnerability.

Vendor References

Ubuntu Affected

Updated:  December 13, 2010

Statement Date:   December 11, 2010

Status

Affected

Vendor Statement

We have not received a statement from the vendor.

Vendor Information

We are not aware of further vendor information regarding this vulnerability.

Vendor References


CVSS Metrics

Group Score Vector
Base
Temporal
Environmental

References

Acknowledgements

This vulnerability was discovered as a result of its exploitation in the wild. Sergey Kononenko provided confirmation and public analysis.

This document was written by Chad R Dougherty.

Other Information

CVE IDs: CVE-2010-4344
Severity Metric: 19.77
Date Public: 2010-12-07
Date First Published: 2010-12-13
Date Last Updated: 2010-12-13 14:29 UTC
Document Revision: 10

Sponsored by CISA.