Vulnerability Note VU#758489

Exim alternate configuration privilege escalation vulnerability

Original Release date: 13 Dec 2010 | Last revised: 13 Dec 2010

Overview

A vulnerability in the way that the Exim mail server handles configuration files may allow a local attacker to gain escalated privileges 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. If Exim is built without specifying the ALT_CONFIG_ROOT_ONLY configuration option, then the Exim user can invoke Exim with an arbitrary configuration file. The Exim developers note that this option is unspecified by default. Consequently, any ${run...} directives specified in that configuration file will be executed as root.

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

Impact

A local attacker with the ability to execute commands as the Exim user may be able to execute code with root privileges.

Solution

We are currently unaware of a practical solution to this problem.

Ensure that Exim is built with the ALT_CONFIG_ROOT_ONLY option enabled

The Exim developers note that this may result in a loss of functionality in certain cases where more than one configuration is in use. Specifically, the exim user will no longer be permitted to invoke Exim with an alternative configuration file and have it executed with root privileges.

Vendor Information (Learn More)

VendorStatusDate NotifiedDate Updated
SUSE LinuxAffected-13 Dec 2010
If you are a vendor and your product is affected, let us know.

CVSS Metrics (Learn More)

Group Score Vector
Base N/A N/A
Temporal N/A N/A
Environmental N/A N/A

References

Credit

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-4345
  • Date Public: 07 Dec 2010
  • Date First Published: 13 Dec 2010
  • Date Last Updated: 13 Dec 2010
  • Severity Metric: 13.54
  • Document Revision: 5

Feedback

If you have feedback, comments, or additional information about this vulnerability, please send us email.