Red Hat 8845 Published by

An updated mc package has been released for Red Hat Enterprise Linux 3.0

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

Synopsis: Updated mc package resolves security vulnerabilities
Advisory ID: RHSA-2004:464-02
Advisory URL: https://rhn.redhat.com/errata/RHSA-2004-464.html
Issue date: 2005-01-05
Updated on: 2005-01-05
Product: Red Hat Enterprise Linux
CVE Names: CAN-2004-0494
----------------------------------------------------------------------

1. Summary:

An updated mc package that resolves several shell escape security issues is now available.

[Updated 5 January 2005]
Packages have been updated to include the gmc and mcserv packages which were left out of the initial errata.

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 (mc) is a visual shell much like a file manager.

Shell escape bugs have been discovered in several of the mc vfs backend scripts. An attacker who is able to influence a victim to open a specially-crafted URI using mc could execute arbitrary commands as the victim. The Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name CAN-2004-0494 to this issue.

Users of mc should upgrade to this updated package which contains backported patches and is not vulnerable to this issue.

4. Solution:

Before applying this update, make sure that all previously-released errata relevant to your system have been applied. Use Red Hat Network to download and update your packages. To launch the Red Hat Update Agent, use the following command:

up2date

For information on how to install packages manually, refer to the following Web page for the System Administration or Customization guide specific to your system:

http://www.redhat.com/docs/manuals/enterprise/

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

127974 - CAN-2004-0494 extfs vfs vulnerability in mc

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.4.src.rpm
afec2c565d6a6ddef751653eebaa3ad6 mc-4.5.51-36.4.src.rpm

i386:
565ad0abe3823a8c003e585ebc44556c gmc-4.5.51-36.4.i386.rpm
10f69a32fd981ffcb2c018e070ca9b62 mc-4.5.51-36.4.i386.rpm
100b1d71bd280502b5db3809b56f3a48 mcserv-4.5.51-36.4.i386.rpm

ia64:
998718f8ed57261a5553abbfd9a0b44b gmc-4.5.51-36.4.ia64.rpm
662118226d4084bbe6e67f19f7918af1 mc-4.5.51-36.4.ia64.rpm
03e4390ff9254bdd57c08fdc7ca76f4a mcserv-4.5.51-36.4.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.4.src.rpm
afec2c565d6a6ddef751653eebaa3ad6 mc-4.5.51-36.4.src.rpm

ia64:
998718f8ed57261a5553abbfd9a0b44b gmc-4.5.51-36.4.ia64.rpm
662118226d4084bbe6e67f19f7918af1 mc-4.5.51-36.4.ia64.rpm
03e4390ff9254bdd57c08fdc7ca76f4a mcserv-4.5.51-36.4.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.4.src.rpm
afec2c565d6a6ddef751653eebaa3ad6 mc-4.5.51-36.4.src.rpm

i386:
565ad0abe3823a8c003e585ebc44556c gmc-4.5.51-36.4.i386.rpm
10f69a32fd981ffcb2c018e070ca9b62 mc-4.5.51-36.4.i386.rpm
100b1d71bd280502b5db3809b56f3a48 mcserv-4.5.51-36.4.i386.rpm

These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from
https://www.redhat.com/security/team/key/#package

7. References:

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0494

8. Contact:

The Red Hat security contact is secalert@redhat.com. More contact
details at https://www.redhat.com/security/team/contact/

Copyright 2005 Red Hat, Inc.