SecurityTracker.com
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 


Category:   Application (E-mail Server)  >   Exim Vendors:   Exim.org
(Red Hat Issues Fix) Re: Exim Mail Server Pipe Address Validation Error May Let Remote Users Execute Arbitrary Code With Root Privileges in a Certain Configuration
SecurityTracker Alert ID:  1003153
SecurityTracker URL:  http://securitytracker.com/id/1003153
CVE Reference:   GENERIC-MAP-NOMATCH   (Links to External Site)
Date:  Jan 8 2002
Impact:   Execution of arbitrary code via network, Root access via network
Fix Available:  Yes  Vendor Confirmed:  Yes  
Version(s): prior to Exim 3.34 and Exim 3.952 (alpha for Exim 4)
Description:   A vulnerability was reported in the Exim mail server. In a certain configuration, a remote user could cause arbitrary commands to be executed on the server with root level privileges, giving the user root level access on the server.

A remote user may be able to execute shell commands on the server if the server is configured in a specific manner. In a run time configuration that directs or routes an address to a pipe transport without checking the local part of the address in any way, the system may be vulnerable. An example of this type of configuration is where all incoming mail is sent directly to a virus checker by means of a pipe, without inspecting the local parts of addresses.

The bug can reportedly be triggered by routing/directing an address whose local part begins with a pipe symbol (vertical bar, "|") to a pipe transport. As a result, Exim will run the command encoded in the local part instead of obeying the pipe command.

The author of the report notes that Patrice Fournier discovered and reported the problem.

Impact:   A remote user can execute arbitrary shell commands on the server with root level privileges if the server is configured in a particular manner.
Solution:   Red Hat has issued a fix.

Red Hat Powertools 6.2:

SRPMS:
ftp://updates.redhat.com/6.2/en/powertools/SRPMS/exim-3.22-6x.1.src.rpm

alpha:
ftp://updates.redhat.com/6.2/en/powertools/alpha/exim-3.22-6x.1.alpha.rpm
ftp://updates.redhat.com/6.2/en/powertools/alpha/exim-doc-3.22-6x.1.alpha.rpm
ftp://updates.redhat.com/6.2/en/powertools/alpha/exim-mon-3.22-6x.1.alpha.rpm

i386:
ftp://updates.redhat.com/6.2/en/powertools/i386/exim-3.22-6x.1.i386.rpm
ftp://updates.redhat.com/6.2/en/powertools/i386/exim-doc-3.22-6x.1.i386.rpm
ftp://updates.redhat.com/6.2/en/powertools/i386/exim-mon-3.22-6x.1.i386.rpm

sparc:
ftp://updates.redhat.com/6.2/en/powertools/sparc/exim-3.22-6x.1.sparc.rpm
ftp://updates.redhat.com/6.2/en/powertools/sparc/exim-doc-3.22-6x.1.sparc.rpm
ftp://updates.redhat.com/6.2/en/powertools/sparc/exim-mon-3.22-6x.1.sparc.rpm

Red Hat Powertools 7.0:

SRPMS:
ftp://updates.redhat.com/7.0/en/powertools/SRPMS/exim-3.22-13.7x.1.src.rpm

alpha:
ftp://updates.redhat.com/7.0/en/powertools/alpha/exim-3.22-13.7x.1.alpha.rpm
ftp://updates.redhat.com/7.0/en/powertools/alpha/exim-doc-3.22-13.7x.1.alpha.rpm
ftp://updates.redhat.com/7.0/en/powertools/alpha/exim-mon-3.22-13.7x.1.alpha.rpm

i386:
ftp://updates.redhat.com/7.0/en/powertools/i386/exim-3.22-13.7x.1.i386.rpm
ftp://updates.redhat.com/7.0/en/powertools/i386/exim-doc-3.22-13.7x.1.i386.rpm
ftp://updates.redhat.com/7.0/en/powertools/i386/exim-mon-3.22-13.7x.1.i386.rpm

Red Hat Powertools 7.1:

SRPMS:
ftp://updates.redhat.com/7.1/en/powertools/SRPMS/exim-3.22-14.1.src.rpm

alpha:
ftp://updates.redhat.com/7.1/en/powertools/alpha/exim-3.22-14.1.alpha.rpm
ftp://updates.redhat.com/7.1/en/powertools/alpha/exim-doc-3.22-14.1.alpha.rpm
ftp://updates.redhat.com/7.1/en/powertools/alpha/exim-mon-3.22-14.1.alpha.rpm

i386:
ftp://updates.redhat.com/7.1/en/powertools/i386/exim-3.22-14.1.i386.rpm
ftp://updates.redhat.com/7.1/en/powertools/i386/exim-doc-3.22-14.1.i386.rpm
ftp://updates.redhat.com/7.1/en/powertools/i386/exim-mon-3.22-14.1.i386.rpm


The verification checksums are:

MD5 sum Package Name
--------------------------------------------------------------------------
bf556e815324fbda9dae66fce2829062 6.2/en/powertools/SRPMS/exim-3.22-6x.1.src.rpm
fba79374816674aea14a7e04771eac09 6.2/en/powertools/alpha/exim-3.22-6x.1.alpha.rpm
9416c5849b4926fe730e492336a67381 6.2/en/powertools/alpha/exim-doc-3.22-6x.1.alpha.rpm
05a44b64be74033bae871941becd2bf4 6.2/en/powertools/alpha/exim-mon-3.22-6x.1.alpha.rpm
beb994172296da655ef91c9261ed941f 6.2/en/powertools/i386/exim-3.22-6x.1.i386.rpm
1a19f29d50a80e03340ae2463b2eae63 6.2/en/powertools/i386/exim-doc-3.22-6x.1.i386.rpm
219bb72a76a7665d17b6c91ff6faa1f6 6.2/en/powertools/i386/exim-mon-3.22-6x.1.i386.rpm
ab286dea084cc3e75f82f18c3dc7f762 6.2/en/powertools/sparc/exim-3.22-6x.1.sparc.rpm
6123b55dcf2c56067476c2373f4df36d 6.2/en/powertools/sparc/exim-doc-3.22-6x.1.sparc.rpm
99269be1db82543f8a3f3212f670e93d 6.2/en/powertools/sparc/exim-mon-3.22-6x.1.sparc.rpm
99bfa12ca904d072a465ce5583fc3e9d 7.0/en/powertools/SRPMS/exim-3.22-13.7x.1.src.rpm
e2c9415e9f410dee3b08f2b3c56b07f6 7.0/en/powertools/alpha/exim-3.22-13.7x.1.alpha.rpm
88a5f4214e20a5308772cdc67e3c3a3f 7.0/en/powertools/alpha/exim-doc-3.22-13.7x.1.alpha.rpm
cdd3b62f9462bacfa4cc6f9f7b85807e 7.0/en/powertools/alpha/exim-mon-3.22-13.7x.1.alpha.rpm
b24e7bd044caacc8fa6d433ec5581e88 7.0/en/powertools/i386/exim-3.22-13.7x.1.i386.rpm
8793738846bf29a190c9bde89ffba478 7.0/en/powertools/i386/exim-doc-3.22-13.7x.1.i386.rpm
392bd1754579aade35d17457e5151ace 7.0/en/powertools/i386/exim-mon-3.22-13.7x.1.i386.rpm
a86ba48a3ffb43f46108ab8cc8c74d2c 7.1/en/powertools/SRPMS/exim-3.22-14.1.src.rpm
b43055b3838eca79c4e503afcf581884 7.1/en/powertools/alpha/exim-3.22-14.1.alpha.rpm
2303c2d0111c556640ad90b23fd01454 7.1/en/powertools/alpha/exim-doc-3.22-14.1.alpha.rpm
64b48832816f7560d29e09a4e324f0ad 7.1/en/powertools/alpha/exim-mon-3.22-14.1.alpha.rpm
7298cff2ab92fc5d88257d683bc40ee2 7.1/en/powertools/i386/exim-3.22-14.1.i386.rpm
a838d11f43fd9fc68c34a92ba17e276e 7.1/en/powertools/i386/exim-doc-3.22-14.1.i386.rpm
f076bee91ecdc877024a5f2ad2fe5c57 7.1/en/powertools/i386/exim-mon-3.22-14.1.i386.rpm

Vendor URL:  www.exim.org/ (Links to External Site)
Cause:   Input validation error
Underlying OS:  Linux (Red Hat Linux)

Message History:   This archive entry is a follow-up to the message listed below.
Dec 19 2001 Exim Mail Server Pipe Address Validation Error May Let Remote Users Execute Arbitrary Code With Root Privileges in a Certain Configuration



 Source Message Contents

Subject:  [RHSA-2001:176-05] Updated exim packages fix security problem


---------------------------------------------------------------------
                   Red Hat, Inc. Red Hat Security Advisory

Synopsis:          Updated exim packages fix security problem
Advisory ID:       RHSA-2001:176-05
Issue date:        2001-12-19
Updated on:        2002-01-07
Product:           Red Hat Powertools
Keywords:          exim pipe remote
Cross references:  
Obsoletes:         
---------------------------------------------------------------------

1. Topic:

Updated exim packages are available, which fix a problem when handling 
certain types of addresses with some configurations.  The default 
configuration does not exhibit this problem.

2. Relevant releases/architectures:

Red Hat Powertools 6.2 - alpha, i386, sparc

Red Hat Powertools 7.0 - alpha, i386

Red Hat Powertools 7.1 - alpha, i386

3. Problem description:

When the local exim configuration directs or routes an address to a pipe 
transport without verifying that the local part is valid, the command 
encoded in the local part will be executed.

This problem does not apply to pipes run from alias or forward files 
since the local part is verified in that case.  However if, for example, 
all incoming mail is filtered in some way (perhaps with a virus checker) 
without verifying that the local part is valid then your site may be 
affected by this problem.

The Common Vulnerabilities and Exposures project (cve.mitre.org) has
assigned the name CAN-2001-0889 to this issue.

It is recommended that all exim users upgrade to provided packages.

4. Solution:

Before applying this update, make sure all previously released errata
relevant to your system have been applied.

To update all RPMs for your particular architecture, run:

rpm -Fvh [filenames]

where [filenames] is a list of the RPMs you wish to upgrade.  Only those
RPMs which are currently installed will be updated.  Those RPMs which are
not installed but included in the list will not be updated.  Note that you
can also use wildcards (*.rpm) if your current directory *only* contains the
desired RPMs.

Please note that this update is also available via Red Hat Network.  Many
people find this an easier way to apply updates.  To use Red Hat Network,
launch the Red Hat Update Agent with the following command:

up2date

This will start an interactive process that will result in the appropriate
RPMs being upgraded on your system.

5. Bug IDs fixed (http://bugzilla.redhat.com/bugzilla for more info):



6. RPMs required:

Red Hat Powertools 6.2:

SRPMS:
ftp://updates.redhat.com/6.2/en/powertools/SRPMS/exim-3.22-6x.1.src.rpm

alpha:
ftp://updates.redhat.com/6.2/en/powertools/alpha/exim-3.22-6x.1.alpha.rpm
ftp://updates.redhat.com/6.2/en/powertools/alpha/exim-doc-3.22-6x.1.alpha.rpm
ftp://updates.redhat.com/6.2/en/powertools/alpha/exim-mon-3.22-6x.1.alpha.rpm

i386:
ftp://updates.redhat.com/6.2/en/powertools/i386/exim-3.22-6x.1.i386.rpm
ftp://updates.redhat.com/6.2/en/powertools/i386/exim-doc-3.22-6x.1.i386.rpm
ftp://updates.redhat.com/6.2/en/powertools/i386/exim-mon-3.22-6x.1.i386.rpm

sparc:
ftp://updates.redhat.com/6.2/en/powertools/sparc/exim-3.22-6x.1.sparc.rpm
ftp://updates.redhat.com/6.2/en/powertools/sparc/exim-doc-3.22-6x.1.sparc.rpm
ftp://updates.redhat.com/6.2/en/powertools/sparc/exim-mon-3.22-6x.1.sparc.rpm

Red Hat Powertools 7.0:

SRPMS:
ftp://updates.redhat.com/7.0/en/powertools/SRPMS/exim-3.22-13.7x.1.src.rpm

alpha:
ftp://updates.redhat.com/7.0/en/powertools/alpha/exim-3.22-13.7x.1.alpha.rpm
ftp://updates.redhat.com/7.0/en/powertools/alpha/exim-doc-3.22-13.7x.1.alpha.rpm
ftp://updates.redhat.com/7.0/en/powertools/alpha/exim-mon-3.22-13.7x.1.alpha.rpm

i386:
ftp://updates.redhat.com/7.0/en/powertools/i386/exim-3.22-13.7x.1.i386.rpm
ftp://updates.redhat.com/7.0/en/powertools/i386/exim-doc-3.22-13.7x.1.i386.rpm
ftp://updates.redhat.com/7.0/en/powertools/i386/exim-mon-3.22-13.7x.1.i386.rpm

Red Hat Powertools 7.1:

SRPMS:
ftp://updates.redhat.com/7.1/en/powertools/SRPMS/exim-3.22-14.1.src.rpm

alpha:
ftp://updates.redhat.com/7.1/en/powertools/alpha/exim-3.22-14.1.alpha.rpm
ftp://updates.redhat.com/7.1/en/powertools/alpha/exim-doc-3.22-14.1.alpha.rpm
ftp://updates.redhat.com/7.1/en/powertools/alpha/exim-mon-3.22-14.1.alpha.rpm

i386:
ftp://updates.redhat.com/7.1/en/powertools/i386/exim-3.22-14.1.i386.rpm
ftp://updates.redhat.com/7.1/en/powertools/i386/exim-doc-3.22-14.1.i386.rpm
ftp://updates.redhat.com/7.1/en/powertools/i386/exim-mon-3.22-14.1.i386.rpm



7. Verification:

MD5 sum                          Package Name
--------------------------------------------------------------------------
bf556e815324fbda9dae66fce2829062 6.2/en/powertools/SRPMS/exim-3.22-6x.1.src.rpm
fba79374816674aea14a7e04771eac09 6.2/en/powertools/alpha/exim-3.22-6x.1.alpha.rpm
9416c5849b4926fe730e492336a67381 6.2/en/powertools/alpha/exim-doc-3.22-6x.1.alpha.rpm
05a44b64be74033bae871941becd2bf4 6.2/en/powertools/alpha/exim-mon-3.22-6x.1.alpha.rpm
beb994172296da655ef91c9261ed941f 6.2/en/powertools/i386/exim-3.22-6x.1.i386.rpm
1a19f29d50a80e03340ae2463b2eae63 6.2/en/powertools/i386/exim-doc-3.22-6x.1.i386.rpm
219bb72a76a7665d17b6c91ff6faa1f6 6.2/en/powertools/i386/exim-mon-3.22-6x.1.i386.rpm
ab286dea084cc3e75f82f18c3dc7f762 6.2/en/powertools/sparc/exim-3.22-6x.1.sparc.rpm
6123b55dcf2c56067476c2373f4df36d 6.2/en/powertools/sparc/exim-doc-3.22-6x.1.sparc.rpm
99269be1db82543f8a3f3212f670e93d 6.2/en/powertools/sparc/exim-mon-3.22-6x.1.sparc.rpm
99bfa12ca904d072a465ce5583fc3e9d 7.0/en/powertools/SRPMS/exim-3.22-13.7x.1.src.rpm
e2c9415e9f410dee3b08f2b3c56b07f6 7.0/en/powertools/alpha/exim-3.22-13.7x.1.alpha.rpm
88a5f4214e20a5308772cdc67e3c3a3f 7.0/en/powertools/alpha/exim-doc-3.22-13.7x.1.alpha.rpm
cdd3b62f9462bacfa4cc6f9f7b85807e 7.0/en/powertools/alpha/exim-mon-3.22-13.7x.1.alpha.rpm
b24e7bd044caacc8fa6d433ec5581e88 7.0/en/powertools/i386/exim-3.22-13.7x.1.i386.rpm
8793738846bf29a190c9bde89ffba478 7.0/en/powertools/i386/exim-doc-3.22-13.7x.1.i386.rpm
392bd1754579aade35d17457e5151ace 7.0/en/powertools/i386/exim-mon-3.22-13.7x.1.i386.rpm
a86ba48a3ffb43f46108ab8cc8c74d2c 7.1/en/powertools/SRPMS/exim-3.22-14.1.src.rpm
b43055b3838eca79c4e503afcf581884 7.1/en/powertools/alpha/exim-3.22-14.1.alpha.rpm
2303c2d0111c556640ad90b23fd01454 7.1/en/powertools/alpha/exim-doc-3.22-14.1.alpha.rpm
64b48832816f7560d29e09a4e324f0ad 7.1/en/powertools/alpha/exim-mon-3.22-14.1.alpha.rpm
7298cff2ab92fc5d88257d683bc40ee2 7.1/en/powertools/i386/exim-3.22-14.1.i386.rpm
a838d11f43fd9fc68c34a92ba17e276e 7.1/en/powertools/i386/exim-doc-3.22-14.1.i386.rpm
f076bee91ecdc877024a5f2ad2fe5c57 7.1/en/powertools/i386/exim-mon-3.22-14.1.i386.rpm
 

These packages are GPG signed by Red Hat, Inc. for security.  Our key
is available at:
    http://www.redhat.com/about/contact/pgpkey.html

You can verify each package with the following command:
    rpm --checksig  <filename>

If you only wish to verify that each package has not been corrupted or
tampered with, examine only the md5sum with the following command:
    rpm --checksig --nogpg <filename>

8. References:

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2001-0889
http://marc.theaimsgroup.com/?l=exim-announce&m=100877325121223


Copyright(c) 2000, 2001, 2002 Red Hat, Inc.

 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2019, SecurityGlobal.net LLC