Rapid7 Vulnerability & Exploit Database

CESA-2007:1128: autofs security update

Free InsightVM Trial No credit card necessary
Watch Demo See how it all works
Back to Search

CESA-2007:1128: autofs security update



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.


  • centos-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