Midnight Commander cons.saver tool symlink could cause a denial of service
|midnight-commander-conssaver-symlink (5519)||Medium Risk|
Midnight Commander could allow a local attacker to launch a symlink attack to overwrite any file on the system. The cons.saver tool is installed setuid root. A local attacker can create a symbolic link to any file on the system, and cause cons.save to write a null character to the target file. An attacker could use this vulnerability to cause a denial of service attack.
Denial of Service
Apply the unofficial cons.saver patch included in the BugTraq Mailing List posting dated Mon Nov 13 2000 17:52:03. See References.
For Debian Linux 2.2:
Upgrade to the latest version of MC (4.5.42-11 or later), as listed in Debian Security Advisory 11-25-2000: See References.
For Linux-Mandrake 6.0, 6.1, 7.0, 7.1, and 7.2:
Upgrade to the latest version of MC, as listed in MandrakeSoft Security Advisory MDKSA-2000:078 : mc. See References.
For other distributions:
Contact your vendor for upgrade or patch information.
- BugTraq Mailing List, Mon Nov 13 2000 - 11:52:03 CST: Problems with cons.saver.
- Debian Security Advisory 20001125: mc -- local DoS.
- MandrakeSoft Security Advisory MDKSA-2000:078: mc.
- BID-1945: Midnight Commander cons.saver Arbitrary File Write Vulnerability
- CVE-2000-1108: cons.saver in Midnight Commander (mc) 4.5.42 and earlier does not properly verify if an output file descriptor is a TTY, which allows local users to corrupt files by creating a symbolic link to the target file, calling mc, and specifying that link as a TTY argument.
- OSVDB ID: 1644: Midnight Commander cons.saver Arbitrary File Write
- GNOME Midnight Commander 4.x
Nov 13, 2000
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 ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this