GLSA-200509-15 : util-linux: umount command validation error

High Nessus Plugin ID 19814


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


The remote host is affected by the vulnerability described in GLSA-200509-15 (util-linux: umount command validation error)

When a regular user mounts a filesystem, they are subject to restrictions in the /etc/fstab configuration file. David Watson discovered that when unmounting a filesystem with the '-r' option, the read-only bit is set, while other bits, such as nosuid or nodev, are not set, even if they were previously.
Impact :

An unprivileged user facing nosuid or nodev restrictions can umount -r a filesystem clearing those bits, allowing applications to be executed suid, or have device nodes interpreted. In the case where the user can freely modify the contents of the filesystem, privilege escalation may occur as a custom program may execute with suid permissions.
Workaround :

Two workarounds exist, first, the suid bit can be removed from the umount utility, or users can be restricted from mounting and unmounting filesystems in /etc/fstab.


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

See Also

Plugin Details

Severity: High

ID: 19814

File Name: gentoo_GLSA-200509-15.nasl

Version: $Revision: 1.12 $

Type: local

Published: 2005/10/05

Modified: 2015/04/13

Dependencies: 12634

Risk Information

Risk Factor: High


Base Score: 7.2

Vector: CVSS2#AV:L/AC:L/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: 2005/09/20

Vulnerability Publication Date: 2005/09/12

Reference Information

CVE: CVE-2005-2876

OSVDB: 19369

GLSA: 200509-15