EnGarde: fetchmail heap overflow
Posted by LinuxSecurity.com Team   
EnGarde Stefan Esser of e-matters, while re-auditing the Fetchmail package found another vulnerability. This heap overflow vulnerability allows a malicious remote attacker to crash Fetchmail or potentially execute arbitrary code as the user under which Fetchmail is being run.

+------------------------------------------------------------------------+
| EnGarde Secure Linux Security Advisory                January 27, 2003 |
|  http://www.engardelinux.org/                         ESA-20030127-002 |
|                                                                        |
| Package: fetchmail-ssl                                                 |
| Summary: heap overflow vulnerability.                                  |
+------------------------------------------------------------------------+

  EnGarde Secure Linux is a secure distribution of Linux that features
  improved access control, host and network intrusion detection, Web
  based secure remote management, e-commerce, and integrated open source
  security tools.

OVERVIEW
--------
  Stefan Esser of e-matters, while re-auditing the Fetchmail package,
  found another vulnerability.  This heap overflow vulnerability allows
  a malicious remote attacker to crash Fetchmail or potentially execute
  arbitrary code as the user under which Fetchmail is being run.

  Please refer to the e-matters advisory for more information on this
  vulnerability:

     http://security.e-matters.de/advisories/052002.html

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

  All users are recommended to upgrade as soon as possible.

SOLUTION
--------
  Users of the EnGarde Professional edition can use the Guardian Digital
  Secure Network to update their systems automatically.

  EnGarde Community users should upgrade to the most recent version
  as outlined in this advisory.  Updates may be obtained from:

     ftp://ftp.engardelinux.org/pub/engarde/stable/updates/
     http://ftp.engardelinux.org/pub/engarde/stable/updates/

  Before upgrading the package, the machine must either:

    a) be booted into a "standard" kernel; or
    b) have LIDS disabled.

  To disable LIDS, execute the command:

    # /sbin/lidsadm -S -- -LIDS_GLOBAL

  To install the updated package, execute the command:

    # rpm -Uvh files

  You must now update the LIDS configuration by executing the command:

    # /usr/sbin/config_lids.pl

  To re-enable LIDS (if it was disabled), execute the command:

    # /sbin/lidsadm -S -- +LIDS_GLOBAL

  To verify the signatures of the updated packages, execute the command:

    # rpm -Kv files

UPDATED PACKAGES
----------------
  These updated packages are for EnGarde Secure Linux Community
  Edition.

  Source Packages:

    SRPMS/fetchmail-ssl-6.1.0-1.0.6.src.rpm
      MD5 Sum: ae0150c61c667cd836cca1c64f76d807


  Binary Packages:

    i386/fetchmail-ssl-6.1.0-1.0.6.i386.rpm
      MD5 Sum: a28aa248c0b262ec8745a7c776b8584b

    i686/fetchmail-ssl-6.1.0-1.0.6.i686.rpm
      MD5 Sum: 7dd04068ec8a400c72d711e4c2c2faee

REFERENCES
----------
  Guardian Digital's public key:
     http://ftp.engardelinux.org/pub/engarde/ENGARDE-GPG-KEY

  Fetchmail's Official Web Site:
     http://www.tuxedo.org/~esr/fetchmail/

  Security Contact:    security@guardiandigital.com
  EnGarde Advisories:  http://www.engardelinux.org/advisories.html

--------------------------------------------------------------------------
$Id: ESA-20030127-002-fetchmail-ssl,v 1.2 2003/01/27 16:39:35 rwm Exp $
--------------------------------------------------------------------------
Author: Ryan W. Maple <ryan@guardiandigital.com>
Copyright 2003, Guardian Digital, Inc.