- ---------------------------------------------------------------------
Red Hat Security Advisory
Synopsis: Important: autofs5 security update
Advisory ID: RHSA-2007:1129-01
Advisory URL: https://rhn.redhat.com/errata/RHSA-2007-1129.html
Issue date: 2007-12-12
Updated on: 2007-12-12
Product: Red Hat Enterprise Linux
CVE Names: CVE-2007-5964
- ---------------------------------------------------------------------
1. Summary:
Updated Red Hat Enterprise Linux 4 Technology Preview autofs5 packages are
now available to fix a security flaw.
This update has been rated as having important security impact by the Red
Hat Security Response Team.
2. Relevant releases/architectures:
Red Hat Enterprise Linux AS version 4 - i386, ia64, ppc, s390, s390x, x86_64
Red Hat Enterprise Linux Desktop version 4 - i386, x86_64
Red Hat Enterprise Linux ES version 4 - i386, ia64, x86_64
Red Hat Enterprise Linux WS version 4 - i386, ia64, x86_64
3. Problem description:
The autofs utility controls the operation of the automount daemon, which
automatically mounts and unmounts file systems after a period of
inactivity. The autofs version 5 package was made available as a
technology preview in Red Hat Enterprise Linux version 4.6.
There was a security issue with the default installed configuration of
autofs 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 server
could create a setuid root executable within an exported filesystem on the
remote nfs server that, if mounted using the default hosts map, would allow
the user to gain root privileges. (CVE-2007-5964)
Due to the fact that autofs version 5 always mounted hosts map entries suid
by default, autofs has now been altered to always use the "nosuid" option
when mounting from the default hosts map. The "suid" option must be
explicitly given in the master map entry to revert to the old behavior.
This change affects only the hosts map which corresponds to the /net entry
in the default configuration.
Users are advised to upgrade to these updated autofs5 packages, which
resolve this issue.
Red Hat would like to thank Josh Lange for reporting this issue.
4. Solution:
Before applying this update, make sure that all previously-released
errata relevant to your system have been applied.
This update is available via Red Hat Network. Details on how to use
the Red Hat Network to apply this update are available at
http://kbase.redhat.com/faq/FAQ_58_10188
5. Bug IDs fixed (http://bugzilla.redhat.com/):
410031 - CVE-2007-5964 autofs defaults don't restrict suid in /net
These packages are GPG signed by Red Hat for security. Our key and
details on how to verify the signature are available from
https://www.redhat.com/security/team/key/#package