(Conectiva Issues Fix) Midnight Commander Uninitialized Buffer May Let Remote Users Execute Arbitrary Code
|
|
SecurityTracker Alert ID: 1009602 |
|
SecurityTracker URL: http://securitytracker.com/id/1009602
|
|
CVE Reference:
CAN-2003-1023
(Links to External Site)
|
Date: Mar 31 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:
Conectiva has released a fix.
ftp://atualizacoes.conectiva.com.br/8/RPMS/gmc-4.5.55-6U80_1cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/8/RPMS/mc-4.5.55-6U80_1cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/8/RPMS/mcserv-4.5.55-6U80_1cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/8/SRPMS/mc-4.5.55-6U80_1cl.src.rpm
ftp://atualizacoes.conectiva.com.br/9/RPMS/gmc-4.5.55-19421U90_1cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/9/RPMS/mc-4.5.55-19421U90_1cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/9/RPMS/mcserv-4.5.55-19421U90_1cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/9/SRPMS/mc-4.5.55-19421U90_1cl.src.rpm
|
Vendor URL: gnome.org/ (Links to External Site)
|
Cause:
State error
|
Underlying OS:
Linux (Conectiva)
|
|
Message History:
This archive entry is a follow-up to the message listed below.
|
Source Message Contents
|
Date: Wed, 31 Mar 2004 15:04:09 -0300
Subject: [conectiva-updates] [CLA-2004:833] Conectiva Security Announcement - mc
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
- --------------------------------------------------------------------------
CONECTIVA LINUX SECURITY ANNOUNCEMENT
- --------------------------------------------------------------------------
PACKAGE : mc
SUMMARY : Buffer overflow vulnerability
DATE : 2004-03-31 15:03:00
ID : CLA-2004:833
RELEVANT
RELEASES : 8, 9
- -------------------------------------------------------------------------
DESCRIPTION
Midnight Commander (MC) is a visual shell and a file manager for text
consoles.
This update fixes a buffer overflow vulnerability[1] in the code that
handles symlinks in the virtual filesystem module. An attacker could
create a specially crafted archive (like a .tar.gz or a cpio file)
containing symlinks that when opened by an mc user would trigger the
execution of arbitrary code with its privileges.
The Common Vulnerabilities and Exposures project (cve.mitre.org) has
assigned the name CAN-2003-1023 to this issue[2].
SOLUTION
All users of the mc package should upgrade.
REFERENCES
1.http://www.securityfocus.com/bid/8658/
2.http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-1023
UPDATED PACKAGES
ftp://atualizacoes.conectiva.com.br/8/RPMS/gmc-4.5.55-6U80_1cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/8/RPMS/mc-4.5.55-6U80_1cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/8/RPMS/mcserv-4.5.55-6U80_1cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/8/SRPMS/mc-4.5.55-6U80_1cl.src.rpm
ftp://atualizacoes.conectiva.com.br/9/RPMS/gmc-4.5.55-19421U90_1cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/9/RPMS/mc-4.5.55-19421U90_1cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/9/RPMS/mcserv-4.5.55-19421U90_1cl.i386.rpm
ftp://atualizacoes.conectiva.com.br/9/SRPMS/mc-4.5.55-19421U90_1cl.src.rpm
ADDITIONAL INSTRUCTIONS
The apt tool can be used to perform RPM packages upgrades:
- run: apt-get update
- after that, execute: apt-get upgrade
Detailed instructions regarding the use of apt and upgrade examples
can be found at http://distro.conectiva.com.br/atualizacoes/#apt?idioma=en
- -------------------------------------------------------------------------
All packages are signed with Conectiva's GPG key. The key and instructions
on how to import it can be found at
http://distro.conectiva.com.br/seguranca/chave/?idioma=en
Instructions on how to check the signatures of the RPM packages can be
found at http://distro.conectiva.com.br/seguranca/politica/?idioma=en
- -------------------------------------------------------------------------
All our advisories and generic update instructions can be viewed at
http://distro.conectiva.com.br/atualizacoes/?idioma=en
- -------------------------------------------------------------------------
Copyright (c) 2004 Conectiva Inc.
http://www.conectiva.com
- -------------------------------------------------------------------------
subscribe: conectiva-updates-subscribe@papaleguas.conectiva.com.br
unsubscribe: conectiva-updates-unsubscribe@papaleguas.conectiva.com.br
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQFAawgY42jd0JmAcZARAhCFAKCBwWmbCSxwr4olps6xfWoeyYsWCwCgg0fi
j8XBi7W8ThR/khEnbKciptc=
=Ar1F
-----END PGP SIGNATURE-----
|
|