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

medium Nessus Plugin ID 27516

Synopsis

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

Description

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.

Solution

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

https://security.gentoo.org/glsa/200710-18

Plugin Details

Severity: Medium

ID: 27516

File Name: gentoo_GLSA-200710-18.nasl

Version: 1.15

Type: local

Published: 10/19/2007

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

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: 10/18/2007

Reference Information

CVE: CVE-2007-5191

CWE: 264

GLSA: 200710-18