Mandrake Linux Security Advisory : utempter (MDKSA-2004:031-1)

This script is Copyright (C) 2004-2013 Tenable Network Security, Inc.


Synopsis :

The remote Mandrake Linux host is missing one or more security
updates.

Description :

Steve 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.

Update :

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.

Solution :

Update the affected packages.

Risk factor :

Low / CVSS Base Score : 2.1
(CVSS2#AV:L/AC:L/Au:N/C:N/I:P/A:N)

Family: Mandriva Local Security Checks

Nessus Plugin ID: 14130 (mandrake_MDKSA-2004-031.nasl)

Bugtraq ID:

CVE ID: CVE-2004-0233

Ready to Amp Up Your Nessus Experience?

Get Nessus Professional to scan unlimited IPs, run compliance checks & more

Buy Nessus Professional Now