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

                         Note d'Information No. 2006/VULN253
_____________________________________________________________________

DATE                      : 18/05/2006

HARDWARE PLATFORM(S)      : /

OPERATING SYSTEM(S)       : Systems running Sun Java System Directory Server.

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

Sun(sm) Alert Notification
      * Sun Alert ID: 102345
      * Synopsis: Security Vulnerability in Sun Java System Directory
        Server Related to Initial Installation Data
      * Category: Security
      * Product: Sun Java System Directory Server 5.2
      * BugIDs: 4927976
      * Avoidance: Workaround
      * State: Resolved
      * Date Released: 16-May-2006
      * Date Closed: 16-May-2006
      * Date Modified:

1. Impact

    A security vulnerability in Sun Java System Directory Server 5.2 may
    allow a local or remote user to gain unauthorized administrative
    access to the Directory Server by logging in to the Directory Server
    console.

2. Contributing Factors

    This issue can occur in the following releases for all platforms
    (Solaris 8, Solaris 9, and Solaris 10 on Solaris SPARC and x86
    Platforms, Linux, Windows, HP-UX, and AIX):

    PatchZIP (Compressed Archive) versions:
      * Sun Java System Directory Server 5.2

    And if the initial installation was Sun One Directory Server 5.2:
      * Sun Java System Directory Server 5.2 Patch2
      * Sun Java System Directory Server 5.2 Patch3
      * Sun Java System Directory Server 5.2 Patch4

    Notes:
     1. This issue does not occur with the installation of Sun Java
        Directory Server 5 (2003Q4, 2004Q2, 2005Q1, 2005Q4) using native
        package installations.
     2. Sun ONE Directory Server 5.1 and earlier versions are not affected
        by this issue.
     3. The issue does not occur with a full (non-incremental) zip install
        of 5.2 Patch4. The full install is not available with Patch2 or
        Patch3, and as a result, these patch revisions are always
        affected.

    This issue is dependent on the version that was used during the
    initial installation of the Directory Server product. If the initial
    installation was made from an affected version, the wrong user data
    will have been entered into a file which was created during the
    installation of the administration server instance. Subsequent
    upgrades to an unaffected version of the product will not correct this
    issue. In that case the workaround described in the "Workaround
    /Resolution" section should still be applied.

3. Symptoms

    There are no predictable symptoms that would indicate the described
    issue has occurred.

4. Relief/Workaround

    The administrative user password (set during first installation) must
    be manually changed and can be accomplished in one of two ways:

    Administrative Console:
     1. Start the console and log in as "administrator" or "directory
        manager"
     2. Select "admin server"
     3. Select "user" tab
     4. Select "access" tab
     5. Set the new password

    Or:

    Using the command line, the following command can be run:
% <serverroot>/bin/admin/adminconfig -server <server>:<port> -user <adminuser>:
<adminpassword> -setAdminPwd <new passwd>

    Then check that <serverroot>/admin-serv/config/admpw has been changed
    by using a command such as 'ls(1)' to examine the file's modification
    time.

5. Resolution

    Please see the "Relief/Workaround" section above for the resolution to
    this issue.

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


