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

SecurityTracker
Archives


 


Category:   Application (Generic)  >   file Vendors:   Darwin, Ian F.
(Gentoo Issues Fix) 'File' Stack Overflow in Processing ELF Headers May Permit Arbitrary Code Execution
SecurityTracker Alert ID:  1012494
SecurityTracker URL:  http://securitytracker.com/id/1012494
CVE Reference:   GENERIC-MAP-NOMATCH   (Links to External Site)
Date:  Dec 14 2004
Impact:   Execution of arbitrary code via local system, Execution of arbitrary code via network
Fix Available:  Yes  Vendor Confirmed:  Yes  
Version(s): prior to 4.12
Description:   A vulnerability was reported in 'file'. A user may be able to execute arbitrary code on the target system.

Trustix reported a vulnerability in the ELF header parsing code in 'file'. A user may be able to create a specially crafted ELF file that, when processed using 'file', may be able to modify the stack and potentially execute arbitrary code.

Impact:   A user may be able to execute arbitrary code on the target system.
Solution:   Gentoo has released a fix and indicates that all file users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=sys-apps/file-4.12"

Cause:   Not specified
Underlying OS:  Linux (Gentoo)

Message History:   This archive entry is a follow-up to the message listed below.
Dec 6 2004 'File' Stack Overflow in Processing ELF Headers May Permit Arbitrary Code Execution



 Source Message Contents

Subject:  [gentoo-announce] [ GLSA 200412-07 ] file: Arbitrary code execution



--Y5rl02BVI9TCfPar
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200412-07
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: Normal
     Title: file: Arbitrary code execution
      Date: December 13, 2004
      Bugs: #72521
        ID: 200412-07

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

The code for parsing ELF headers in file contains a flaw which may
allow an attacker to execute arbitrary code.

Background
==========

file is a utility used to identify the type of a file.

Affected packages
=================

    -------------------------------------------------------------------
     Package        /  Vulnerable  /                        Unaffected
    -------------------------------------------------------------------
  1  sys-apps/file       < 4.12                                >= 4.12

Description
===========

A possible stack overflow has been found in the ELF header parsing code
of file.

Impact
======

An attacker may be able to create a specially crafted ELF file which,
when processed with file, may allow the execution of arbitrary code.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All file users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=sys-apps/file-4.12"

References
==========

  [ 1 ] SecurityTracker Alert ID 1012433
        http://securitytracker.com/id?1012433

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

  http://security.gentoo.org/glsa/glsa-200412-07.xml

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

Copyright 2004 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/2.0


--Y5rl02BVI9TCfPar
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFBvhrJGc/RGrFqUYMRAllRAJ0TAt+XUW/3mpmjVdmTRW6NUfwDrwCffX8W
sYEMRp4ie6FkieoEMP1OMCs=
=WL6l
-----END PGP SIGNATURE-----

--Y5rl02BVI9TCfPar--

 
 


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