Rapid7 Vulnerability & Exploit Database

RHSA-2007:1128: autofs security update

Back to Search

RHSA-2007:1128: autofs security update

Severity
7
CVSS
(AV:L/AC:M/Au:N/C:C/I:C/A:C)
Published
12/13/2007
Created
07/25/2018
Added
03/10/2008
Modified
07/04/2017

Description

The autofs utility controls the operation of the automount daemon, whichautomatically mounts and unmounts file systems after a period ofinactivity. There was a security issue with the default installed configuration ofautofs version 5 whereby the entry for the "hosts" map did not specify the"nosuid" mount option. A local user with control of a remote nfs servercould create a setuid root executable within an exported filesystem on theremote nfs server that, if mounted using the default hosts map, would allowthe user to gain root privileges. (CVE-2007-5964) Due to the fact that autofs always mounted hosts map entries suid bydefault, autofs has now been altered to always use the "nosuid" option whenmounting from the default hosts map. The "suid" option must be explicitlygiven in the master map entry to revert to the old behavior. This changeaffects only the hosts map which corresponds to the /net entry in thedefault configuration.Users are advised to upgrade to these updated autofs packages, whichresolve this issue.Red Hat would like to thank Josh Lange for reporting this issue.

Solution(s)

  • redhat-upgrade-autofs

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;