=====================================================================
                                   CERT-Renater

                        Note d'Information No. 2007/VULN295
_____________________________________________________________________

DATE                      : 12/07/2007

HARDWARE PLATFORM(S)      : /
                                               	
OPERATING SYSTEM(S)       : Sun Solaris 8 à 10

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

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.

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

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

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






