=====================================================================
                                  CERT-Renater

                       Note d'Information No. 2005/VULN091
_____________________________________________________________________

DATE                      : 18/02/2005

HARDWARE PLATFORM(S)      : /

OPERATING SYSTEM(S)       : Systems running Midnight Commander versions
                                 prior to 4.6.0-r13.

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

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200502-24
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                             http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

   Severity: Normal
      Title: Midnight Commander: Multiple vulnerabilities
       Date: February 17, 2005
       Bugs: #77992
         ID: 200502-24

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

Synopsis
========

Midnight Commander contains several format string errors, buffer
overflows and one buffer underflow leading to execution of arbitrary
code.

Background
==========

Midnight Commander is a visual console file manager.

Affected packages
=================

     -------------------------------------------------------------------
      Package      /   Vulnerable   /                        Unaffected
     -------------------------------------------------------------------
   1  app-misc/mc      < 4.6.0-r13                         >= 4.6.0-r13

Description
===========

Midnight Commander contains several format string vulnerabilities
(CAN-2004-1004), buffer overflows (CAN-2004-1005), a memory
deallocation error (CAN-2004-1092) and a buffer underflow
(CAN-2004-1176).

Impact
======

An attacker could exploit these vulnerabilities to execute arbitrary
code with the permissions of the user running Midnight Commander or
cause Denial of Service by freeing unallocated memory.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All Midnight Commander users should upgrade to the latest version:

     # emerge --sync
     # emerge --ask --oneshot --verbose ">=app-misc/mc-4.6.0-r13"

References
==========

   [ 1 ] CAN-2004-1004
         http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1004
   [ 2 ] CAN-2004-1005
         http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1005
   [ 3 ] CAN-2004-1092
         http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1092
   [ 4 ] CAN-2004-1176
         http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-1176

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

   http://security.gentoo.org/glsa/glsa-200502-24.xml

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
security at gentoo.org or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

Copyright 2005 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/2.0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.netsys.com/pipermail/full-disclosure/attachments/20050217/c6685f35/attachment.bin



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

         =========================================================
         Les serveurs de référence du CERT-Renater
         http://www.urec.fr/securite
         http://www.cru.fr/securite
         http://www.renater.fr
         =========================================================
         + CERT-RENATER          | tel : 01-53-94-20-44          +
         + 151 bd de l'Hopital   | fax : 01-53-94-20-41          +
         + 75013 Paris           | email: certsvp@renater.fr     +
         =========================================================



