GLSA-200710-18 : util-linux: Local privilege escalation

Medium Nessus Plugin ID 27516


The remote Gentoo host is missing one or more security-related patches.


The remote host is affected by the vulnerability described in GLSA-200710-18 (util-linux: Local privilege escalation)

Ludwig Nussel discovered that the check_special_mountprog() and check_special_umountprog() functions call setuid() and setgid() in the wrong order and do not check the return values, which can lead to privileges being dropped improperly.
Impact :

A local attacker may be able to exploit this vulnerability by using mount helpers such as the mount.nfs program to gain root privileges and run arbitrary commands.
Workaround :

There is no known workaround at this time.


All util-linux users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=sys-apps/util-linux-2.12r-r8'

See Also

Plugin Details

Severity: Medium

ID: 27516

File Name: gentoo_GLSA-200710-18.nasl

Version: $Revision: 1.12 $

Type: local

Published: 2007/10/19

Modified: 2015/04/13

Dependencies: 12634

Risk Information

Risk Factor: Medium


Base Score: 6.9

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

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:util-linux, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Patch Publication Date: 2007/10/18

Reference Information

CVE: CVE-2007-5191

OSVDB: 40912

GLSA: 200710-18

CWE: 264