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

                         Note d'Information No. 2006/VULN186
_____________________________________________________________________

DATE                      : 21/04/2006

HARDWARE PLATFORM(S)      : Sun

OPERATING SYSTEM(S)       : Sun Solaris 9, 10

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

  Sun(sm) Alert Notification
      * Sun Alert ID: 102292
      * Synopsis: Sun Java Studio Enterprise 8 May Create World-Writable
        Files When Installed by Root
      * Category: Security
      * Product: Sun Java Studio Enterprise 8
      * BugIDs: 6309618
      * Avoidance: Patch, Workaround
      * State: Resolved
      * Date Released: 13-Apr-2006
      * Date Closed: 13-Apr-2006
      * Date Modified:

1. Impact

    A security vulnerability in Sun Java Studio Enterprise 8 may allow a
    local unprivileged user the ability to execute arbitrary commands as a
    user who runs Sun Java Studio due to the creation of certain files
    with world-writable permissions when the product is installed by root.

2. Contributing Factors

    This issue can occur in the following releases:

    SPARC Platform
      * Sun Java Studio Enterprise 8 (for Solaris 9 and Solaris 10)
        without patch 121045-04

    x86 Platform
      * Sun Java Studio Enterprise 8 (for Solaris 9 and Solaris 10)
        without patch 121045-04

3. Symptoms

    If the described issue occurs, certain files in the install directory
    will be world-writable when the product is installed by root.

4. Relief/Workaround

    No file under the install directory should be world-writable.

    To work around the described issue, the following command can be used
    to manually remove the write permission for others:
     $ find <jstudio_ent8> -perm -o+w -exec chmod o-w {} \;

    Note: <jstudio_ent8> is the installation root directory.

5. Resolution

    This issue is addressed in the following releases:

    SPARC Platform
      * Sun Java Studio Enterprise 8 (for Solaris 9 and Solaris 10) with
        patch 121045-04 or later

    x86 Platform
      * Sun Java Studio Enterprise 8 (for Solaris 9 and Solaris 10) with
        patch 121045-04 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     +
           =========================================================

