__________________________________________________________ The U.S. Department of Energy Computer Incident Advisory Capability ___ __ __ _ ___ / | /_\ / \___ __|__ / \ \___ __________________________________________________________ INFORMATION BULLETIN autofs Security Update [Red Hat RHSA-2007:1128-6] December 12, 2007 19:00 GMT Number S-081 [REVISED 14 Dec 2007] ______________________________________________________________________________ PROBLEM: There was a security issue with the default installed configurationof autofs version 5 whereby the entry for the "hosts" map did not specify the "nosuid" mount option. PLATFORM: Red Hat Enterprise Linux (v. 5 server) Red Hat Enterprise Linux Desktop (v. 5 client) Red Hat Desktop (v. 4) Red Hat Enterprise Linux AS, ES, WS (v. 4) DAMAGE: Elevation of privileges, user to root. SOLUTION: Upgrade to the appropriate version. ______________________________________________________________________________ VULNERABILITY The risk is MEDIUM. A local user with control of a remote nfs ASSESSMENT: 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. ______________________________________________________________________________ LINKS: CIAC BULLETIN: http://www.ciac.org/ciac/bulletins/s-081.shtml ORIGINAL BULLETIN: https://rhn.redhat.com/errata/RHSA-2007-1128.html ADDITIONAL LINK: https://rhn.redhat.com/errata/RHSA-2007-1129.html CVE: http://www.cve.mitre.org/cgi-bin/cvename.cgi?name= CVE-2007-5964 ______________________________________________________________________________ REVISION HISTORY: 12/14/2007 - revised S-081 to add a link to Red Hat RHSA-2007:1129-5 for Red Hat Desktop (v. 4), and Red Hat Enterprise Linux AS, ES, WS (v. 4). [***** Start Red Hat RHSA-2007:1128-6 *****] Important: autofs security update Advisory: RHSA-2007:1128-6 Type: Security Advisory Severity: Important Issued on: 2007-12-12 Last updated on: 2007-12-12 Affected Products: Red Hat Enterprise Linux (v. 5 server) Red Hat Enterprise Linux Desktop (v. 5 client) OVAL: com.redhat.rhsa-20071128.xml CVEs (cve.mitre.org): CVE-2007-5964 Details 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. 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. 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.1.src.rpm 2a25ed0ef9c01abe09f19f8a89452fcd IA-32: autofs-5.0.1-0.rc2.55.el5.1.i386.rpm 29d9a96e22d453a52c3cb6b2663bd984 IA-64: autofs-5.0.1-0.rc2.55.el5.1.ia64.rpm 8abb97c8cd6ad16e67780c6d4251ded3 PPC: autofs-5.0.1-0.rc2.55.el5.1.ppc.rpm 780aa280f5927f34506acd60353bf0fc s390x: autofs-5.0.1-0.rc2.55.el5.1.s390x.rpm 37a973950e8683cbaf4b47caa2458ffb x86_64: autofs-5.0.1-0.rc2.55.el5.1.x86_64.rpm 234de8994b5e122cff78e9655e19d510 Red Hat Enterprise Linux Desktop (v. 5 client) -------------------------------------------------------------------------------- SRPMS: autofs-5.0.1-0.rc2.55.el5.1.src.rpm 2a25ed0ef9c01abe09f19f8a89452fcd IA-32: autofs-5.0.1-0.rc2.55.el5.1.i386.rpm 29d9a96e22d453a52c3cb6b2663bd984 x86_64: autofs-5.0.1-0.rc2.55.el5.1.x86_64.rpm 234de8994b5e122cff78e9655e19d510 (The unlinked packages above are only available from the Red Hat Network) Bugs fixed (see bugzilla for more information) 410031 - CVE-2007-5964 autofs defaults don't restrict suid in /net References http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-5964 http://www.redhat.com/security/updates/classification/#important -------------------------------------------------------------------------------- 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/ [***** End Red Hat RHSA-2007:1128-6 *****] _______________________________________________________________________________ CIAC wishes to acknowledge the contributions of Red Hat for the information contained in this bulletin. _______________________________________________________________________________ CIAC, the Computer Incident Advisory Capability, is the computer security incident response team for the U.S. Department of Energy (DOE) and the emergency backup response team for the National Institutes of Health (NIH). CIAC is located at the Lawrence Livermore National Laboratory in Livermore, California. CIAC is also a founding member of FIRST, the Forum of Incident Response and Security Teams, a global organization established to foster cooperation and coordination among computer security teams worldwide. CIAC services are available to DOE, DOE contractors, and the NIH. CIAC can be contacted at: Voice: +1 925-422-8193 (7x24) FAX: +1 925-423-8002 STU-III: +1 925-423-2604 E-mail: ciac@ciac.org Previous CIAC notices, anti-virus software, and other information are available from the CIAC Computer Security Archive. World Wide Web: http://www.ciac.org/ Anonymous FTP: ftp.ciac.org PLEASE NOTE: Many users outside of the DOE, ESnet, and NIH computing communities receive CIAC bulletins. If you are not part of these communities, please contact your agency's response team to report incidents. Your agency's team will coordinate with CIAC. The Forum of Incident Response and Security Teams (FIRST) is a world-wide organization. A list of FIRST member organizations and their constituencies can be obtained via WWW at http://www.first.org/. This document was prepared as an account of work sponsored by an agency of the United States Government. Neither the United States Government nor the University of California nor any of their employees, makes any warranty, express or implied, or assumes any legal liability or responsibility for the accuracy, completeness, or usefulness of any information, apparatus, product, or process disclosed, or represents that its use would not infringe privately owned rights. Reference herein to any specific commercial products, process, or service by trade name, trademark, manufacturer, or otherwise, does not necessarily constitute or imply its endorsement, recommendation or favoring by the United States Government or the University of California. The views and opinions of authors expressed herein do not necessarily state or reflect those of the United States Government or the University of California, and shall not be used for advertising or product endorsement purposes. LAST 10 CIAC BULLETINS ISSUED (Previous bulletins available from CIAC) S-071: Zabbix Vulnerability S-072: OpenOffice.org2 Security Update S-073: Vulnerability in SMBv2 S-074: Vulnerabilities in DirectX S-075: Vulnerability in Macrovision Driver S-076: Cumulative Security Update for Internet Explorer S-077: Vulnerability in Message Queuing S-078: Vulnerability in Windows Media File Format S-079: Vulnerability in Windows Kernel S-080: Samba Security and Bug Fix Update