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

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                     ESB-2005.0205 -- RHSA-2005:217-01
                       Moderate: mc security update
                               7 March 2005

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           Midnight Commander
Publisher:         Red Hat
Operating System:  Red Hat Enterprise Linux AS/WS 2.1
                   Red Hat Linux Advanced Workstation 2.1
                   Linux variants
                   UNIX variants
Impact:            Execute Arbitrary Code/Commands
Access:            Existing Account
CVE Names:         CAN-2005-1176 CAN-2004-1176 CAN-2004-1005
                   CAN-2004-1004

Original Bulletin: https://rhn.redhat.com/errata/RHSA-2005-217.html

- --------------------------BEGIN INCLUDED TEXT--------------------

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

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

Synopsis:          Moderate: mc security update
Advisory ID:       RHSA-2005:217-01
Advisory URL:      https://rhn.redhat.com/errata/RHSA-2005-217.html
Issue date:        2005-03-04
Updated on:        2005-03-04
Product:           Red Hat Enterprise Linux
CVE Names:         CAN-2004-1004 CAN-2004-1005 CAN-2004-1176
- - ---------------------------------------------------------------------

1. Summary:

Updated mc packages that fix multiple security issues are now available.

This update has been rated as having moderate security impact by the Red
Hat Security Response Team.

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.

Several format string bugs were found in Midnight Commander. If a user is
tricked by an attacker into opening a specially crafted path with mc, it
may be possible to execute arbitrary code as the user running Midnight
Commander. The Common Vulnerabilities and Exposures project (cve.mitre.org)
has assigned the name CAN-2004-1004 to this issue.

Several buffer overflow bugs were found in Midnight Commander. If a user is
tricked by an attacker into opening a specially crafted file or path
with mc, it may be possible to execute arbitrary code as the user running
Midnight Commander. The Common Vulnerabilities and Exposures project
(cve.mitre.org) has assigned the name CAN-2004-1005 to this issue.

A buffer underflow bug was found in Midnight Commander. If a malicious
local user is able to modify the extfs.ini file, it could be possible to
execute arbitrary code as a user running Midnight Commander. The Common
Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name
CAN-2004-1176 to this issue.

Users of mc should upgrade to these updated packages, which contain a
backported patch, and are 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/):

148864 - CAN-2004-1004 multiple issues with mc (CAN-2004-1005 CAN-2005-1176)

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.6.src.rpm
0280014f6cce24b5a7e86224d1a4c20e  mc-4.5.51-36.6.src.rpm

i386:
f9cf57bc299aff9a913dfd4801bf962d  gmc-4.5.51-36.6.i386.rpm
34fab95940f7bd986db806c30abf2264  mc-4.5.51-36.6.i386.rpm
dd976aa43c29b97804a1149cc64c56e4  mcserv-4.5.51-36.6.i386.rpm

ia64:
6f6c8b333239ba869ea8f32e05d9cf04  gmc-4.5.51-36.6.ia64.rpm
012c0f617c2dd9593f53fa8c25839489  mc-4.5.51-36.6.ia64.rpm
f067178eaa407dc355cd1e5b5d536b44  mcserv-4.5.51-36.6.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.6.src.rpm
0280014f6cce24b5a7e86224d1a4c20e  mc-4.5.51-36.6.src.rpm

ia64:
6f6c8b333239ba869ea8f32e05d9cf04  gmc-4.5.51-36.6.ia64.rpm
012c0f617c2dd9593f53fa8c25839489  mc-4.5.51-36.6.ia64.rpm
f067178eaa407dc355cd1e5b5d536b44  mcserv-4.5.51-36.6.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.6.src.rpm
0280014f6cce24b5a7e86224d1a4c20e  mc-4.5.51-36.6.src.rpm

i386:
f9cf57bc299aff9a913dfd4801bf962d  gmc-4.5.51-36.6.i386.rpm
34fab95940f7bd986db806c30abf2264  mc-4.5.51-36.6.i386.rpm
dd976aa43c29b97804a1149cc64c56e4  mcserv-4.5.51-36.6.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://bugs.debian.org/cgi-bin/bugreport.cgi?bug=295261
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1004
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1005
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1176

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.

- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFCKCkmXlSAg2UNWIIRAo72AJ9ZI7wVdd2MwOSe2zly8pJ8mM2tEACeKKaL
SJ2xr2QqQOy16NbOslnkqHE=
=dYRx
- -----END PGP SIGNATURE-----

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        http://www.auscert.org.au/render.html?cid=1980

If you believe that your computer system has been compromised or attacked in 
any way, we encourage you to let us know by completing the secure National IT 
Incident Reporting Form at:

        http://www.auscert.org.au/render.html?it=3192

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================

-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQCVAwUBQiuz3Sh9+71yA2DNAQJPigP+L1CiohKX7KNxZ4cMpWC+DZnvN/TbHqbR
jYMcID16wv4VdsE/yEhbrtA5NBmxmxUuQdUe+feWe4qjSaUhUVNFziqKFOVn/HjT
3i/kzSZpaYve2Ob3Aa1CMNlvGm32+FMBM9LAM63tUW3lbeL7C0ORjMzgWkGicbsL
LZglKHvT/NQ=
=YicB
-----END PGP SIGNATURE-----