Note: This is an archival copy of Security Sun Alert 273350 as previously published on http://sunsolve.sun.com.
Latest version of this security advisory is available from http://support.oracle.com as Sun Alert 1021671.1.
Article ID : 1021671.1
Article Type : Sun Alerts (SURE)
Last reviewed : 2010-01-11
Audience : PUBLIC
Copyright Notice: Copyright © 2010, Oracle Corporation and/or its affiliates.

Security Vulnerability in the Transport Layer Security (TLS) and Secure Sockets Layer 3.0 (SSLv3) Protocols Involving Handshake Renegotiation Affects Applications Utilizing Network Security Services (NSS)



Category
Security

Release Phase
Resolved

Bug Id
6899486

Product
Sun Java Enterprise System 5
Sun Java Enterprise System 2005Q4
Solaris 8 Operating System
Solaris 9 Operating System
Solaris 10 Operating System
OpenSolaris

Date of Workaround Release
01-Dec-2009

Date of Resolved Release
09-Dec-2009

Security Vulnerability in the Transport Layer Security (TLS) and Secure Sockets Layer 3.0 (SSLv3) Protocols Involving Handshake Renegotiation Affects Applications Utilizing Network Security Services (NSS)

1. Impact

A security vulnerability in the Transport Layer Security (TLS) and Secure Sockets Layer 3.0 (SSLv3) protocols in the handling of session renegotiations affects applications utilizing Network Security Services (NSS). This issue may allow a remote unauthenticated user with the ability to intercept and control network traffic to perform a man-in-the-middle (MITM) attack to inject arbitrary plain text at the beginning of an application protocol stream, thus compromising the integrity of the communication. This vulnerability does not allow one to decrypt the intercepted network communication.

Sun acknowledges with thanks, Marsh Ray and Steve Dispensa of PhoneFactor for bringing this issue to our attention.

This issue is also referenced in the following documents:


2. Contributing Factors

This issue can occur in the following releases:

SPARC Platform
  • Solaris 8 without patch 119209-22
  • Solaris 9 without patch 119211-22
  • Solaris 10 without patch 119213-21
  • OpenSolaris based upon builds snv_01 through snv_129
  • Sun Java Enterprise System 5 without patch 125358-10
x86 Platform
  • Solaris 9 without patch 119212-22
  • Solaris 10 without patch 119214-21
  • OpenSolaris based upon builds snv_01 through snv_129
  • Sun Java Enterprise System 5 without patch 125359-10
Linux
  • Sun Java Enterprise System 2005Q4 and Sun Java Enterprise System 5 (for RHEL2.1 and RHEL3.0) without patch 142506-03
  • Sun Java Enterprise System 5 (for RHEL4.0 and RHEL5.0) without patch 121656-21
HP-UX
  • Sun Java Enterprise System 2005Q4 and Sun Java Enterprise System 5 without patch 124379-12
Windows
  • Java Enterprise System 2005Q4 without patch 124392-11
  • Java Enterprise System 5 without patch 125923-10
Notes:

1.  Network Security Services is not shipped with Solaris 8 for x86, so that release is not impacted.

2 . Solaris 8 entered EOSL Phase 2 on 1 April 2009. Entitlement to patches developed on or after 1 April 2009 requires the purchase of the Solaris 8 Vintage Patch Service. See Note in section 5 for more details.

3. Examples of server applications that use Network Security Services (NSS) are Sun Java System Messaging Server, Sun Java System Calendar Server 6 and 7, Sun Convergence, and Sun Java System Communications Express.

4. 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 NSS packages or patches are installed on a system, follow these instructions:

Solaris Platform

To determine if the package SUNWtls is installed, the following command may be used:
$ /usr/bin/pkginfo -l SUNWtls
Linux

Linux "sun-nss" packages 3.12.2 and earlier are vulnerable to this issue. To determine if the package "sun-nss" is installed and the version of the installed package, the following command may be used:
$ /bin/rpm -q sun-nss
HP-UX

To determine if the package "sun-nss" is installed, the following command may be used:
$ /usr/sbin/swlist sun-nss
To determine which patch level for "sun-nss" is installed, the following command may be used:
$ /usr/sbin/swlist 124379\*
Windows

To determine if Sun Java Enterprise System is installed, look into "Add or Remove Programs" from the Control Panel and check if Sun Java(TM) Enterprise System 2005Q4 or Sun Java(TM) Enterprise System 5 is listed as being currently installed.

To determine the list of JES patches installed on the system, the following command may be used:
% <JES installation directory>\utils\patch\ListJavaESPatches.exe
3. Symptoms

There are no predictable symptoms that would indicate the described issue has occurred.

4. Workaround

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

5. Resolution

This issue is addressed for applications that do not depend on TLS session renegotiations in the following releases:

SPARC Platform
  • Solaris 8 withpatch 119209-22 or later
  • Solaris 9 with patch 119211-22 or later
  • Solaris 10 with patch 119213-21 or later
  • OpenSolaris based upon builds snv_ 130 or later
  • Sun Java Enterprise System 5 with patch 125358-10 or later
x86 Platform
  • Solaris 9 with patch 119212-22 or later
  • Solaris 10 with patch 119214-21 or later
  • OpenSolaris based upon builds snv_ 130 or later
  • Sun Java Enterprise System 5 with patch 125359-10 or later
Linux
  • Sun Java Enterprise System 2005Q4 and Sun Java Enterprise System 5 (for RHEL2.1 and RHEL3.0) with patch 142506-03 or later
  • Sun Java Enterprise System 5 (for RHEL4.0 and RHEL5.0) with patch 121656-21 or later
HP-UX
  • Sun Java Enterprise System 2005Q4 and Sun Java Enterprise System 5 with patch 124379-12 or later
Windows
  • Sun Java Enterprise System 2005Q4 with patch 124392-11 or later
  • Sun Java Enterprise System 5 with patch 125923-10 or later
IMPORTANT: These Patches disable TLS session renegotiations. It is advisable to test these Patches with applications that use NSS libraries, before deploying them for wider use.

Notes:

1. If an application depends on renegotiation feature, it can be enabled by setting the environment variable NSS_SSL_ENABLE_RENEGOTIATION to 1. By setting this environmental variable, the fix provided by these patches will have no effect and the application may become vulnerable to the issue.

2. The READMEs of Solaris 8 patches developed on or after 1 April 2009 are available to all customers however Solaris 8 entered EOSL Phase 2 on April 1, 2009 and thus entitlement for these patches, including those that fix security vulnerabilities, requires the purchase of the Solaris 8 Vintage Patch Service. More information about the Solaris 8 Vintage Patch Service is available at:


For more information on Security Sun Alerts, see 1009886.1.

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
09-Dec-2009: Updated Contributing Factors and Resolution sections; now Resolved
12-Jan-2010: Addtional "Note" added in Contributing Factors section


References

142506-03
121656-21
124379-12
124392-11
125923-10
119209-22
119211-22
119212-22
119213-21
125358-10
125359-10











Attachments
This solution has no attachment