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

SecurityTracker
Archives


 


Category:   Application (Generic)  >   file Vendors:   Darwin, Ian F.
(EnGarde Issues Fix) 'file' Utility Buffer Overflow May Let Local Users Gain Elevated Privileges in Certain Cases
SecurityTracker Alert ID:  1006250
SecurityTracker URL:  http://securitytracker.com/id/1006250
CVE Reference:   CVE-2003-0102   (Links to External Site)
Date:  Mar 7 2003
Impact:   Execution of arbitrary code via local system, User access via local system
Fix Available:  Yes  Vendor Confirmed:  Yes  
Version(s): 3.39 and prior versions
Description:   A buffer overflow vulnerability was reported in file(1). A local user may be able to get a local user to execute arbitrary code.

iDEFENSE reported that the flaw resides in a doshn() function call in the 'readelf.c' file. If a local user can get another target local user to invoke the file(1) command to examine a specially crafted malicious file, arbitrary code may be executed with the privileges of the target user.

A demonstration exploit transcript is provided in the Source Message.

Impact:   A local user may be able to cause arbitrary code to be executed by a target user with the privileges of the target user.
Solution:   EnGarde has released a fix.

For EnGarde Secure Linux Community Edition:

Source Packages:

SRPMS/file-3.41-1.0.2.src.rpm
MD5 Sum: eda42700a8f5b7d2e43c1c5438d50fe9

Binary Packages:

i386/file-3.41-1.0.2.i386.rpm
MD5 Sum: 7287c5dceef0dbb64e1aaa03036024ea

i686/file-3.41-1.0.2.i686.rpm
MD5 Sum: 2b61a9cfbfe5934d7f56fdf23350c3b5

EnGarde Community updates are available at:

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

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

See the Source Message for the vendor's advisory containing directions on how to apply the appropriate fix.

Cause:   Boundary error
Underlying OS:  Linux (EnGarde)

Message History:   This archive entry is a follow-up to the message listed below.
Mar 4 2003 'file' Utility Buffer Overflow May Let Local Users Gain Elevated Privileges in Certain Cases



 Source Message Contents

Subject:  [ESA-20030307-008] 'file' ELF parsing routine buffer overflow



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


+------------------------------------------------------------------------+
| EnGarde Secure Linux Security Advisory                   March 7, 2003 |
| http://www.engardelinux.org/                          ESA-20030307-008 |
|                                                                        |
| Package: file                                                          |
| Summary: ELF parsing routine buffer 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
- --------
  There is a buffer overflow vulnerability in the 'file' command's ELF
  parsing routines which can allow an attacker to exploit a victim by
  tricking them into running 'file' on a specially crafted binary.

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

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/file-3.41-1.0.2.src.rpm
      MD5 Sum: eda42700a8f5b7d2e43c1c5438d50fe9

  Binary Packages:

    i386/file-3.41-1.0.2.i386.rpm
      MD5 Sum: 7287c5dceef0dbb64e1aaa03036024ea

    i686/file-3.41-1.0.2.i686.rpm
      MD5 Sum: 2b61a9cfbfe5934d7f56fdf23350c3b5

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

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

- --------------------------------------------------------------------------
$Id: ESA-20030307-008-file,v 1.1 2003/03/07 18:48:11 rwm Exp $
- --------------------------------------------------------------------------
Author: Ryan W. Maple <ryan@guardiandigital.com>
Copyright 2003, Guardian Digital, Inc.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE+aOwbHD5cqd57fu0RAtaFAJ4yyygnjFWzIXyFLKyQsEbg9GEZ3QCgoL6a
HHSA1wuurtpbvOXKC3COADk=
=C7h2
-----END PGP SIGNATURE-----
------------------------------------------------------------------------
     To unsubscribe email engarde-security-request@engardelinux.org
         with "unsubscribe" in the subject of the message.

Copyright(c) 2002 Guardian Digital, Inc.                EnGardeLinux.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