Mandrake Linux Security Advisory : util-linux (MDKSA-2002:047)

medium Nessus Plugin ID 13950

Synopsis

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

Description

Michal Zalewski found a vulnerability in the util-linux package with the chfn utility. This utility allows users to modify some information in the /etc/passwd file, and is installed setuid root. Using a carefully crafted attack sequence, an attacker can exploit a complex file locking and modification race that would allow them to make changes to the /etc/passwd file. To successfully exploit this vulnerability and obtain privilege escalation, there is a need for some administrator interaction, and the password file must over over 4kb in size; the attacker's entry cannot be in the last 4kb of the file.

Solution

Update the affected losetup, mount and / or util-linux packages.

Plugin Details

Severity: Medium

ID: 13950

File Name: mandrake_MDKSA-2002-047.nasl

Version: 1.19

Type: local

Published: 7/31/2004

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Medium

Base Score: 6.2

Vector: CVSS2#AV:L/AC:H/Au:N/C:C/I:C/A:C

Vulnerability Information

CPE: cpe:/o:mandrakesoft:mandrake_linux:8.2, p-cpe:/a:mandriva:linux:losetup, p-cpe:/a:mandriva:linux:mount, p-cpe:/a:mandriva:linux:util-linux, cpe:/o:mandrakesoft:mandrake_linux:7.1, cpe:/o:mandrakesoft:mandrake_linux:7.2, cpe:/o:mandrakesoft:mandrake_linux:8.0, cpe:/o:mandrakesoft:mandrake_linux:8.1

Required KB Items: Host/local_checks_enabled, Host/cpu, Host/Mandrake/release, Host/Mandrake/rpm-list

Patch Publication Date: 8/8/2002

Reference Information

CVE: CVE-2002-0638

CERT: 405955

MDKSA: 2002:047