Mandrake Linux Security Advisory : utempter (MDKSA-2004:031-1)
Low Nessus Plugin ID 14130
SynopsisThe remote Mandrake Linux host is missing one or more security updates.
DescriptionSteve Grubb discovered two potential issues in the utempter program :
1) If the path to the device contained /../ or /./ or //, the program was not exiting as it should. It would be possible to use something like /dev/../tmp/tty0, and then if /tmp/tty0 were deleted and symlinked to another important file, programs that have root privileges that do no further validation can then overwrite whatever the symlink pointed to.
2) Several calls to strncpy without a manual termination of the string. This would most likely crash utempter.
The updated packages are patched to correct these problems.
The second portion of the patch to address the manual termination of the string has been determined to be uneccessary, as well as reducing the length of utmp strings by one character. As such, it has been removed.
SolutionUpdate the affected packages.