Skip to navigation

Security Advisory Important: autofs security update

Advisory: RHSA-2007:1176-7
Type: Security Advisory
Severity: Important
Issued on: 2007-12-20
Last updated on: 2007-12-20
Affected Products: Red Hat Enterprise Linux (v. 5 server)
Red Hat Enterprise Linux Desktop (v. 5 client)
Red Hat Enterprise Linux EUS (v. 5.1.z server)
CVEs (cve.mitre.org): CVE-2007-6285

Details

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

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

The autofs utility controls the operation of the automount daemon, which
automatically mounts file systems when you use them, and unmounts them when
you are not using them. This can include network file systems and CD-ROMs.

There was a security issue with the default configuration of autofs version
5, whereby the entry for the "-hosts" map did not specify the "nodev" mount
option. A local user with control of a remote NFS server could create
special device files on the remote file system, that if mounted using the
default "-hosts" map, could allow the user to access important system
devices. (CVE-2007-6285)

This issue is similar to CVE-2007-5964, which fixed a missing "nosuid"
mount option in autofs. Both the "nodev" and "nosuid" options should be
enabled to prevent a possible compromise of machine integrity.

Due to the fact that autofs always mounted "-hosts" map entries "dev" by
default, autofs has now been altered to always use the "nodev" option when
mounting from the default "-hosts" map. The "dev" 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.

All autofs users are advised to upgrade to these updated packages, which
resolve this issue.

Red Hat would like to thank Tim Baum for reporting this issue.


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

Updated packages

Red Hat Enterprise Linux (v. 5 server)

SRPMS:
autofs-5.0.1-0.rc2.55.el5.2.src.rpm
File outdated by:  RHBA-2008:0099
    MD5: 5f5504a6ca34b5f5c1bf957d6dae5887
 
IA-32:
autofs-5.0.1-0.rc2.55.el5.2.i386.rpm
File outdated by:  RHBA-2013:1350
    MD5: 2777273dbfe56fe6949958b003c7a536
 
IA-64:
autofs-5.0.1-0.rc2.55.el5.2.ia64.rpm
File outdated by:  RHBA-2013:1350
    MD5: 7f11526720a9288b3c95193c97c02788
 
PPC:
autofs-5.0.1-0.rc2.55.el5.2.ppc.rpm
File outdated by:  RHBA-2013:1350
    MD5: d5caec9515a94c2588d8be40d3a021c3
 
s390x:
autofs-5.0.1-0.rc2.55.el5.2.s390x.rpm
File outdated by:  RHBA-2013:1350
    MD5: 2c79053af040b63b7cd835b85778df7f
 
x86_64:
autofs-5.0.1-0.rc2.55.el5.2.x86_64.rpm
File outdated by:  RHBA-2013:1350
    MD5: 382f81f678643f3ef989007ef9023110
 
Red Hat Enterprise Linux Desktop (v. 5 client)

SRPMS:
autofs-5.0.1-0.rc2.55.el5.2.src.rpm
File outdated by:  RHBA-2008:0099
    MD5: 5f5504a6ca34b5f5c1bf957d6dae5887
 
IA-32:
autofs-5.0.1-0.rc2.55.el5.2.i386.rpm
File outdated by:  RHBA-2013:1350
    MD5: 2777273dbfe56fe6949958b003c7a536
 
x86_64:
autofs-5.0.1-0.rc2.55.el5.2.x86_64.rpm
File outdated by:  RHBA-2013:1350
    MD5: 382f81f678643f3ef989007ef9023110
 
Red Hat Enterprise Linux EUS (v. 5.1.z server)

SRPMS:
autofs-5.0.1-0.rc2.55.el5.2.src.rpm
File outdated by:  RHBA-2008:0099
    MD5: 5f5504a6ca34b5f5c1bf957d6dae5887
 
IA-32:
autofs-5.0.1-0.rc2.55.el5.2.i386.rpm
File outdated by:  RHBA-2008:0099
    MD5: 2777273dbfe56fe6949958b003c7a536
 
IA-64:
autofs-5.0.1-0.rc2.55.el5.2.ia64.rpm
File outdated by:  RHBA-2008:0099
    MD5: 7f11526720a9288b3c95193c97c02788
 
PPC:
autofs-5.0.1-0.rc2.55.el5.2.ppc.rpm
File outdated by:  RHBA-2008:0099
    MD5: d5caec9515a94c2588d8be40d3a021c3
 
s390x:
autofs-5.0.1-0.rc2.55.el5.2.s390x.rpm
File outdated by:  RHBA-2008:0099
    MD5: 2c79053af040b63b7cd835b85778df7f
 
x86_64:
autofs-5.0.1-0.rc2.55.el5.2.x86_64.rpm
File outdated by:  RHBA-2008:0099
    MD5: 382f81f678643f3ef989007ef9023110
 
(The unlinked packages above are only available from the Red Hat Network)

Bugs fixed (see bugzilla for more information)

426218 - CVE-2007-6285 autofs default doesn't set nodev in /net


References



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

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