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

SecurityTracker
Archives


 


Category:   Application (Generic)  >   Midnight Commander Vendors:   Gnome Development Team
(Red Hat Issues Fix for RH Enterprise Linux) Midnight Commander Uninitialized Buffer May Let Remote Users Execute Arbitrary Code
SecurityTracker Alert ID:  1008917
SecurityTracker URL:  http://securitytracker.com/id/1008917
CVE Reference:   CVE-2003-1023   (Links to External Site)
Date:  Feb 3 2004
Impact:   Execution of arbitrary code via network, User access via network
Fix Available:  Yes  Vendor Confirmed:  Yes  
Version(s): Confirmed on 4.5.52 - 4.6.0
Description:   A vulnerability was reported in Midnight Commander. A malicious compressed archive can cause the application to execute arbitrary code.

It is reported that 'vfs/direntry.c' uses an uninitialized buffer for processing symbolic links (symlinks) in compressed archives. The flaw reportedly resides in the vfs_s_resolve_symlink() function. A remote user can create a malicious file so that when a target user processes the file using Midnight Commander, arbitrary code contained in the file will be executed with the privileges of the target user.

A demonstration exploit is provided at:

http://buggzy.narod.ru/exp.tgz

Impact:   A remote user can create an archive that, when processed by a target user, will cause arbitrary code to be executed with the privileges of the target user.
Solution:   Red Hat has released a fix.

Red Hat Enterprise Linux AS (Advanced Server) version 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1AS/en/os/SRPMS/mc-4.5.51-36.1.src.rpm

i386:
Available from Red Hat Network: gmc-4.5.51-36.1.i386.rpm
Available from Red Hat Network: mc-4.5.51-36.1.i386.rpm
Available from Red Hat Network: mcserv-4.5.51-36.1.i386.rpm

ia64:
Available from Red Hat Network: gmc-4.5.51-36.1.ia64.rpm
Available from Red Hat Network: mc-4.5.51-36.1.ia64.rpm
Available from Red Hat Network: mcserv-4.5.51-36.1.ia64.rpm

Red Hat Linux Advanced Workstation 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1AW/en/os/SRPMS/mc-4.5.51-36.1.src.rpm

ia64:
Available from Red Hat Network: gmc-4.5.51-36.1.ia64.rpm
Available from Red Hat Network: mc-4.5.51-36.1.ia64.rpm
Available from Red Hat Network: mcserv-4.5.51-36.1.ia64.rpm

Red Hat Enterprise Linux WS version 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1WS/en/os/SRPMS/mc-4.5.51-36.1.src.rpm

i386:
Available from Red Hat Network: gmc-4.5.51-36.1.i386.rpm
Available from Red Hat Network: mc-4.5.51-36.1.i386.rpm
Available from Red Hat Network: mcserv-4.5.51-36.1.i386.rpm

The verification checksums are:

MD5 sum Package Name
88a12c94a1bde5d99dd77f7ca9650f65 2.1AS/en/os/SRPMS/mc-4.5.51-36.1.src.rpm
52d6955848afb48388faf13ae366220f 2.1AS/en/os/i386/gmc-4.5.51-36.1.i386.rpm
725706e3fe5afe0e42f6f5d3838e0993 2.1AS/en/os/i386/mc-4.5.51-36.1.i386.rpm
4b1555e529ff5f58d74357ecfb313b28 2.1AS/en/os/i386/mcserv-4.5.51-36.1.i386.rpm
4899c0acad932680d365c9e0e41007e1 2.1AS/en/os/ia64/gmc-4.5.51-36.1.ia64.rpm
23690284ac11ff9687499d98c0f4f512 2.1AS/en/os/ia64/mc-4.5.51-36.1.ia64.rpm
580b72c7aabd6fe2be28db01c9dbf673 2.1AS/en/os/ia64/mcserv-4.5.51-36.1.ia64.rpm
88a12c94a1bde5d99dd77f7ca9650f65 2.1AW/en/os/SRPMS/mc-4.5.51-36.1.src.rpm
4899c0acad932680d365c9e0e41007e1 2.1AW/en/os/ia64/gmc-4.5.51-36.1.ia64.rpm
23690284ac11ff9687499d98c0f4f512 2.1AW/en/os/ia64/mc-4.5.51-36.1.ia64.rpm
580b72c7aabd6fe2be28db01c9dbf673 2.1AW/en/os/ia64/mcserv-4.5.51-36.1.ia64.rpm
88a12c94a1bde5d99dd77f7ca9650f65 2.1WS/en/os/SRPMS/mc-4.5.51-36.1.src.rpm
52d6955848afb48388faf13ae366220f 2.1WS/en/os/i386/gmc-4.5.51-36.1.i386.rpm
725706e3fe5afe0e42f6f5d3838e0993 2.1WS/en/os/i386/mc-4.5.51-36.1.i386.rpm
4b1555e529ff5f58d74357ecfb313b28 2.1WS/en/os/i386/mcserv-4.5.51-36.1.i386.rpm

Vendor URL:  gnome.org/ (Links to External Site)
Cause:   State error
Underlying OS:  Linux (Red Hat Enterprise)
Underlying OS Comments:  2.1

Message History:   This archive entry is a follow-up to the message listed below.
Sep 19 2003 Midnight Commander Uninitialized Buffer May Let Remote Users Execute Arbitrary Code



 Source Message Contents

Subject:  [RHSA-2004:035-01] Updated mc packages resolve buffer overflow vulnerability


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

- ---------------------------------------------------------------------
                   Red Hat Security Advisory

Synopsis:          Updated mc packages resolve buffer overflow vulnerability
Advisory ID:       RHSA-2004:035-01
Issue date:        2004-01-19
Updated on:        0000-04-01
Product:           Red Hat Enterprise Linux
Keywords:          mc buffer overflow vfs
Cross references:  
Obsoletes:         
CVE Names:         CAN-2003-1023
- ---------------------------------------------------------------------

1. Topic:

Updated mc packages that resolve a buffer overflow vulnerability are now
available.

2. Relevant releases/architectures:

Red Hat Enterprise Linux AS (Advanced Server) version 2.1 - i386, ia64
Red Hat Linux Advanced Workstation 2.1 - ia64
Red Hat Enterprise Linux WS version 2.1 - i386

3. Problem description:

Midnight Commander is a visual shell much like a file manager.

A buffer overflow has been found in Midnight Commander's virtual filesystem
code. Specifically, a stack-based buffer overflow in vfs_s_resolve_symlink
of vfs/direntry.c allows remote attackers to execute arbitrary code during
symlink conversion.

Users of Midnight Commander should install these updated packages, which
resolve this issue.

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.

If up2date fails to connect to Red Hat Network due to SSL Certificate 
Errors, you need to install a version of the up2date client with an updated 
certificate.  The latest version of up2date is available from the Red Hat 
FTP site and may also be downloaded directly from the RHN website:

https://rhn.redhat.com/help/latest-up2date.pxt

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

113850 - CAN-2003-1023 mc stack overflow

6. RPMs required:

Red Hat Enterprise Linux AS (Advanced Server) version 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1AS/en/os/SRPMS/mc-4.5.51-36.1.src.rpm

i386:
Available from Red Hat Network: gmc-4.5.51-36.1.i386.rpm
Available from Red Hat Network: mc-4.5.51-36.1.i386.rpm
Available from Red Hat Network: mcserv-4.5.51-36.1.i386.rpm

ia64:
Available from Red Hat Network: gmc-4.5.51-36.1.ia64.rpm
Available from Red Hat Network: mc-4.5.51-36.1.ia64.rpm
Available from Red Hat Network: mcserv-4.5.51-36.1.ia64.rpm

Red Hat Linux Advanced Workstation 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1AW/en/os/SRPMS/mc-4.5.51-36.1.src.rpm

ia64:
Available from Red Hat Network: gmc-4.5.51-36.1.ia64.rpm
Available from Red Hat Network: mc-4.5.51-36.1.ia64.rpm
Available from Red Hat Network: mcserv-4.5.51-36.1.ia64.rpm

Red Hat Enterprise Linux WS version 2.1:

SRPMS:
ftp://updates.redhat.com/enterprise/2.1WS/en/os/SRPMS/mc-4.5.51-36.1.src.rpm

i386:
Available from Red Hat Network: gmc-4.5.51-36.1.i386.rpm
Available from Red Hat Network: mc-4.5.51-36.1.i386.rpm
Available from Red Hat Network: mcserv-4.5.51-36.1.i386.rpm



7. Verification:

MD5 sum                          Package Name
- --------------------------------------------------------------------------

88a12c94a1bde5d99dd77f7ca9650f65 2.1AS/en/os/SRPMS/mc-4.5.51-36.1.src.rpm
52d6955848afb48388faf13ae366220f 2.1AS/en/os/i386/gmc-4.5.51-36.1.i386.rpm
725706e3fe5afe0e42f6f5d3838e0993 2.1AS/en/os/i386/mc-4.5.51-36.1.i386.rpm
4b1555e529ff5f58d74357ecfb313b28 2.1AS/en/os/i386/mcserv-4.5.51-36.1.i386.rpm
4899c0acad932680d365c9e0e41007e1 2.1AS/en/os/ia64/gmc-4.5.51-36.1.ia64.rpm
23690284ac11ff9687499d98c0f4f512 2.1AS/en/os/ia64/mc-4.5.51-36.1.ia64.rpm
580b72c7aabd6fe2be28db01c9dbf673 2.1AS/en/os/ia64/mcserv-4.5.51-36.1.ia64.rpm
88a12c94a1bde5d99dd77f7ca9650f65 2.1AW/en/os/SRPMS/mc-4.5.51-36.1.src.rpm
4899c0acad932680d365c9e0e41007e1 2.1AW/en/os/ia64/gmc-4.5.51-36.1.ia64.rpm
23690284ac11ff9687499d98c0f4f512 2.1AW/en/os/ia64/mc-4.5.51-36.1.ia64.rpm
580b72c7aabd6fe2be28db01c9dbf673 2.1AW/en/os/ia64/mcserv-4.5.51-36.1.ia64.rpm
88a12c94a1bde5d99dd77f7ca9650f65 2.1WS/en/os/SRPMS/mc-4.5.51-36.1.src.rpm
52d6955848afb48388faf13ae366220f 2.1WS/en/os/i386/gmc-4.5.51-36.1.i386.rpm
725706e3fe5afe0e42f6f5d3838e0993 2.1WS/en/os/i386/mc-4.5.51-36.1.i386.rpm
4b1555e529ff5f58d74357ecfb313b28 2.1WS/en/os/i386/mcserv-4.5.51-36.1.i386.rpm

These packages are GPG signed by Red Hat for security.  Our key is
available from https://www.redhat.com/security/keys.html

You can verify each package with the following command:
    
    rpm --checksig -v <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:
    
    md5sum <filename>


8. References:

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-1023

9. Contact:

The Red Hat security contact is <secalert@redhat.com>.  More contact
details at https://www.redhat.com/solutions/security/news/contact.html

Copyright 2003 Red Hat, Inc.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD4DBQFAH1wAXlSAg2UNWIIRAmxpAKCXFt+g7Bawu41UUJKoduiqRIsVbgCUDieM
amUAkQFC973KRdocoOn82A==
=pHC8
-----END PGP SIGNATURE-----

-- 
Enterprise-watch-list mailing list
Enterprise-watch-list@redhat.com
https://www.redhat.com/mailman/listinfo/enterprise-watch-list

 
 


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 2021, SecurityGlobal.net LLC