Articles / Red Hat: Updated autofs pac…

Red Hat: Updated autofs packages fix a security flaw

The autofs utility controls the operation of the automount daemon, which automatically mounts and unmounts file systems after a period of inactivity. 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. Fixed packages are available from updates.redhat.com.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

- ---------------------------------------------------------------------
                  Red Hat Security Advisory

Synopsis:          Important: autofs security update
Advisory ID:       RHSA-2007:1128-01
Advisory URL:      https://rhn.redhat.com/errata/RHSA-2007-1128.html
Issue date:        2007-12-12
Updated on:        2007-12-12
Product:           Red Hat Enterprise Linux
CVE Names:         CVE-2007-5964 
- ---------------------------------------------------------------------

1. Summary:

Updated autofs packages are now available to fix a security flaw for Red
Hat Enterprise Linux 5.

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 Desktop (v. 5 client) - i386, x86_64
Red Hat Enterprise Linux (v. 5 server) - i386, ia64, ppc, s390x, 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. 

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 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 autofs 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

6. RPMs required:

Red Hat Enterprise Linux Desktop (v. 5 client):

SRPMS:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Client/en/os/SRPMS/autofs-5.0.1-0.rc2.55.el5.1.src.rpm
2a25ed0ef9c01abe09f19f8a89452fcd  autofs-5.0.1-0.rc2.55.el5.1.src.rpm

i386:
29d9a96e22d453a52c3cb6b2663bd984  autofs-5.0.1-0.rc2.55.el5.1.i386.rpm
92dcccbc5132698374cea61159366f23  autofs-debuginfo-5.0.1-0.rc2.55.el5.1.i386.rpm

x86_64:
234de8994b5e122cff78e9655e19d510  autofs-5.0.1-0.rc2.55.el5.1.x86_64.rpm
570bd949d8da5b104fdb4a8de2eccbaf  autofs-debuginfo-5.0.1-0.rc2.55.el5.1.x86_64.rpm

Red Hat Enterprise Linux (v. 5 server):

SRPMS:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/5Server/en/os/SRPMS/autofs-5.0.1-0.rc2.55.el5.1.src.rpm
2a25ed0ef9c01abe09f19f8a89452fcd  autofs-5.0.1-0.rc2.55.el5.1.src.rpm

i386:
29d9a96e22d453a52c3cb6b2663bd984  autofs-5.0.1-0.rc2.55.el5.1.i386.rpm
92dcccbc5132698374cea61159366f23  autofs-debuginfo-5.0.1-0.rc2.55.el5.1.i386.rpm

ia64:
8abb97c8cd6ad16e67780c6d4251ded3  autofs-5.0.1-0.rc2.55.el5.1.ia64.rpm
86fda06872725a92ea8f3ffb552c7307  autofs-debuginfo-5.0.1-0.rc2.55.el5.1.ia64.rpm

ppc:
780aa280f5927f34506acd60353bf0fc  autofs-5.0.1-0.rc2.55.el5.1.ppc.rpm
36925b686e89552da9cf3ca66fceba20  autofs-debuginfo-5.0.1-0.rc2.55.el5.1.ppc.rpm

s390x:
37a973950e8683cbaf4b47caa2458ffb  autofs-5.0.1-0.rc2.55.el5.1.s390x.rpm
4a8545d5d0f8c8bf1ae2a955ca5def5b  autofs-debuginfo-5.0.1-0.rc2.55.el5.1.s390x.rpm

x86_64:
234de8994b5e122cff78e9655e19d510  autofs-5.0.1-0.rc2.55.el5.1.x86_64.rpm
570bd949d8da5b104fdb4a8de2eccbaf  autofs-debuginfo-5.0.1-0.rc2.55.el5.1.x86_64.rpm

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

7. References:

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-5964
http://www.redhat.com/security/updates/classification/#important

8. Contact:

The Red Hat security contact is .  More contact
details at https://www.redhat.com/security/team/contact/

Copyright 2007 Red Hat, Inc.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)

iD8DBQFHX9ViXlSAg2UNWIIRAryBAJwKZ095PKSLeRZJs9VB0+cy/S0blACglQFL
2sS0ZTH8ObpbDt8LH83Vpnc=
=Ywcf
-----END PGP SIGNATURE-----
Screenshot

Project Spotlight

Kigo Video Converter Ultimate for Mac

A tool for converting and editing videos.

Screenshot

Project Spotlight

Kid3

An efficient tagger for MP3, Ogg/Vorbis, and FLAC files.