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

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

                        ESB-2008.1104 -- [Solaris]
A Security Vulnerability in the OpenSSL PKCS#11 Engine May Result in Denial
             of Service (DoS) Due to a Corrupted Session Cache
                             12 December 2008

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

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

Product:              Solaris 10 Operating System
Publisher:            Sun Microsystems
Operating System:     Solaris
Impact:               Denial of Service
Access:               Remote/Unauthenticated
CVE Names:            CVE-2008-5410

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

Revision History:     December 12 2008: Added CVE
                      December  9 2008: Initial Release

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

Solution Type: Sun Alert

Solution  246846 :   A Security Vulnerability in the OpenSSL PKCS#11 Engine
May Result in Denial of Service (DoS) Due to a Corrupted Session Cache  

Bug ID
6602801

Product
Solaris 10 Operating System

Date of Resolved Release
03-Dec-2008

SA Document Body
A Security Vulnerability in the OpenSSL PKCS#11 Engine May Result in 
Denial of Service (DoS) Due to a Corrupted Session Cache


1. Impact

A security vulnerability in the OpenSSL PKCS#11 engine as shipped with 
Solaris 10 may affect applications which make use of this engine. The exact 
impact will vary depending on the application. This vulnerabiltiy may allow 
a local or remote unprivileged user to cause certain cryptographic operations 
within the application to fail (namely RSA_sign and RSA_verify), which is a
type of Denial of Service (DoS).

For example, if the OpenSSL PKCS#11 engine is used for SSL processing (for 
example, in the Apache webserver) it will result in SSL connections being 
dropped in the SSL handshake phase, thereby causing a Denial Of Service (DoS) 
due to a corrupted session cache.

2. Contributing Factors

This issue can occur in the following releases:

SPARC Platform

    * Solaris 10 without patch 139459-01

x86 Platform

    * Solaris 10 without patch 138863-02

Notes:

1. Solaris 8 and 9 and OpenSolaris are not impacted by this issue since they
do not ship with the OpenSSL PKCS#11 engine.

2. This issue only impacts applications making use of the OpenSSL PKCS#11 
engine. The exact method for determining whether an application is making use 
of this functionality will vary depending on the application.

3. Symptoms

The symptoms will vary depending on the application. For example, if the 
OpenSSL PKCS#11 engine is used for SSL processing, failed SSL handshakes may 
be observed as in the following example (from the Apache debug log file):

[Thu Sep 06 08:28:05 2008] [info] [client 192.0.2.1] 
SSL library error 1 in handshake (server ssl-server.example.com:443)
[Thu Sep 06 08:28:05 2008] [info] SSL Library Error: 
336105650 error:140890B2:SSL routines:SSL3_GET_CLIENT_CERTIFICATE:no certificate returned
[Thu Sep 06 08:28:05 2008] [info] SSL Library Error: 
2148044919 error:80089077:lib(128):PK11_DESTROY_OBJECT:C_DestroyObject failed
[Thu Sep 06 08:28:05 2008] [info] [client 192.0.2.1] 
Connection closed to child 126 with abortive shutdown (server ssl-server.example.com:443)

4. Workaround

Until patches can be applied, sites may wish to disable the OpenSSL PKCS#11 
engine altogether or just for RSA/DSA/DH functions (if possible) so that 
crypto processing will be done only via native OpenSSL routines. This may 
degrade the performance depending on how the engine is used and on the 
hardware crypto providers present in the system.

The method for doing this will vary depending on the application, and the 
documentation should be consulted for more details. For example, to disable 
the OpenSSL PKCS#11 engine in the Apache web server (see apache(1M)), comment 
out the following line from the SSL configuration file and restart the 
Webserver:

SSLCryptoDevice "pkcs11"

For Apache server shipped with Solaris 10, this directive is configured in 
'/etc/apache/httpd.conf' or '/etc/apache2/ssl.conf'.

5. Resolution

This issue is addressed in the following releases:

SPARC Platform

    * Solaris 10 with patch 139459-01 or later

x86 Platform

    * Solaris 10 with patch 138863-02 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-2008 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

iQCVAwUBSUHNuih9+71yA2DNAQJTXgP/TGj6hfhn4jlPguFzPKduI5BRU/act5Vr
KWPdy7Tk0kqydFaBNtsgZEVNI/CXUeFDVHUFCY7NVfim2zhSG4N5yqrfFvVGl1gH
aRNIzUKSdOe4rw4gIcEpHBY0dNC6bepwtGlK+mxaj6WApYIzuI41x+9zzRBGMmE0
qJefTbr/M3A=
=m8Ig
-----END PGP SIGNATURE-----