Bug 1101725 (CVE-2014-2957) - CVE-2014-2957 exim: remote arbitrary code execution via DMARC code parsing
Summary: CVE-2014-2957 exim: remote arbitrary code execution via DMARC code parsing
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2014-2957
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
urgent
urgent
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-27 19:38 UTC by Vincent Danen
Modified: 2021-02-17 06:32 UTC (History)
1 user (show)

Fixed In Version: exim 4.82.1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-05-28 19:30:26 UTC
Embargoed:


Attachments (Terms of Use)

Description Vincent Danen 2014-05-27 19:38:38 UTC
It was reported that the method used in the experimental DMARC code introduced in Exim 4.82 to parse the From header to determine the DMARC domain, used the expand_string() function to parse the raw data in the From header.  This function recognizes various Exim expansion operations, which can be used to execute arbitrary code in the context of Exim and what features have been enabled at compile-time, including calling the embedded Perl interpreter (if enabled).

This flaw was introduced in Exim 4.82 and only if the EXPERIMENTAL_DMARC feature was enabled.  It is fixed in Exim 4.82.1 by using internal parsing routines that are not subject to executing Exim's expansion functions.  Prior versions of Exim are unaffected by this flaw as they did not include this experimental code.

This issue does NOT affect Exim as provided in Red Hat Enterprise Linux 5, EPEL 6, or any released version of Fedora.


Statement:

Not vulnerable. This issue did not affect the versions of Exim as shipped with Red Hat Enterprise Linux 5 as they did not include the experimental DMARC support.


Note You need to log in before you can comment on or make changes to this bug.