__________________________________________________________ The U.S. Department of Energy Computer Incident Advisory Capability ___ __ __ _ ___ / | /_\ / \___ __|__ / \ \___ __________________________________________________________ INFORMATION BULLETIN Security Vulnerability in the rcp(1) Command [Sun Alert ID: 102978] July 12, 2007 15:00 GMT Number R-301 ______________________________________________________________________________ PROBLEM: A security vulnerability int he way the rcp(1) command invokes helper applications may allow a local unprivilegeduser (or a remote user in the case of shared filesystems) to create files with specially crafted file names which could lead to the execution of arbitrary commands with the privileges of a local user when that local user executes the rcp(1) command on the specially crafted file names. PLATFORM: Solaris 8, 9, 10 Operating System DAMAGE: Could lead to the execution of arbitrary commands with the privileges of a local user when that local user executes the rcp(1) command on the specially crafted file names. SOLUTION: Upgrade to the appropriate version. ______________________________________________________________________________ VULNERABILITY The risk is LOW. Local unprivileged user. ASSESSMENT: ______________________________________________________________________________ LINKS: CIAC BULLETIN: http://www.ciac.org/ciac/bulletins/r-301.shtml ORIGINAL BULLETIN: http://www.sunsolve.sun.com/search/document.do?assetkey=1 -26-102978-1 CVE: http://www.cve.mitre.org/cgi-bin/cvename.cgi?name= CVE-2006-0225 ______________________________________________________________________________ [***** Start Sun Alert ID: 102978 *****] Sun(sm) Alert Notification Sun Alert ID: 102978 Synopsis: Security Vulnerability in the rcp(1) Command May Allow Execution of Unintended Commands Category: Security Product: Solaris 9 Operating System, Solaris 10 Operating System, Solaris 8 Operating System BugIDs: 6473508 Avoidance: Patch, Workaround State: Resolved Date Released: 10-Jul-2007 Date Closed: 10-Jul-2007 Date Modified: 1. Impact A security vulnerability in the way the rcp(1) command invokes helper applications may allow a local unprivileged user (or a remote user in the case of shared filesystems) to create files with specially crafted file names which could lead to the execution of arbitrary commands with the privileges of a local user when that local user executes the rcp(1) command on the specially crafted file names. Note: The scp(1) utility is also affected by this issue which is described in the following documents: CVE-2006-0225 at: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-0225 Sun Alert 102961 at: http://sunsolve.sun.com/search/document.do?assetkey=1-26-102961-1 2. Contributing Factors This issue can occur in the following releases: SPARC Platform Solaris 8 without patches 110670-04 and 114669-04 Solaris 9 without patch 114716-05 Solaris 10 without patch 121132-03 x86 Platform Solaris 8 without patches 110671-04 and 114670-04 Solaris 9 without patch 114717-05 Solaris 10 without patch 125794-02 3. Symptoms There are no predictable symptoms that would indicate the described issue has been exploited to execute arbitrary commands. Solution Summary Top 4. Relief/Workaround This issue will only occur if the rcp(1) command is executed on files that have specially crafted file names. Therefore, it may be possible to work around this issue by avoiding the use of the rcp(1) command on untrusted file names, for example, in directories that are writable by untrusted users. 5. Resolution This issue is addressed in the following releases: SPARC Platform Solaris 8 with patches 110670-04 and 114669-04 or later Solaris 9 with patch 114716-05 or later Solaris 10 with patch 121132-03 or later x86 Platform Solaris 8 with patches 110671-04 and 114670-04 or later Solaris 9 with patch 114717-05 or later Solaris 10 with patch 125794-02 or later 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: 102978 *****] _______________________________________________________________________________ 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-291: Evollution Data Server Vulnerability R-292: gfax R-293: HP Instant Support - Driver Check Running on Windows XP R-294: Vulnerability in Windows Active Directory (926122) R-295: Vulnerabilities in .NET Framework (931212) R-296: Vulnerability in Microsoft Internet Information Services (939373) R-297: Vulnerabilities in Microsoft Excel (936542) R-298: Vulnerability in Windows Vista Firewall (935807) R-299: Vulnerability in Microsoft Office Publisher 2007 (936548) R-300: Flash Player Vulnerability