Security Vulnerability in the Solaris Simple Authentication and Security Layer (SASL) Library (see libsasl(3LIB)) Routine sasl_encode64(3SASL) may Allow Unprivileged Users to Crash Applications Using this Function



Category :Security
Release Phase :Resolved
Bug Id :6836899  
Product :Solaris 10 Operating System
OpenSolaris  
Date of Workaround Release :14-May-2009 
Date of Resolved Release :28-Jul-2009 

Security vulnerability in the Solaris Simple Authentication and Security Layer (SASL) Library (see libsasl(3LIB)) routine sasl_encode64(3SASL):


1. Impact

A buffer overflow security vulnerability in the Solaris Simple Authentication and Security Layer (SASL) library (see libsasl(3LIB)) routine sasl_encode64(3SASL) may allow local or remote unprivileged users to crash applications which use this function.

Solaris LDAP client (ldap(1)), sendmail(1M) and Solaris iSCSI implementation are examples of applications which use the vulnerable library.

This vulnerability is also described in the following documents:

CERT Vulnerability Note VU#238019 at:
CVE CVE-2009-0688 at:
2. Contributing Factors

This issue can occur in the following releases:

SPARC Platform
  • Solaris 10 without patch 141930-01
  • OpenSolaris based upon builds snv_01 through snv_117
x86 Platform
  • Solaris 10 without patch 141931-01
  • OpenSolaris based upon builds snv_01 through snv_117
Note 1: Solaris libsasl(3LIB) is based on the the Cyrus SASL code base.

Note 2:
Solaris 8 and Solaris 9 are not impacted by this issue.

Note 3: OpenSolaris distributions may include additional bug fixes above and beyond the build from which it was derived.  To determine the base build of OpenSolaris, the following command can be used:
    $ uname -v
snv_86
To determine if an application has a dynamic dependency on the libsasl(3LIB) library, the ldd(1) utility can be used:
    $ ldd /usr/lib/sendmail |grep libsasl
libsasl.so.1 =>  /usr/lib/libsasl.so.1
Note: Some applications may use libsasl(3LIB) but not report libsasl(3LIB) as a dynamic dependency with ldd(1) if the library is loaded by dlopen(3C).  Therefore, to display all shared objects used by an application, pldd(1) should be used against the running process:
    # pldd <pid of application> | grep libsasl
/usr/lib/libsasl.so.1
3. Symptoms

If the described issue occurs, the application which links to the libsasl(3LIB) library will crash, potentially leaving a core file depending on the system configuration.

4. Workaround

There is no workaround for this issue.  Please see the Resolution section below.

5. Resolution

This issue is addressed in the following releases:

SPARC Platform
  • Solaris 10 with patch 141930-01 or later
  • OpenSolaris based upon builds snv_118 or later
x86 Platform
  • Solaris 10 with patch 141931-01 or later
  • OpenSolaris based upon builds snv_118 or later
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-2009 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, CA 95054 U.S.A. All rights reserved.



Modification History

20-Jul-2009: Updated Contributing Factors and Resolution sections.
28-Jul-2009: Updated Contributing Factors and Resolution sections. Resolved.




Attachments
This solution has no attachment

 
 
Login Required

You must login and have a valid contract to access Sun's Premium content which includes:

  • Sun Alerts
  • Bugs
  • Patches
  • Solutions
  • White Papers
  • Documentation
  • Support Knowledge

Login Required

You must login and have a valid contract to access Sun's contracted features

Access Legend:

(Login to access)   Sun Contracted Content
(Login to access)   Sun Contracted Feature

Please make use of SunSolve Feedback application by selecting the floating [+] to provide feedback about this specific document.

Search

Article Details
Article ID : 259148
Article Type : Sun Alert
Last reviewed : 2009-07-29
Audience : PUBLIC
Keywords :
Provide feedback  (help)
Page Tools
»  Print This Page
»  Email This Article
»  Bookmark This Article
 
Contact About Sun News & Events Employment Site Map Privacy Terms of Use Trademarks Copyright Sun Microsystems, Inc. | SunSolve Version 7.4.0 #1