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

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

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

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

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

Product:           Sun Directory Server Enterprise Edition
                   Sun Java System Directory Server Enterprise Edition 6.0
                   Sun Java System Directory Server Enterprise Edition 6.1
                   Sun Java System Directory Server Enterprise Edition 6.2
                   Sun Java System Directory Server Enterprise Edition 6.3
                   Sun Java System Directory Server 5.2
Publisher:         Sun Microsystems
Operating System:  Solaris
Impact/Access:     Denial of Service -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2010-0708  

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

Revision History:  February 26 2010: Added CVE reference
                   February 26 2010: Initial Release

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

Article ID : 275711
Article Type : Sun Alert
Last reviewed : 2010-02-24
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 : Workaround
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
Date of Workaround Release : 24-Feb-2010

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 without patch
    143884-01

This issue can occur in the following releases for Solaris 9 and 10 on
SPARC platform, 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 without
    patch 143463-01
  * 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

This issue is addressed in the following release (for Solaris 9 and 10
on SPARC and x64 platforms, Linux, HP-UX and Windows):
PatchZIP (Compressed Archive) and Native package versions:
  * Sun Directory Server Enterprise Edition 7.0 with patch
    143884-01 or later

This issue is addressed in the following release (for Solaris 9 and 10
on SPARC, x86 and x64 platforms, Linux, HP-UX and Windows):
PatchZIP (Compressed Archive) and Native package versions:
  * Sun Java System Directory Server Enterprise Edition 6.3.1 with
    patch 143463-01 or later

Systems with Sun Java System Directory Server Enterprise Edition
versions before 6.3.1 are recommended to upgrade to 6.3.1 and then
install the resolution patch listed above.
The upgrade procedure is described in "Sun Java System Directory
Server Enterprise Edition 6.3.1 Release Notes" in Chapter 2 at:

  http://docs.sun.com/doc/820-5817/gibic

A final resolution is pending completion.

For more information on Security Sun Alerts, see Technical
Instruction ID 213557.

Modification History
24-Feb-2010: Updated Contributing Factors and Resolution sections for patch 
release

Attachments
This solution has no attachment

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

iD8DBQFLhzkU/iFOrG6YcBERAnBlAJ9JegGkOPFBFpLCmLAypXIEWx3TMACgoBVn
C03dD079fj5o1iTCYy3/yVU=
=pHR1
-----END PGP SIGNATURE-----