RHEL 2.1 / 3 / 4 : util-linux and mount (RHSA-2005:782)

This script is Copyright (C) 2005-2014 Tenable Network Security, Inc.


Synopsis :

The remote Red Hat host is missing one or more security updates.

Description :

Updated util-linux and mount packages that fix two security issues are
now available.

This update has been rated as having moderate security impact by the
Red Hat Security Response Team.

The util-linux package contains a large variety of low-level system
utilities that are necessary for a Linux system to function.

The mount package contains the mount, umount, swapon and swapoff
programs.

A bug was found in the way the umount command is executed by normal
users. It may be possible for a user to gain elevated privileges if
the user is able to execute the 'umount -r' command on a mounted file
system. The file system will be re-mounted only with the 'readonly'
flag set, clearing flags such as 'nosuid' and 'noexec'. The Common
Vulnerabilities and Exposures project (cve.mitre.org) has assigned the
name CVE-2005-2876 to this issue.

This update also fixes a hardlink bug in the script command for Red
Hat Enterprise Linux 2.1. If a local user places a hardlinked file
named 'typescript' in a directory they have write access to, the file
will be overwritten if the user running script has write permissions
to the destination file. The Common Vulnerabilities and Exposures
project (cve.mitre.org) has assigned the name CVE-2001-1494 to this
issue.

All users of util-linux and mount should upgrade to these updated
packages, which contain backported patches to correct these issues.

See also :

https://www.redhat.com/security/data/cve/CVE-2001-1494.html
https://www.redhat.com/security/data/cve/CVE-2005-2876.html
http://rhn.redhat.com/errata/RHSA-2005-782.html

Solution :

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

Risk factor :

High / CVSS Base Score : 7.2
(CVSS2#AV:L/AC:L/Au:N/C:C/I:C/A:C)

Family: Red Hat Local Security Checks

Nessus Plugin ID: 20048 ()

Bugtraq ID:

CVE ID: CVE-2001-1494
CVE-2005-2876