__________________________________________________________ The U.S. Department of Energy Computer Incident Advisory Capability ___ __ __ _ ___ / | /_\ / \___ __|__ / \ \___ __________________________________________________________ INFORMATION BULLETIN Multiple Security Vulnerabilities in samba(7) [Sun Alert ID: 102964] June 15, 2007 11:00 GMT Number R-279 [REVISED 27 Jun 2007] ______________________________________________________________________________ PROBLEM: Multiple security vulnerabilities in the Samba (samba(7)) software for Solaris may allow a local or remote user to issue unauthorized Samba operations or to execute arbitrary code or commands with elevated privileges. PLATFORM: Solaris 9 and 10 Operating System, Samba HP Internet Express for Tru64 UNIX (IX) v 6.6 running Samba v3.0.23 DAMAGE: May allow a local or remote user to issue unauthorized Samba operations or to execute arbitrary code or commands with elevated privileges. SOLUTION: Upgrade to the appropriate version. ______________________________________________________________________________ VULNERABILITY The risk is LOW. May allow a local or remote user to issue ASSESSMENT: unauthorized Samba operations or to execute arbitrary code or commands with elevated privileges. ______________________________________________________________________________ LINKS: CIAC BULLETIN: http://www.ciac.org/ciac/bulletins/r-279.shtml ORIGINAL BULLETIN: http://www.sunsolve.sun.com/search/document.do?assetkey=1 -26-102964-1 ADDITIONAL LINK: Visit Hewlett-Packard's Subscription Service for: HPSBTU02218 SSRT071424 rev. 1 CVE: http://www.cve.mitre.org/cgi-bin/cvename.cgi?name= CVE-2007-2444 CVE-2007-2446 CVE-2007-2447 ______________________________________________________________________________ REVISION HISTORY: 06/27/2007 - revised R-279 to add a link to Hewlett-Packard's Subscription Service for HPSBTU02218 SSRT071424 rev. 1 for HP Internet Express for Tru64 UNIX (IX) v 6.6 running Samba v3.0.23. [***** Start Sun Alert ID: 102964 *****] Sun(sm) Alert Notification Sun Alert ID: 102964 Synopsis: Multiple Security Vulnerabilities in samba(7) May Allow Remote Code Execution, Elevation of Privileges, or Remote Shell Command Execution Category: Security Product: Solaris 9 Operating System, Solaris 10 Operating System, SAMBA BugIDs: 6557101 Avoidance: Workaround State: Workaround Date Released: 14-Jun-2007 Date Closed: Date Modified: 1. Impact Multiple security vulnerabilities in the Samba (samba(7)) software for Solaris may allow a local or remote user to issue unauthorized Samba operations or to execute arbitrary code or commands with elevated privileges. These issues are described in the following documents: CVE-2007-2444 at http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-2444 CVE-2007-2446 at http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-2446 CVE-2007-2447 at http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-2447 2. Contributing Factors These issues can occur in the following releases: SPARC Platform Solaris 9 Solaris 10 x86 Platform Solaris 9 Solaris 10 with the following versions of Samba software: Samba 3.0.0 through 3.0.25rc3 Samba 3.0.23d through 3.0.25pre2 Notes: Solaris 8 does not include the Samba software and is therefore not affected by these issues. These issues will only impact a system configured as a Samba server. To determine if a system is configured as a Samba server, the following command can be run to check for processes related to Samba: % ps -ef | grep mbd root 317 1 0 May 26 ? 0:01 /usr/sfw/sbin/smbd -D root 325 317 0 May 26 ? 0:00 /usr/sfw/sbin/smbd -D root 314 1 0 May 26 ? 0:27 /usr/sfw/sbin/nmbd -D root 28369 17382 0 23:17:46 pts/2 0:00 grep mbd If the output shows "smbd" or "nmbd" running as a daemon (with the -D parameter), the system is configured as a Samba server. To determine the version of Samba installed on a system, the following command can be run: % /usr/sfw/sbin/smbd -V Version 3.0.4 3. Symptoms There are no predictable symptoms that would indicate the described vulnerabilities have been exploited. Solution Summary Top 4. Relief/Workaround Until a resolution is available, sites which are affected may wish to stop the samba(7) service on affected hosts by running the following command: # /etc/init.d/samba stop followed by checking that smbd(8) or nmbd(8) is not running : % ps -ef | grep mbd 5. Resolution A final resolution is pending completion. This Sun Alert notification is being provided to you on an "AS IS" basis. This Sun Alert notification may contain information provided by third parties. The issues described in this Sun Alert notification may or may not impact your system(s). Sun makes no representations, warranties, or guarantees as to the information contained herein. ANY AND ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE HEREBY DISCLAIMED. BY ACCESSING THIS DOCUMENT YOU ACKNOWLEDGE THAT SUN SHALL IN NO EVENT BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, PUNITIVE, OR CONSEQUENTIAL DAMAGES THAT ARISE OUT OF YOUR USE OR FAILURE TO USE THE INFORMATION CONTAINED HEREIN. This Sun Alert notification contains Sun proprietary and confidential information. It is being provided to you pursuant to the provisions of your agreement to purchase services from Sun, or, if you do not have such an agreement, the Sun.com Terms of Use. This Sun Alert notification may only be used for the purposes contemplated by these agreements. Copyright 2000-2006 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, CA 95054 U.S.A. All rights reserved. [***** End Sun Alert ID: 102964 *****] _______________________________________________________________________________ CIAC wishes to acknowledge the contributions of Sun Microsystems 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) R-269: Cumulative Security Update for Outlook Express and Windows Mail (929123) R-270: Cumulative Security Update for Internet Explorer (933566) R-271: Vulnerability in the Windows Schannel Security Package (935840) R-272: Vulnerabilities in Microsoft Visio (927051) R-273: Vulnerability in Windows Vista (931213) R-274: Mozilla Firefox Vulnerability R-275: OpenOffice.org Heap Overflow R-276: Kernel Security and Bug Fix Update R-277: Security Vulnerability in Sun Java System Directory Server R-278: Security Vulnerability in Solaris 10 NFS XDR Handling