copyright | disclaimer | privacy | contact  
Australia's Leading Computer Emergency Response Team
 
Search this site

 
On this site

 > HOME
 > About AusCERT
 > Membership
 > Contact Us
 > PKI Services
 > Training
 > Publications
 > Sec. Bulletins
 > Conferences
 > News & Media
 > Services
 > Web Log
 > Site Map
 > Site Help
 > Member login





 

ESB-2007.1005 -- [Linux][RedHat] -- Important: autofs security update

Date: 13 December 2007

Click here for printable version
Click here for PGP verifiable version
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                     ESB-2007.1005 -- [Linux][RedHat]
                     Important: autofs security update
                             13 December 2007

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:              autofs 5
Publisher:            Red Hat
Operating System:     Red Hat Linux 5
                      Red Hat Linux 4
                      Linux variants
Impact:               Root Compromise
Access:               Existing Account
CVE Names:            CVE-2007-5964

Original Bulletin:    https://rhn.redhat.com/errata/RHSA-2007-1129.html
                      https://rhn.redhat.com/errata/RHSA-2007-1128.html

Comment: This bulletin contains two Red Hat advisories.
         
         This advisory references vulnerabilities in products which run on
         platforms other than Red Hat. It is recommended that
         administrators running autofs check for an updated version of
         the software for their operating system.

- --------------------------BEGIN INCLUDED TEXT--------------------

- -----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 <secalert@redhat.com>.  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-----

- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

6. RPMs required:

Red Hat Enterprise Linux AS version 4:

SRPMS:
ftp://updates.redhat.com/enterprise/4AS/en/os/SRPMS/autofs5-5.0.1-0.rc2.55.el4_6.1.src.rpm
05d5179245e60b719cbb294d175b748a  autofs5-5.0.1-0.rc2.55.el4_6.1.src.rpm

i386:
843984a6c993a423d230b60a53bdac84  autofs5-5.0.1-0.rc2.55.el4_6.1.i386.rpm
26cb6bd2589982a94b432ecf0864ab3a  autofs5-debuginfo-5.0.1-0.rc2.55.el4_6.1.i386.rpm

ia64:
e8651311ccacbb795889d6c6fb5ea937  autofs5-5.0.1-0.rc2.55.el4_6.1.ia64.rpm
5b182c69e3ecfc639d9cdbdb67e5ba90  autofs5-debuginfo-5.0.1-0.rc2.55.el4_6.1.ia64.rpm

ppc:
17078df28123aef61102d27fdc23f36e  autofs5-5.0.1-0.rc2.55.el4_6.1.ppc.rpm
e567075f64c8c5c88b32d2a392f900fc  autofs5-debuginfo-5.0.1-0.rc2.55.el4_6.1.ppc.rpm

s390:
7dfd1842cd49a84cec0c647d1806020e  autofs5-5.0.1-0.rc2.55.el4_6.1.s390.rpm
e78775fdc40cb0e21f7df1a7ff3b6e42  autofs5-debuginfo-5.0.1-0.rc2.55.el4_6.1.s390.rpm

s390x:
f9df3328f755b3d40d724e83a5fa4bc4  autofs5-5.0.1-0.rc2.55.el4_6.1.s390x.rpm
d5b8283c0b0dc496ae8cbaf3500774e7  autofs5-debuginfo-5.0.1-0.rc2.55.el4_6.1.s390x.rpm

x86_64:
1ba8f965d1eab75e4245600c2ac8d188  autofs5-5.0.1-0.rc2.55.el4_6.1.x86_64.rpm
0521149a1e5eb334bcc68305596b16d0  autofs5-debuginfo-5.0.1-0.rc2.55.el4_6.1.x86_64.rpm

Red Hat Enterprise Linux Desktop version 4:

SRPMS:
ftp://updates.redhat.com/enterprise/4Desktop/en/os/SRPMS/autofs5-5.0.1-0.rc2.55.el4_6.1.src.rpm
05d5179245e60b719cbb294d175b748a  autofs5-5.0.1-0.rc2.55.el4_6.1.src.rpm

i386:
843984a6c993a423d230b60a53bdac84  autofs5-5.0.1-0.rc2.55.el4_6.1.i386.rpm
26cb6bd2589982a94b432ecf0864ab3a  autofs5-debuginfo-5.0.1-0.rc2.55.el4_6.1.i386.rpm

x86_64:
1ba8f965d1eab75e4245600c2ac8d188  autofs5-5.0.1-0.rc2.55.el4_6.1.x86_64.rpm
0521149a1e5eb334bcc68305596b16d0  autofs5-debuginfo-5.0.1-0.rc2.55.el4_6.1.x86_64.rpm

Red Hat Enterprise Linux ES version 4:

SRPMS:
ftp://updates.redhat.com/enterprise/4ES/en/os/SRPMS/autofs5-5.0.1-0.rc2.55.el4_6.1.src.rpm
05d5179245e60b719cbb294d175b748a  autofs5-5.0.1-0.rc2.55.el4_6.1.src.rpm

i386:
843984a6c993a423d230b60a53bdac84  autofs5-5.0.1-0.rc2.55.el4_6.1.i386.rpm
26cb6bd2589982a94b432ecf0864ab3a  autofs5-debuginfo-5.0.1-0.rc2.55.el4_6.1.i386.rpm

ia64:
e8651311ccacbb795889d6c6fb5ea937  autofs5-5.0.1-0.rc2.55.el4_6.1.ia64.rpm
5b182c69e3ecfc639d9cdbdb67e5ba90  autofs5-debuginfo-5.0.1-0.rc2.55.el4_6.1.ia64.rpm

x86_64:
1ba8f965d1eab75e4245600c2ac8d188  autofs5-5.0.1-0.rc2.55.el4_6.1.x86_64.rpm
0521149a1e5eb334bcc68305596b16d0  autofs5-debuginfo-5.0.1-0.rc2.55.el4_6.1.x86_64.rpm

Red Hat Enterprise Linux WS version 4:

SRPMS:
ftp://updates.redhat.com/enterprise/4WS/en/os/SRPMS/autofs5-5.0.1-0.rc2.55.el4_6.1.src.rpm
05d5179245e60b719cbb294d175b748a  autofs5-5.0.1-0.rc2.55.el4_6.1.src.rpm

i386:
843984a6c993a423d230b60a53bdac84  autofs5-5.0.1-0.rc2.55.el4_6.1.i386.rpm
26cb6bd2589982a94b432ecf0864ab3a  autofs5-debuginfo-5.0.1-0.rc2.55.el4_6.1.i386.rpm

ia64:
e8651311ccacbb795889d6c6fb5ea937  autofs5-5.0.1-0.rc2.55.el4_6.1.ia64.rpm
5b182c69e3ecfc639d9cdbdb67e5ba90  autofs5-debuginfo-5.0.1-0.rc2.55.el4_6.1.ia64.rpm

x86_64:
1ba8f965d1eab75e4245600c2ac8d188  autofs5-5.0.1-0.rc2.55.el4_6.1.x86_64.rpm
0521149a1e5eb334bcc68305596b16d0  autofs5-debuginfo-5.0.1-0.rc2.55.el4_6.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 <secalert@redhat.com>.  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)

iD8DBQFHX9cLXlSAg2UNWIIRAkoQAJ4+9umDxwigy4faU2m+8oKYve4kMwCeLPPY
9/EaBSmSyLMuYBt6umAfan4=
=/ani
- -----END PGP SIGNATURE-----

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        http://www.auscert.org.au/render.html?cid=1980

If you believe that your computer system has been compromised or attacked in 
any way, we encourage you to let us know by completing the secure National IT 
Incident Reporting Form at:

        http://www.auscert.org.au/render.html?it=3192

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================

-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQCVAwUBR2B96yh9+71yA2DNAQIeWAP/WJlS/JQ+QxpasFe0vQOlsqQuj8VRo+CM
NFqVOrR2h+wogITuY5eqkq2LkHANBRHl4+74w96KL4NSJUZqFG7jgzUuh7ibkpzc
PLRZcqXnUUjiOIk6Tc6OzXgpHgodGMZ1+CRsaFsSYp5uAyHcpxOIANcQTmMpAY35
dnKJkSB3N7o=
=eWSD
-----END PGP SIGNATURE-----