Protect yourself against future threats.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 =========================================================================== AUSCERT External Security Bulletin Redistribution ESB-2007.0291 -- [Win][UNIX/Linux][Solaris] Security Vulnerability in Sun Java System Directory Server May Cause Denial of Service (DoS) 3 May 2007 =========================================================================== AusCERT Security Bulletin Summary --------------------------------- Product: Sun Java System Directory Server 5.2 Sun Java System Directory Server Enterprise Edition Sun ONE Directory Server 5.1 Publisher: Sun Microsystems Operating System: Solaris UNIX variants (UNIX, Linux, OSX) Windows Impact: Denial of Service Access: Remote/Unauthenticated Original Bulletin: http://sunsolve.sun.com/search/printfriendly.do?assetkey=1-26-102895-1 - --------------------------BEGIN INCLUDED TEXT-------------------- Sun(sm) Alert Notification * Sun Alert ID: 102895 * Synopsis: Security Vulnerability in Sun Java System Directory Server May Cause Denial of Service (DoS) * Category: Security * Product: Sun Java System Directory Server 5.2, Sun Java System Directory Server Enterprise Edition, Sun ONE Directory Server 5.1 * BugIDs: 6421049 * Avoidance: Patch, Upgrade * State: Resolved * Date Released: 01-May-2007 * Date Closed: 01-May-2007 * Date Modified: 1. Impact A local or remote unprivileged user may be able to cause the Sun Java System Directory Server to crash. This is a Denial of Service (DoS) due to a "Ber decoding" issue in the LDAP Software Development Kit (SDK) for C. 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 Java System Directory Server 5 2003Q4 (5.2) * Sun Java System Directory Server 5 2004Q2 (5.2 Patch 2) * Sun Java System Directory Server 5 2005Q1 (5.2 Patch 3) * Sun Java System Directory Server 5 2005Q4 (5.2 Patch 4) PatchZIP (Compressed Archive) versions: * Sun ONE Directory Server 5.1 * Sun Java System Directory Server 5.2 * Sun Java System Directory Server 5.2 Patch 2 * Sun Java System Directory Server 5.2 Patch 3 * Sun Java System Directory Server 5.2 Patch 4 without Sun Java System Directory Server version 5.2 Patch 5 (see "Resolution" section). To determine the version of Directory Server running on a system, the following command can be used: $ cd <installation directory>/bin/slapd/server[/64] $ ./ns-slapd -V -D <instance-directory> 3. Symptoms Should the described issue occur, the Directory Server will crash with a message in the error log similar to the following (the malloc() bytes vary): [03/May/2006:08:44:30 +0200] - ERROR<5130> - Resource Limit - conn=-1 op=-1 msgId=-1- Memory allocation error malloc of 1879048193 bytes failed; errno 11 The server has probably allocated all available virtual memory. To solve th is problem, make more virtual memory available to your server, or reduce the size of the ser ver's `Maximum Entries in Cache' (cachesize) or `Maximum DB Cache Size' (dbcachesize) para meters. can't recover; calling exit(1) 4. Relief/Workaround There is no workaround for this issue. Please see Resolution section below. 5. Resolution This issue is addressed 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 Packages versions: Sun Java System Directory Server 5.2 Patch 5 (or later), as delivered in the following: * Solaris SPARC: 116837-03, 115614-27, 115610-24 * Solaris X86: 116838-03, 115615-27, 115611-24 * Linux: 118353-03, 118080-12, 118079-11 PatchZIP (Compressed Archive) Versions: Sun Java System Directory Server 5.2 Patch 5 (or later), as delivered in the following: * Solaris SPARC: 117665-04 * Solaris x86: 117666-04 * Linux: 117668-04 * Windows: 117667-04 * HP-UX: 117669-04 * AIX: 117670-04 To correct this issue for Sun ONE Directory Server 5.1, users should upgrade to version 5.2 and install the resolution listed above. Note: A fix for this issue is included in LDAP C SDK 5.18 (to be installed with 5.2 Patch 5. 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 - --------------------------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 iQCVAwUBRjlgvCh9+71yA2DNAQIQ+QQAkzvFIrMGMqvzeAWhouuAB5S2XYabgeAq AL3R+zqyOWpmakssv/bGzx4a4lsYt5OCTrAPlrRiBSE8mmuwn5yM7P/qH3CkuEJ+ zQcKU+90NRzKHP6jY+Fj+zkwmCkaibaZ39uxDZRQnSRI4GBTLjR+Xy4zw9qR7AZ3 BtIR8JcYNag= =c0yu -----END PGP SIGNATURE-----