Users login

Create an account »

JOIN XATRIX

Users login

Home » Security Advisories» Fedora » Mc stack-based buffer overflow

Mc stack-based buffer overflow

There exists a stack-based buffer overflow in fs_s_resolve_symlink of vfs/direntry.c for Midnight Commander (mc) 4.6.0 and earlier, and possibly later versions, allowing remote attackers to execute arbitrary code during symlink conversion.

  • Vendor: Fedora
  • Vendor ID: FLSA:1224
  • Date: May 18, 2004


- -----------------------------------------------------------------------
Fedora Legacy Update Advisory

Synopsis: Updated mc resolves security vulnerability
Advisory ID: FLSA:1224
Issue date: 2004-05-18
Product: Red Hat Linux
Keywords: Security
Cross references: https://bugzilla.fedora.us/show_bug.cgi?id=1224
CVE Names: CAN-2003-1023
- -----------------------------------------------------------------------


- ---------------------------------------------------------------------
1. Topic:

Updated mc packages that fix remote buffer overflow vulnerabilities are now
available.

2. Relevent releases/architectures:

Red Hat Linux 7.2 - i386
Red Hat Linux 7.3 - i386
Red Hat Linux 8.0 - i386

3. Problem description:
Midnight Commander is a visual shell much like a file manager, only with
many more features. It is a text mode application, but it also includes
mouse support if you are running GPM. Midnight Commander's best features
are its ability to FTP, view tar and zip files, and to poke into RPMs for
specific files.

There exists a stack-based buffer overflow in vfs_s_resolve_symlink of
vfs/direntry.c for Midnight Commander (mc) 4.6.0 and earlier, and possibly
later versions, allowing remote attackers to execute arbitrary code during
symlink conversion.

Fedora Legacy would like to thank Seth Vidal for bringing this issue to our
attention.

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 yum and apt. Many
people find this an easier way to apply updates. To use yum issue:

yum update

or to use apt:

apt-get update; apt-get upgrade

This will start an interactive process that will result in the appropriate
RPMs being upgraded on your system. This assumes that you have yum or
apt-get configured for obtaining Fedora Legacy content. Please visit
http://www fedoralegacy.org/docs for directions on how to configure yum
and apt-get.

5. Bug IDs fixed:

http://bugzilla.fedora.us - 1224 - bug in mc - gnu midnight commander

6. RPMs required:

Red Hat Linux 7.2:

SRPM:
http://download.fedoralegacy.org/redhat/7.2/updates/SRPMS/mc-4.5.51-37.legacy.src.rpm

i386:
http://download.fedoralegacy.org/redhat/7.2/updates/i386/mc-4.5.51-37.legacy.i386.rpm
http://download.fedoralegacy.org/redhat/7.2/updates/i386/mcserv-4.5.51-37.legacy.i386.rpm

Red Hat Linux 7.3:

SRPM:
http://download.fedoralegacy.org/redhat/7.3/updates/SRPMS/mc-4.5.55-6.legacy.src.rpm

i386:
http://download.fedoralegacy.org/redhat/7.3/updates/i386/mc-4.5.55-6.legacy.i386.rpm

Red Hat Linux 8.0:

SRPM:
http://download.fedoralegacy.org/redhat/8.0/updates/SRPMS/mc-4.5.55-13.legacy.src.rpm

i386:
http://download.fedoralegacy.org/redhat/8.0/updates/i386/mc-4.5.55-13.legacy.i386.rpm


7. Verification:

SHA1 sum Package Name
- ---------------------------------------------------------------------------

9f8a003f130fa1f9a97c77bb481791445885f1b5
7.2/updates/SRPMS/mc-4.5.51-37.legacy.src.rpm
b9a4452ffc5d1aaf99fcc2eff940dd6252c24446
7.2/updates/i386/mc-4.5.51-37.legacy.i386.rpm
8c3ff32790268aa8d38e3b0c2a63da6c8b603363
7.2/updates/i386/mcserv-4.5.51-37.legacy.i386.rpm

045b05e94d3971759110bf6e5faf3797e8c771f1
7.3/updates/SRPMS/mc-4.5.55-6.legacy.src.rpm
d56d82b210636fe30c09d0ce09b38cf8572e4ab5
7.3/updates/i386/mc-4.5.55-6.legacy.i386.rpm

be63f46bf7e3b003b9d07a731ee158ec33215ff6
8.0/updates/SRPMS/mc-4.5.55-13.legacy.src.rpm
34cfea3816c76dba42e3fb1ac4f15c6b48704b2d
8.0/updates/i386/mc-4.5.55-13.legacy.i386.rpm


These packages are GPG signed by Fedora Legacy for security. Our key is
available from http://www.fedoralegacy.org/about/security.php

You can verify each package with the following command:

rpm --checksig -v

If you only wish to verify that each package has not been corrupted or
tampered with, examine only the sha1sum with the following command:

sha1sum

8. References:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-1023
https://bugzilla.fedora.us/show_bug.cgi?id=1224


9. Contact:

The Fedora Legacy security contact is [email protected]>. More
project details at http://www.fedoralegacy.org

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

Newsletter signup

Signup to our monthly newsletter and stay in touch with IT news!

Free E-books

We've got ebooks! But they're not online. :( Please give us a few days to bring downloads back.

Contact

Have something to say or just wanna drop us a line? Please keep this in mind: to spam, we reply with spam.

Contact us »