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

SecurityTracker
Archives


 


Category:   Application (Generic)  >   Midnight Commander Vendors:   Gnome Development Team
(Debian Issues Fix) Midnight Commander Uninitialized Buffer May Let Remote Users Execute Arbitrary Code
SecurityTracker Alert ID:  1008753
SecurityTracker URL:  http://securitytracker.com/id/1008753
CVE Reference:   CVE-2003-1023   (Links to External Site)
Date:  Jan 17 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:   Debian has released a fix for the current stable distribution (woody) in version 4.5.55-1.2woody2 and for the unstable distribution (sid) in version 1:4.6.0-4.6.1-pre1-1.

Debian GNU/Linux 3.0 alias woody:

Source archives:

http://security.debian.org/pool/updates/main/m/mc/mc_4.5.55-1.2woody2.dsc
Size/MD5 checksum: 797 0d6f8c733c81707b6da81e27f877b271
http://security.debian.org/pool/updates/main/m/mc/mc_4.5.55-1.2woody2.diff.gz
Size/MD5 checksum: 33293 ce42d50c572b58ac0abd28e0dd9cc076
http://security.debian.org/pool/updates/main/m/mc/mc_4.5.55.orig.tar.gz
Size/MD5 checksum: 4850321 82772e729bb2ecfe486a6c219ebab09f

Alpha architecture:

http://security.debian.org/pool/updates/main/m/mc/gmc_4.5.55-1.2woody2_alpha.deb
Size/MD5 checksum: 1182848 57163da15f3055e26800903e6418d8a7
http://security.debian.org/pool/updates/main/m/mc/mc_4.5.55-1.2woody2_alpha.deb
Size/MD5 checksum: 560976 98e635c74d4fc62e36ed70a443496081
http://security.debian.org/pool/updates/main/m/mc/mc-common_4.5.55-1.2woody2_alpha.deb
Size/MD5 checksum: 1350990 2695fce52f1289067b590405c321715c

ARM architecture:

http://security.debian.org/pool/updates/main/m/mc/gmc_4.5.55-1.2woody2_arm.deb
Size/MD5 checksum: 1024972 a76436b6216f272e65a44cab92107924
http://security.debian.org/pool/updates/main/m/mc/mc_4.5.55-1.2woody2_arm.deb
Size/MD5 checksum: 478210 beedf3b65a86a09f86b954a6a2aff08a
http://security.debian.org/pool/updates/main/m/mc/mc-common_4.5.55-1.2woody2_arm.deb
Size/MD5 checksum: 1351086 0b7b4ff418f8c15d185b1881ee2e74f0

Intel IA-32 architecture:

http://security.debian.org/pool/updates/main/m/mc/gmc_4.5.55-1.2woody2_i386.deb
Size/MD5 checksum: 992058 10fe505f8cd59699485bb156a2139913
http://security.debian.org/pool/updates/main/m/mc/mc_4.5.55-1.2woody2_i386.deb
Size/MD5 checksum: 453560 8c45b201009d084f2aeb850190446ad8
http://security.debian.org/pool/updates/main/m/mc/mc-common_4.5.55-1.2woody2_i386.deb
Size/MD5 checksum: 1351046 637e5c75a130c7813e4b3d71be82acfe

Intel IA-64 architecture:

http://security.debian.org/pool/updates/main/m/mc/gmc_4.5.55-1.2woody2_ia64.deb
Size/MD5 checksum: 1431172 fcc33e82760761298baab4a89b273de5
http://security.debian.org/pool/updates/main/m/mc/mc_4.5.55-1.2woody2_ia64.deb
Size/MD5 checksum: 686630 3015bc29165e1caf53bf7f21c2b1d518
http://security.debian.org/pool/updates/main/m/mc/mc-common_4.5.55-1.2woody2_ia64.deb
Size/MD5 checksum: 1350982 1a68362464c0a7f1b55f68b8db7c0974

HP Precision architecture:

http://security.debian.org/pool/updates/main/m/mc/gmc_4.5.55-1.2woody2_hppa.deb
Size/MD5 checksum: 1142252 d3d9e252387aad10007e1ac4d0393d49
http://security.debian.org/pool/updates/main/m/mc/mc_4.5.55-1.2woody2_hppa.deb
Size/MD5 checksum: 539770 1b4e84762374c4710d0a73f14e217f99
http://security.debian.org/pool/updates/main/m/mc/mc-common_4.5.55-1.2woody2_hppa.deb
Size/MD5 checksum: 1351372 e010eb84f208b214f22052fac962349a

Motorola 680x0 architecture:

http://security.debian.org/pool/updates/main/m/mc/gmc_4.5.55-1.2woody2_m68k.deb
Size/MD5 checksum: 955782 b312e654b1ba0749f91ad0c3b723ae50
http://security.debian.org/pool/updates/main/m/mc/mc_4.5.55-1.2woody2_m68k.deb
Size/MD5 checksum: 435060 b5098beeda86041faef3c6583f1ca6df
http://security.debian.org/pool/updates/main/m/mc/mc-common_4.5.55-1.2woody2_m68k.deb
Size/MD5 checksum: 1351548 1956ac76843514bb1abba1898858f111

Big endian MIPS architecture:

http://security.debian.org/pool/updates/main/m/mc/gmc_4.5.55-1.2woody2_mips.deb
Size/MD5 checksum: 1084440 3d701c5d31b012367da43bbdaabf9ed5
http://security.debian.org/pool/updates/main/m/mc/mc_4.5.55-1.2woody2_mips.deb
Size/MD5 checksum: 535016 c947de9db4504246e9b1421767f836cc
http://security.debian.org/pool/updates/main/m/mc/mc-common_4.5.55-1.2woody2_mips.deb
Size/MD5 checksum: 1351494 cf4575860b110ac5569768eed69ed719

PowerPC architecture:

http://security.debian.org/pool/updates/main/m/mc/gmc_4.5.55-1.2woody2_powerpc.deb
Size/MD5 checksum: 1040834 5d956b0ce80752e94933d1cb4c177776
http://security.debian.org/pool/updates/main/m/mc/mc_4.5.55-1.2woody2_powerpc.deb
Size/MD5 checksum: 487920 5d880a8a277c1b09c155d8d071eb9323
http://security.debian.org/pool/updates/main/m/mc/mc-common_4.5.55-1.2woody2_powerpc.deb
Size/MD5 checksum: 1351364 1c064a34bc35ec729115415e90271c9e

IBM S/390 architecture:

http://security.debian.org/pool/updates/main/m/mc/gmc_4.5.55-1.2woody2_s390.deb
Size/MD5 checksum: 1027180 95e3a56c659d307e83945269ca9450b9
http://security.debian.org/pool/updates/main/m/mc/mc_4.5.55-1.2woody2_s390.deb
Size/MD5 checksum: 477210 d69d94302880a813ac01174800d0cc0b
http://security.debian.org/pool/updates/main/m/mc/mc-common_4.5.55-1.2woody2_s390.deb
Size/MD5 checksum: 1351330 b7aef4036f698cbebd5ab98a57e639d8

Sun Sparc architecture:

http://security.debian.org/pool/updates/main/m/mc/gmc_4.5.55-1.2woody2_sparc.deb
Size/MD5 checksum: 1026474 75a6e4b36b432db5b49f6fc4784d8a79
http://security.debian.org/pool/updates/main/m/mc/mc_4.5.55-1.2woody2_sparc.deb
Size/MD5 checksum: 481556 df562844379347c39d555ffba05fd185
http://security.debian.org/pool/updates/main/m/mc/mc-common_4.5.55-1.2woody2_sparc.deb
Size/MD5 checksum: 1351324 8b95d4afa916dda9f17c595e6422363f

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

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:  [SECURITY] [DSA 424-1] New mc packages fix buffer overflow


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

- --------------------------------------------------------------------------
Debian Security Advisory DSA 424-1                     security@debian.org
http://www.debian.org/security/                             Matt Zimmerman
January 16th, 2004                      http://www.debian.org/security/faq
- --------------------------------------------------------------------------

Package        : mc
Vulnerability  : buffer overflow
Problem-Type   : remote
Debian-specific: no
CVE Ids        : CAN-2003-1023

A vulnerability was discovered in Midnight Commander, a file manager,
whereby a malicious archive (such as a .tar file) could cause
arbitrary code to be executed if opened by Midnight Commander.

For the current stable distribution (woody) this problem has been
fixed in version 4.5.55-1.2woody2.

For the unstable distribution (sid) this problem has been fixed in
version 1:4.6.0-4.6.1-pre1-1.

We recommend that you update your mc 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/m/mc/mc_4.5.55-1.2woody2.dsc
      Size/MD5 checksum:      797 0d6f8c733c81707b6da81e27f877b271
    http://security.debian.org/pool/updates/main/m/mc/mc_4.5.55-1.2woody2.diff.gz
      Size/MD5 checksum:    33293 ce42d50c572b58ac0abd28e0dd9cc076
    http://security.debian.org/pool/updates/main/m/mc/mc_4.5.55.orig.tar.gz
      Size/MD5 checksum:  4850321 82772e729bb2ecfe486a6c219ebab09f

  Alpha architecture:

    http://security.debian.org/pool/updates/main/m/mc/gmc_4.5.55-1.2woody2_alpha.deb
      Size/MD5 checksum:  1182848 57163da15f3055e26800903e6418d8a7
    http://security.debian.org/pool/updates/main/m/mc/mc_4.5.55-1.2woody2_alpha.deb
      Size/MD5 checksum:   560976 98e635c74d4fc62e36ed70a443496081
    http://security.debian.org/pool/updates/main/m/mc/mc-common_4.5.55-1.2woody2_alpha.deb
      Size/MD5 checksum:  1350990 2695fce52f1289067b590405c321715c

  ARM architecture:

    http://security.debian.org/pool/updates/main/m/mc/gmc_4.5.55-1.2woody2_arm.deb
      Size/MD5 checksum:  1024972 a76436b6216f272e65a44cab92107924
    http://security.debian.org/pool/updates/main/m/mc/mc_4.5.55-1.2woody2_arm.deb
      Size/MD5 checksum:   478210 beedf3b65a86a09f86b954a6a2aff08a
    http://security.debian.org/pool/updates/main/m/mc/mc-common_4.5.55-1.2woody2_arm.deb
      Size/MD5 checksum:  1351086 0b7b4ff418f8c15d185b1881ee2e74f0

  Intel IA-32 architecture:

    http://security.debian.org/pool/updates/main/m/mc/gmc_4.5.55-1.2woody2_i386.deb
      Size/MD5 checksum:   992058 10fe505f8cd59699485bb156a2139913
    http://security.debian.org/pool/updates/main/m/mc/mc_4.5.55-1.2woody2_i386.deb
      Size/MD5 checksum:   453560 8c45b201009d084f2aeb850190446ad8
    http://security.debian.org/pool/updates/main/m/mc/mc-common_4.5.55-1.2woody2_i386.deb
      Size/MD5 checksum:  1351046 637e5c75a130c7813e4b3d71be82acfe

  Intel IA-64 architecture:

    http://security.debian.org/pool/updates/main/m/mc/gmc_4.5.55-1.2woody2_ia64.deb
      Size/MD5 checksum:  1431172 fcc33e82760761298baab4a89b273de5
    http://security.debian.org/pool/updates/main/m/mc/mc_4.5.55-1.2woody2_ia64.deb
      Size/MD5 checksum:   686630 3015bc29165e1caf53bf7f21c2b1d518
    http://security.debian.org/pool/updates/main/m/mc/mc-common_4.5.55-1.2woody2_ia64.deb
      Size/MD5 checksum:  1350982 1a68362464c0a7f1b55f68b8db7c0974

  HP Precision architecture:

    http://security.debian.org/pool/updates/main/m/mc/gmc_4.5.55-1.2woody2_hppa.deb
      Size/MD5 checksum:  1142252 d3d9e252387aad10007e1ac4d0393d49
    http://security.debian.org/pool/updates/main/m/mc/mc_4.5.55-1.2woody2_hppa.deb
      Size/MD5 checksum:   539770 1b4e84762374c4710d0a73f14e217f99
    http://security.debian.org/pool/updates/main/m/mc/mc-common_4.5.55-1.2woody2_hppa.deb
      Size/MD5 checksum:  1351372 e010eb84f208b214f22052fac962349a

  Motorola 680x0 architecture:

    http://security.debian.org/pool/updates/main/m/mc/gmc_4.5.55-1.2woody2_m68k.deb
      Size/MD5 checksum:   955782 b312e654b1ba0749f91ad0c3b723ae50
    http://security.debian.org/pool/updates/main/m/mc/mc_4.5.55-1.2woody2_m68k.deb
      Size/MD5 checksum:   435060 b5098beeda86041faef3c6583f1ca6df
    http://security.debian.org/pool/updates/main/m/mc/mc-common_4.5.55-1.2woody2_m68k.deb
      Size/MD5 checksum:  1351548 1956ac76843514bb1abba1898858f111

  Big endian MIPS architecture:

    http://security.debian.org/pool/updates/main/m/mc/gmc_4.5.55-1.2woody2_mips.deb
      Size/MD5 checksum:  1084440 3d701c5d31b012367da43bbdaabf9ed5
    http://security.debian.org/pool/updates/main/m/mc/mc_4.5.55-1.2woody2_mips.deb
      Size/MD5 checksum:   535016 c947de9db4504246e9b1421767f836cc
    http://security.debian.org/pool/updates/main/m/mc/mc-common_4.5.55-1.2woody2_mips.deb
      Size/MD5 checksum:  1351494 cf4575860b110ac5569768eed69ed719

  PowerPC architecture:

    http://security.debian.org/pool/updates/main/m/mc/gmc_4.5.55-1.2woody2_powerpc.deb
      Size/MD5 checksum:  1040834 5d956b0ce80752e94933d1cb4c177776
    http://security.debian.org/pool/updates/main/m/mc/mc_4.5.55-1.2woody2_powerpc.deb
      Size/MD5 checksum:   487920 5d880a8a277c1b09c155d8d071eb9323
    http://security.debian.org/pool/updates/main/m/mc/mc-common_4.5.55-1.2woody2_powerpc.deb
      Size/MD5 checksum:  1351364 1c064a34bc35ec729115415e90271c9e

  IBM S/390 architecture:

    http://security.debian.org/pool/updates/main/m/mc/gmc_4.5.55-1.2woody2_s390.deb
      Size/MD5 checksum:  1027180 95e3a56c659d307e83945269ca9450b9
    http://security.debian.org/pool/updates/main/m/mc/mc_4.5.55-1.2woody2_s390.deb
      Size/MD5 checksum:   477210 d69d94302880a813ac01174800d0cc0b
    http://security.debian.org/pool/updates/main/m/mc/mc-common_4.5.55-1.2woody2_s390.deb
      Size/MD5 checksum:  1351330 b7aef4036f698cbebd5ab98a57e639d8

  Sun Sparc architecture:

    http://security.debian.org/pool/updates/main/m/mc/gmc_4.5.55-1.2woody2_sparc.deb
      Size/MD5 checksum:  1026474 75a6e4b36b432db5b49f6fc4784d8a79
    http://security.debian.org/pool/updates/main/m/mc/mc_4.5.55-1.2woody2_sparc.deb
      Size/MD5 checksum:   481556 df562844379347c39d555ffba05fd185
    http://security.debian.org/pool/updates/main/m/mc/mc-common_4.5.55-1.2woody2_sparc.deb
      Size/MD5 checksum:  1351324 8b95d4afa916dda9f17c595e6422363f

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

- ---------------------------------------------------------------------------------
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)

iD8DBQFACFWKArxCt0PiXR4RArCcAJ0f9HvC8O7R5Rd6JmO4WtAfbZhaSACgr0mM
bzaEUzP+bij+XXgSMuWLjNY=
=Xpxy
-----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 2021, SecurityGlobal.net LLC