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

                          Note d'Information No. 2007/VULN146
_____________________________________________________________________

DATE                      : 26/03/2007

HARDWARE PLATFORM(S)      : /

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

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

Sun(sm) Alert Notification

    This is a preliminary Sun Alert notification. Sun provides these
    notices in an effort to allow customers to implement mitigation
    strategies while these issues are being investigated. The information
    contained in these documents is likely to change as more is learned
    about the applicable issues. At the time of publication, workarounds
    and/or final resolutions are not available for the issues. Preliminary
    Sun Alert notifications will be updated as more information becomes
    available.
      * Sun Alert ID: 102853
      * Synopsis: The Directory Server ("ns-slapd") May Exit Unexpectedly
        When Handling Certain Queries
      * Category: Security
      * Product: Sun Java System Directory Server 5.1 Service Pack 3, Sun
        Java System Directory Server 5.2, Sun Java System Directory Server
        Enterprise Edition
      * BugIDs: 6462036
      * Avoidance: None
      * State: Preliminary
      * Date Released: 23-Mar-2007
      * Date Closed:
      * Date Modified:

1. Impact

    The Directory Server process "ns-slapd" may be terminated by a local
    or remote unprivileged user. This would cause a Denial of Service
    (DoS) to directory server services hosted on the affected system.

    Sun acknowledges with thanks, iDefense (http://www.idefense.com),
    for bringing this issue to our attention.

    This issue is also described in the following document:
      * http://labs.idefense.com/intelligence/vulnerabilities/display.p
        hp?id=491

2. Contributing Factors

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

    Native Package Versions:
      * Sun ONE Directory Server 5.2
      * Sun Java System Directory Server 5 2003Q4 (5.2patch1)
      * Sun Java System Directory Server 5 2004Q2 (5.2patch2)
      * Sun Java System Directory Server 5 2005Q1 (5.2patch3)
      * Sun Java System Directory Server 5 2005Q4 (5.2patch4)

    PatchZIP (Compressed Archive) versions:
      * Sun ONE Directory Server 5.1
      * 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

3. Symptoms

    If the described issue occurs, the Directory Server exits unexpectedly
    at the second request and a message similar to the following is logged
    for the first request:
     [10/Oct/2006:10:32:10 +0200] conn=0 op=0 msgId=1 - ber decoding error (op=C
ompare; params=DN,Type,Value)
     [10/Oct/2006:10:32:10 +0200] conn=0 op=0 msgId=1 - RESULT err=2 tag=111 nen
tries=0 etime=0

4. Relief/Workaround

    There is no workaround for this issue.

    To recover from an unresponsive LDAP server instance, the following
    command can be used to restart the LDAP server process:

    On UNIX systems (usually as root user):
     # <server instance path>/start-slapd

    On Windows systems, open the "Services" panel and start the service
    manually.

5. Resolution

    A final resolution is pending completion.

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

