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

SecurityTracker
Archives


 


Category:   Application (E-mail Server)  >   Exim Vendors:   Exim.org
(Debian Issues Fix for Exim-tls) Exim Buffer Overflows in 'accept.c' and 'verify.c' Let Remote Users Execute Arbitrary Code
SecurityTracker Alert ID:  1010118
SecurityTracker URL:  http://securitytracker.com/id/1010118
CVE Reference:   CVE-2004-0399, CVE-2004-0400   (Links to External Site)
Date:  May 11 2004
Impact:   Execution of arbitrary code via network, User access via network
Fix Available:  Yes  Vendor Confirmed:  Yes  
Version(s): 3.35, 4.32
Description:   Two buffer overflow vulnerabilities were reported in Exim. A remote user can execute arbitrary code on the target system.

Georgi Guninski reported that there is a flaw in 'accept.c' in exim 3.35 that can be triggered if the 'headers_check_syntax' option is configured in 'exim.conf'. A similar flaw in 'verify.c' in exim 4.32 can reportedly be triggered if the 'require verify = header_syntax' option is set [CVE: CVE-2004-0400]. Both of these flaws may be exploitable, but that was not confirmed, the report said.

It is also reported that version 3.35 contains a buffer overflow in 'verify.c' that can be exploited by a remote user if the 'exim.conf' file is configured with the 'sender_verify = true' option [CVE: CVE-2004-0399].

Some demonstration exploit scripts are provided in the original advisory.

The vendor is reportedly aware of the vulnerabilities.

The original advisory is available at:

http://www.guninski.com/exim1.html

Impact:   A remote user may be able to execute arbitary code on the target system with the privileges of the exim mail service.
Solution:   Debian has released a fix for the stable distribution (woody) in version 3.35-3woody2.

Debian GNU/Linux 3.0 alias woody:

Source archives:

http://security.debian.org/pool/updates/main/e/exim-tls/exim-tls_3.35-3woody2.dsc
Size/MD5 checksum: 677 992f537ab952a5dc72ca5dbc81a84fbc
http://security.debian.org/pool/updates/main/e/exim-tls/exim-tls_3.35-3woody2.diff.gz
Size/MD5 checksum: 80179 3f0742c775c071b21c0b09527dad75ec
http://security.debian.org/pool/updates/main/e/exim-tls/exim-tls_3.35.orig.tar.gz
Size/MD5 checksum: 1271057 42d362e40a21bd7ffc298f92c8bd986a

Alpha architecture:

http://security.debian.org/pool/updates/main/e/exim-tls/exim-tls_3.35-3woody2_alpha.deb
Size/MD5 checksum: 873574 7430b4927e9c2078c59eafe17bae5165

ARM architecture:

http://security.debian.org/pool/updates/main/e/exim-tls/exim-tls_3.35-3woody2_arm.deb
Size/MD5 checksum: 783982 06a82a303c171107d2f1688b482377bd

Intel IA-32 architecture:

http://security.debian.org/pool/updates/main/e/exim-tls/exim-tls_3.35-3woody2_i386.deb
Size/MD5 checksum: 759420 ea3302d15ec0d601c5019d45c8c0b096

Intel IA-64 architecture:

http://security.debian.org/pool/updates/main/e/exim-tls/exim-tls_3.35-3woody2_ia64.deb
Size/MD5 checksum: 973922 e3ac0d7664959623d55b597c8aa56572

HP Precision architecture:

http://security.debian.org/pool/updates/main/e/exim-tls/exim-tls_3.35-3woody2_hppa.deb
Size/MD5 checksum: 814182 1c943be21bc25358690ac086c2a45994

Motorola 680x0 architecture:

http://security.debian.org/pool/updates/main/e/exim-tls/exim-tls_3.35-3woody2_m68k.deb
Size/MD5 checksum: 736562 71dec71d4ec85be81886484d00bd1e3c

Big endian MIPS architecture:

http://security.debian.org/pool/updates/main/e/exim-tls/exim-tls_3.35-3woody2_mips.deb
Size/MD5 checksum: 824300 c9fca04199e8fd78a4b96de92098957a

Little endian MIPS architecture:

http://security.debian.org/pool/updates/main/e/exim-tls/exim-tls_3.35-3woody2_mipsel.deb
Size/MD5 checksum: 824960 6d51d7fbad04d5aa80503ee0ded41c4d

PowerPC architecture:

http://security.debian.org/pool/updates/main/e/exim-tls/exim-tls_3.35-3woody2_powerpc.deb
Size/MD5 checksum: 792588 5a51bcc85377381bfbcb03ebdfe22eb8

IBM S/390 architecture:

http://security.debian.org/pool/updates/main/e/exim-tls/exim-tls_3.35-3woody2_s390.deb
Size/MD5 checksum: 779108 e625ab3a0334821727ec96462e048532

Sun Sparc architecture:

http://security.debian.org/pool/updates/main/e/exim-tls/exim-tls_3.35-3woody2_sparc.deb
Size/MD5 checksum: 782712 f2ec2bbe42fc7ee482d4707443cc83fc

Vendor URL:  www.exim.org/ (Links to External Site)
Cause:   Boundary error
Underlying OS:  Linux (Debian)
Underlying OS Comments:  3.0

Message History:   This archive entry is a follow-up to the message listed below.
May 6 2004 Exim Buffer Overflows in 'accept.c' and 'verify.c' Let Remote Users Execute Arbitrary Code



 Source Message Contents

Subject:  [SECURITY] [DSA 502-1] New exim-tls packages fix buffer overflows


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

- --------------------------------------------------------------------------
Debian Security Advisory DSA 502-1                     security@debian.org
http://www.debian.org/security/                             Martin Schulze
May 11th, 2004                          http://www.debian.org/security/faq
- --------------------------------------------------------------------------

Package        : exim-tls
Vulnerability  : buffer overflow
Problem-Type   : remote
Debian-specific: no
CVE ID         : CAN-2004-0399 CAN-2004-0400

Georgi Guninski discovered two stack-based buffer overflows in exim
and exim-tls.  They can not be exploited with the default
configuration from the Debian system, though.  The Common
Vulnerabilities and Exposures project identifies the following
problems that are fixed with this update:

CAN-2004-0399

    When "sender_verify = true" is configured in exim.conf a buffer
    overflow can happen during verification of the sender.  This
    problem is fixed in exim 4.

CAN-2004-0400

    When headers_check_syntax is configured in exim.conf a buffer
    overflow can happen during the header check.  This problem does
    also exist in exim 4.

For the stable distribution (woody) these problems have been fixed in
version 3.35-3woody2.

The unstable distribution (sid) does not contain exim-tls anymore.
The functionality has been incorporated in the main exim versions
which have these problems fixed in version 3.36-11 for exim 3 and in
version 4.33-1 for exim 4.

We recommend that you upgrade your exim-tls package.


Upgrade Instructions
- --------------------

wget url
        will fetch the file for you
dpkg -i file.deb
        will install the referenced file.

If you are using the apt-get package manager, use the line for
sources.list as given below:

apt-get update
        will update the internal database
apt-get upgrade
        will install corrected packages

You may use an automated update by adding the resources from the
footer to the proper configuration.


Debian GNU/Linux 3.0 alias woody
- --------------------------------

  Source archives:

    http://security.debian.org/pool/updates/main/e/exim-tls/exim-tls_3.35-3woody2.dsc
      Size/MD5 checksum:      677 992f537ab952a5dc72ca5dbc81a84fbc
    http://security.debian.org/pool/updates/main/e/exim-tls/exim-tls_3.35-3woody2.diff.gz
      Size/MD5 checksum:    80179 3f0742c775c071b21c0b09527dad75ec
    http://security.debian.org/pool/updates/main/e/exim-tls/exim-tls_3.35.orig.tar.gz
      Size/MD5 checksum:  1271057 42d362e40a21bd7ffc298f92c8bd986a

  Alpha architecture:

    http://security.debian.org/pool/updates/main/e/exim-tls/exim-tls_3.35-3woody2_alpha.deb
      Size/MD5 checksum:   873574 7430b4927e9c2078c59eafe17bae5165

  ARM architecture:

    http://security.debian.org/pool/updates/main/e/exim-tls/exim-tls_3.35-3woody2_arm.deb
      Size/MD5 checksum:   783982 06a82a303c171107d2f1688b482377bd

  Intel IA-32 architecture:

    http://security.debian.org/pool/updates/main/e/exim-tls/exim-tls_3.35-3woody2_i386.deb
      Size/MD5 checksum:   759420 ea3302d15ec0d601c5019d45c8c0b096

  Intel IA-64 architecture:

    http://security.debian.org/pool/updates/main/e/exim-tls/exim-tls_3.35-3woody2_ia64.deb
      Size/MD5 checksum:   973922 e3ac0d7664959623d55b597c8aa56572

  HP Precision architecture:

    http://security.debian.org/pool/updates/main/e/exim-tls/exim-tls_3.35-3woody2_hppa.deb
      Size/MD5 checksum:   814182 1c943be21bc25358690ac086c2a45994

  Motorola 680x0 architecture:

    http://security.debian.org/pool/updates/main/e/exim-tls/exim-tls_3.35-3woody2_m68k.deb
      Size/MD5 checksum:   736562 71dec71d4ec85be81886484d00bd1e3c

  Big endian MIPS architecture:

    http://security.debian.org/pool/updates/main/e/exim-tls/exim-tls_3.35-3woody2_mips.deb
      Size/MD5 checksum:   824300 c9fca04199e8fd78a4b96de92098957a

  Little endian MIPS architecture:

    http://security.debian.org/pool/updates/main/e/exim-tls/exim-tls_3.35-3woody2_mipsel.deb
      Size/MD5 checksum:   824960 6d51d7fbad04d5aa80503ee0ded41c4d

  PowerPC architecture:

    http://security.debian.org/pool/updates/main/e/exim-tls/exim-tls_3.35-3woody2_powerpc.deb
      Size/MD5 checksum:   792588 5a51bcc85377381bfbcb03ebdfe22eb8

  IBM S/390 architecture:

    http://security.debian.org/pool/updates/main/e/exim-tls/exim-tls_3.35-3woody2_s390.deb
      Size/MD5 checksum:   779108 e625ab3a0334821727ec96462e048532

  Sun Sparc architecture:

    http://security.debian.org/pool/updates/main/e/exim-tls/exim-tls_3.35-3woody2_sparc.deb
      Size/MD5 checksum:   782712 f2ec2bbe42fc7ee482d4707443cc83fc


  These files will probably be moved into the stable distribution on
  its next update.

- ---------------------------------------------------------------------------------
For apt-get: deb http://security.debian.org/ stable/updates main
For dpkg-ftp: ftp://security.debian.org/debian-security dists/stable/updates/main
Mailing list: debian-security-announce@lists.debian.org
Package info: `apt-cache show <pkg>' and http://packages.debian.org/<pkg>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAoN3VW5ql+IAeqTIRAnKkAJ96v4jsOdRiek/sOApwBimoxmF3ZACdFOIu
WfLhAxZnmDgQc0Aoy9IZoAg=
=lLTv
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to debian-security-announce-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

 
 


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