copyright | disclaimer | privacy | contact  
Australia's Leading Computer Emergency Response Team
 
Search this site

 
On this site

 > HOME
 > About AusCERT
 > Membership
 > Contact Us
 > PKI Services
 > Training
 > Publications
 > Sec. Bulletins
 > Conferences
 > News & Media
 > Services
 > Web Log
 > Site Map
 > Site Help
 > Member login





 

ESB-2009.1413 - [Win][Linux][HP-UX][Solaris] Sun Microsystems: Execute arbitrary code/commands - Remote/unauthenticated

Date: 15 October 2009
References: ESB-2009.1184  ESB-2009.1252  ESB-2009.1223  ASB-2010.0030  

Click here for printable version
Click here for PGP verifiable version
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

                               ESB-2009.1413
          Heap Overflow in a Regular Expression Parser in Network
              Security Services (NSS) may Affect SSL Clients
                              15 October 2009

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

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

Product:           Solaris 9
                   Solaris 10
                   Sun Java Enterprise System 5
                   Sun Java Enterprise System 2005
Publisher:         Sun Microsystems
Operating System:  Solaris
                   Linux variants
                   HP-UX
                   Windows
Impact/Access:     Execute Arbitrary Code/Commands -- Remote/Unauthenticated
                   Denial of Service               -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2009-2404  

Reference:         ESB-2009.1252
                   ESB-2009.1223
                   ESB-2009.1184

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

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

Solution Type: Sun Alert
Solution  267031 :   Heap Overflow in a Regular Expression Parser in
Network Security Services (NSS) may Affect SSL Clients (CVE-2009-2404)          
Bug ID: 6874719

Product:
Solaris 9 Operating System
Solaris 10 Operating System
Sun Java Enterprise System 5
Sun Java Enterprise System 2005

Date of Resolved Release: 13-Oct-2009

SA Document Body
A heap overflow vulnerability in Network Security Services (NSS):

1. Impact

A heap overflow vulnerability in Network Security Services (NSS) may
allow a remote SSL server to cause a Denial of Service (DoS) to SSL
client applications or to possibly execute arbitrary code with the
privileges of the SSL client application, via a long domain name in
the subject's Common Name (CN) field of an X.509 certificate, related
to the "cert_TestHostName" function.
Firefox, Thunderbird, Pidgin and Evolution are examples of vulnerable
SSL client applications.

This issue is also described in the following document:
    CVE-2009-2404 at:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-2404

2. Contributing Factors

This issue can occur in the following releases:
SPARC Platform
  * Solaris 9 without patch 119211-21
  * Solaris 10 without patch 119213-20
  * Sun Java Enterprise System 2005Q4 (for Solaris 8) without patch
    119209-21
  * Sun Java Enterprise System 2005Q4 (for Solaris 9) without patch
    119211-21
  * Sun Java Enterprise System 2005Q4 (for Solaris 10) without patch
    119213-20
  * Sun Java Enterprise System 5 without patch 125358-09

x86 Platform
  * Solaris 9 without patch 119212-21
  * Solaris 10 without patch 119214-20
  * Sun Java Enterprise System 2005Q4 (for Solaris 9) without patch
    119212-21
  * Sun Java Enterprise System 2005Q4 (for Solaris 10) without patch
    119214-20
  * Sun Java Enterprise System 5 without patch 125359-09

Linux Platform
  * Sun Java Enterprise System 2005Q4 and Sun Java Enterprise System 5
    (for RHEL2.1 and RHEL3.0) without patch 142506-02
  * Sun Java Enterprise System 5 (for RHEL4.0 and RHEL5.0) without
    patch 121656-20

HP-UX
  * Sun Java Enterprise System 2005Q4 and Sun Java Enterprise System 5
    without patch 124379-11

Windows Platform
  * Sun Java Enterprise System 2005Q4 without patch 124392-10
  * Sun Java Enterprise System 5 without patch 125923-09

Note 1: Sun Java Enterprise System is not supported on Solaris 8 x86.
Note 2: To determine if a package or a patch is 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 Platform

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

Note: Linux "sun-nss" packages 3.12.2 and earlier are vulnerable to
this issue.
HP-UX Platform
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 Platform
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

Note 3: All systems with NSS versions prior to NSS 3.12.3 are
potentially vulnerable to this issue.

Systems with NSS 3.12.3 using the environment variable named
"NSS_USE_SHEXP_IN_CERT_NAME" are also potentially vulnerable.
Systems with NSS 3.12.3 NOT using the environment variable named
"NSS_USE_SHEXP_IN_CERT_NAME" are NOT vulnerable.
Systems with NSS 3.12.4 (and later versions), wether or not using the
environment variable named "NSS_USE_SHEXP_IN_CERT_NAME", are NOT
vulnerable.

3. Symptoms

There are no symptoms that would indicate the described issue has been
exploited to execute abitrary code. A crafted X.509 certificate which
may trigger the vulnerability would contain an unusually long domain
name in the Common Name (CN) field.

4. Workaround

To work around the described issue on systems with NSS 3.12.3 only, do
not set the "NSS_USE_SHEXP_IN_CERT_NAME" environment variable.

5. Resolution

This issue is addressed in the following releases WITHOUT the
environment variable NSS_USE_SHEXP_IN_CERT_NAME set:
SPARC Platform
  * Solaris 9 with patch 119211-21 or later
  * Solaris 10 with patch 119213-20 or later
  * Sun Java Enterprise System 2005Q4 (for Solaris 8) with patch
    119209-21 or later
  * Sun Java Enterprise System 2005Q4 (for Solaris 9) with patch
    119211-21 or later
  * Sun Java Enterprise System 2005Q4 (for Solaris 10) with patch
    119213-20 or later
  * Sun Java Enterprise System 5 with patch 125358-09 or later

x86 Platform
  * Solaris 9 with patch 119212-21 or later
  * Solaris 10 with patch 119214-20 or later
  * Sun Java Enterprise System 2005Q4 (for Solaris 9) with patch
    119212-21 or later
  * Sun Java Enterprise System 2005Q4 (for Solaris 10) with patch
    119214-20 or later
  * Sun Java Enterprise System 5 with patch 125359-09 or later

Linux Platform
  * Sun Java Enterprise System 2005Q4 and Sun Java Enterprise System 5
    (for RHEL2.1 and RHEL3.0) with patch 142506-02 or later
  * Sun Java Enterprise System 5 (for RHEL4.0 and RHEL5.0) with patch
    121656-20 or later

HP-UX
  * Sun Java Enterprise System 2005Q4 and Sun Java Enterprise System 5
    with patch 124379-11 or later

Windows Platform
  * Sun Java Enterprise System 2005Q4 with patch 124392-10 or
    later
  * Sun Java Enterprise System 5 with patch 125923-09 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

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

iD8DBQFK1moUNVH5XJJInbgRApe2AJ9scX1WPRM2Is0ZJEFHjzr4jL9SnwCfSqk3
JJaxGh+ijY0ldN3y8JPAKJU=
=6drB
-----END PGP SIGNATURE-----