===================================================================== CERT-Renater Note d'Information No. 2009/VULN146 _____________________________________________________________________ DATE : 09/04/2009 HARDWARE PLATFORM(S) : / OPERATING SYSTEM(S) : Solaris 8, Solaris 9, Solaris 10, OpenSolaris running dircmp shell script. ====================================================================== http://sunsolve.sun.com/search/printfriendly.do?assetkey=1-66-253468-1 ______________________________________________________________________ Solution Type: Sun Alert Solution 253468 : A Security Vulnerability in the Solaris dircmp(1) Shell Script may Allow Overwriting of Arbitrary Files Bug ID: 6633566 Product Solaris 8 Operating System Solaris 9 Operating System Solaris 10 Operating System OpenSolaris Date of Resolved Release: 30-Mar-2009 SA Document Body A security vulnerability in the Solaris dircmp(1) shell script may allow overwriting of arbitrary files: 1. Impact A race condition security vulnerability in the Solaris dircmp(1) command may allow a local unprivileged user to overwrite or create arbitrary files on the system based on the privileges of the user calling dircmp(1). Sun would like to acknowledge, with thanks, River Tarnell of the Wikimedia Foundation for bringing this issue to our attention. 2. Contributing Factors This issue can occur in the following releases: SPARC Platform * Solaris 8 without patch 140837-01 * Solaris 9 without patch 138896-01 * Solaris 10 without patch 141014-01 * OpenSolaris based upon builds snv_01 through snv_111 x86 Platform * Solaris 8 without patch 140838-01 * Solaris 9 without patch 138897-01 * Solaris 10 without patch 141015-01 * OpenSolaris based upon builds snv_01 through snv_111 Note: OpenSolaris distributions may include additional bug fixes above and beyond the build from which it was derived. To determine the base build of OpenSolaris, the following command can be used: $ uname -v snv_101 3. Symptoms There are no predictable symptoms that would indicate the described issue has occurred. 4. Workaround There is no workaround for this issue. Please see the Resolution section below. 5. Resolution This issue is addressed in the following releases: SPARC Platform * Solaris 8 with patch 140837-01 or later * Solaris 9 with patch 138896-01 or later * Solaris 10 with patch 141014-01 or later * OpenSolaris based upon builds snv_112 or later x86 Platform * Solaris 8 with patch 140838-01 or later * Solaris 9 with patch 138897-01 or later * Solaris 10 with patch 141015-01 or later * OpenSolaris based upon builds snv_112 or later For more information on Security Sun Alerts, see Technical Instruction ID 213557. 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-2009 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, CA 95054 U.S.A. All rights reserved ====================================================================== ========================================================= Les serveurs de référence du CERT-Renater http://www.urec.fr/securite http://www.cru.fr/securite http://www.renater.fr ========================================================= + CERT-RENATER | tel : 01-53-94-20-44 + + 151 bd de l'Hopital | fax : 01-53-94-20-41 + + 75013 Paris | email: certsvp@renater.fr + =========================================================