Midnight Commander has world readable directory and files

midnight-commander-data-disclosure (9873) The risk level is classified as MediumMedium Risk

Description:

Midnight Commander (mc) could allow a local attacker to view files in the $HOME/.mc/ directory, which includes history files. Because the mc tool stores plaintext usernames and passwords in the history file, a local attacker could use this vulnerability to gain elevated privileges on the system.


Consequences:

Gain Privileges

Remedy:

Upgrade to the latest release of Midnight Commander, or at least to version 4.5.51, based on when the recording of passwords was disabled. See References.

References:

Platforms Affected:

  • GNOME Midnight Commander 4.5.11

Reported:

Aug 01, 1999

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email xforce@iss.net

Return to the main page