-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                               ESB-2010.0070
 Security Vulnerability in the Sun Java System Directory Server May Allow
 Crafted LDAP Search Requests To Cause A Denial Of Service (DoS) Condition
                              21 January 2010

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

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           Sun Java System Directory Server
Publisher:         Sun Microsystems
Operating System:  Solaris
                   Linux variants
                   Windows
                   HP-UX
Impact/Access:     Denial of Service -- Remote/Unauthenticated
Resolution:        Mitigation

Original Bulletin: 
   http://sunsolve.sun.com/search/printfriendly.do?assetkey=1-66-275711-1

Comment: Please note at the time of publication there was no workaround or
         resolution provided by Sun.
         
         Until a fix is released, users should consider restricting network
         access to the Sun Java System Directory Server and monitor traffic
         and system performance for unusual activity.

- --------------------------BEGIN INCLUDED TEXT--------------------

Article ID : 275711
Article Type : Sun Alert
Last reviewed : 2010-01-20
Audience : PUBLIC
Keywords :

Copyright Notice: Copyright © 2009 Sun Microsystems, Inc. All Rights
Reserved

Security Vulnerability in the Sun Java System Directory Server May
Allow Crafted LDAP Search Requests To Cause A Denial Of Service (DoS)
Condition
  _________________________________________________________________

Category : Security
Release Phase : Preliminary
Bug Id : 6915746
Product : Sun Directory Server Enterprise Edition
Sun Java System Directory Server Enterprise Edition 6.3
Sun Java System Directory Server Enterprise Edition 6.2
Sun Java System Directory Server Enterprise Edition 6.1
Sun Java System Directory Server Enterprise Edition 6.0
Sun Java System Directory Server 5.2

Security Vulnerability in the Sun Java System Directory Server May Allow 
Crafted LDAP Search Requests To Cause A Denial Of Service (DoS) Condition


1. Impact
A security vulnerability in the Sun Java System Directory Server
(ns-slapd and slapd.exe) may allow a remote unprivileged user to crash
the Directory Server process via crafted LDAP search requests, thereby
leading to a Denial of Service (DoS) condition.

2. Contributing Factors
This issue can occur in the following releases for Solaris 9 and 10 on
SPARC platform, Solaris 10 on x64 platform, Linux, Windows, and HP-UX:
PatchZIP (Compressed Archive) and Native package versions:
  * Sun Directory Server Enterprise Edition 7.0

This issue can occur in the following releases for Solaris 9 and 10 on
SPARC, x86 and x64 platforms, Linux, Windows, and HP-UX:
PatchZIP (Compressed Archive) and Native package versions:
  * Sun Java System Directory Server Enterprise Edition 6.3.1
  * Sun Java System Directory Server Enterprise Edition 6.3
  * Sun Java System Directory Server Enterprise Edition 6.2
  * Sun Java System Directory Server Enterprise Edition 6.1
  * Sun Java System Directory Server Enterprise Edition 6.0

This issue can occur in the following releases for Solaris 9 and 10 on
SPARC, x86 and x64 platforms, Linux, Windows, AIX and HP-UX:
PatchZIP (Compressed Archive) and Native package versions:
  * Sun Java System Directory Server 5.2

To determine the version of Directory Server running on a system, the
following command can be run:
For Directory Server 5.2:
On Solaris, Linux, AIX and HP-UX systems:
$ cd <installation directory>/bin/slapd/server
$ ./ns-slapd -V -D <instance-directory>

On 64-bit Solaris:
$ cd <installation directory>/bin/slapd/server/64
$ ./ns-slapd -V -D <instance-directory>

On 64-bit HP-UX:
$ cd <installation directory>/bin/slapd/server/pa20_64
$ ./ns-slapd -V -D <instance-directory>

On Windows systems:

cd <installation directory>\bin\slapd\server
slapd.exe -V -D <instance-directory>

If the output contains the version string 5.2, the system is affected
by this issue.
For Directory Server 6.x:
On Solaris, Linux and HP-UX systems (including 64-bit systems):
$ cd <installation directory>/ds6/bin
$ ./dsadm -V

On Windows systems:
cd <installation directory>\ds6\bin
dsadm.exe -V

If the output contains the version string 6.0, 6.1, 6.2, 6.3 or 6.3.1,
the system is affected by this issue.
For Directory Server 7.0:
On Solaris, Linux and HP-UX systems (including 64-bit systems):
$ cd <installation directory>/bin
$ ./dsadm -V

On Windows systems:
cd <installation directory>\bin
dsadm.exe -V

If the output contains the version string 7.0, the system is affected
by this issue.

3. Symptoms
If the described issue occurs, the Directory Server may crash,
resulting in the service being no longer available. If the system is
configured to dump core, the stack trace may be observed to be similar
to the following:
parse_LDAPProxyAuth ()
core_get_proxyauth_dn ()
common_core_set_pb ()
search_core_set_pb ()
ldap_decode_search ()
ldap_parse_request ()
process_ldap_operation_using_core_api ()
ldap_frontend_main_using_core_api ()


4. Workaround
There is no workaround available for this issue.

5. Resolution
A final resolution is pending completion.

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-2010 Sun Microsystems, Inc., 4150 Network Circle, Santa
Clara, CA 95054 U.S.A. All rights reserved

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        http://www.auscert.org.au/render.html?cid=1980

If you believe that your computer system has been compromised or attacked in 
any way, we encourage you to let us know by completing the secure National IT 
Incident Reporting Form at:

        http://www.auscert.org.au/render.html?it=3192

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iD8DBQFLV+BQNVH5XJJInbgRAtqoAJwIYlO4/XJT5WvgYhUUyeGFCqm3dQCdFURj
SmhJnIQJwNEewycvkLWl7ns=
=Xzt8
-----END PGP SIGNATURE-----