SecurityTracker.com
Keep Track of the Latest Vulnerabilities
with SecurityTracker!
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 
Sign Up
Sign Up for Your FREE Weekly SecurityTracker E-mail Alert Summary
Instant Alerts
Buy our Premium Vulnerability Notification Service to receive customized, instant alerts
Affiliates
Put SecurityTracker Vulnerability Alerts on Your Web Site -- It's Free!
Partners
Become a Partner and License Our Database or Notification Service
Report a Bug
Report a vulnerability that you have found to SecurityTracker
bugs
@
securitytracker.com






Category:   Application (Web Browser)  >   Mozilla Firefox Vendors:   Mozilla.org
Mozilla Firefox Integer Underflow in Processing SSLv2 Server Messages Lets Remote Users Execute Arbitrary Code
SecurityTracker Alert ID:  1017696
SecurityTracker URL:  http://securitytracker.com/id/1017696
CVE Reference:   CVE-2007-0008, CVE-2007-0009   (Links to External Site)
Date:  Feb 23 2007
Impact:   Execution of arbitrary code via network, User access via network
Fix Available:  Yes  Vendor Confirmed:  Yes  
Version(s): prior to 1.5.0.10; 2.0, 2.0.0.1
Description:   A vulnerability was reported in Mozilla Firefox. A remote user can execute arbitrary code on the target system.

A remote server can send specially crafted SSLv2 server messages to the connected client to trigger an integer underflow in the Network Security Services (NSS) libraries and potentially execute arbitrary code on the target system. The code will run with the privileges of the target user.

A certificate with a public key that is too small to encrypt the "Master Secret" can lead to heap corruption.

NSS versions 3.10 and 3.11.3 are affected ('libnss3.so', 'nss3.dll').

SSLv2 is disabled by default in Firefox 2.

The vendor was notified on December 18, 2006.

regenrecht reported this vulnerability to iDefense.

The original advisories are available at:

http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=482
http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=483

Impact:   A remote user can execute arbitrary code on the target system.
Solution:   The vendor has issued fixed versions (1.5.0.10, 2.0.0.2).

The Mozilla advisory is available at:

http://www.mozilla.org/security/announce/2007/mfsa2007-06.html

Vendor URL:  www.mozilla.org/security/announce/2007/mfsa2007-06.html (Links to External Site)
Cause:   Boundary error
Underlying OS:   Linux (Any), UNIX (Any), Windows (Any)

Message History:   This archive entry has one or more follow-up message(s) listed below.
Mar 2 2007 (Red Hat Issues Fix for Thunderbird) Mozilla Firefox Integer Underflow in Processing SSLv2 Server Messages Lets Remote Users Execute Arbitrary Code   (bugzilla@redhat.com)
Red Hat has released a fix for Thunderbird on Red Hat Enterprise Linux 4, which is affected by this vulnerability.
Mar 15 2007 (Red Hat Issues Fix) Mozilla Firefox Integer Underflow in Processing SSLv2 Server Messages Lets Remote Users Execute Arbitrary Code   (bugzilla@redhat.com)
Red Hat has released a fix for Red Hat Enterprise Linux 5.
Mar 30 2007 (Sun Issues Fix for Java Enterprise System) Mozilla Firefox Integer Underflow in Processing SSLv2 Server Messages Lets Remote Users Execute Arbitrary Code
Sun issues fix for Sun Java Enterprise System.



 Source Message Contents

Date:  Fri, 23 Feb 2007 15:03:43 -0500
Subject:  iDefense Security Advisory 02.23.07: Mozilla Network Security Services

Mozilla Network Security Services SSLv2 Client Integer Underflow
Vulnerability

iDefense Security Advisory 02.23.07
http://labs.idefense.com/intelligence/vulnerabilities/
Feb 23, 2007

I. BACKGROUND

Network Security Services (NSS) is a set of libraries designed to support
cross-platform development of security-enabled client and server
applications, providing support for, among others, SSL (Secure Socket
Layer) protocol version 2 and 3. For more information visit the following
URL.

http://www.mozilla.org/projects/security/pki/nss/tools/

II. DESCRIPTION

Remote exploitation of an input validation error causing an integer
underflow in version 3.10 of the Mozilla Foundation's Network Security
Services (NSS) may allow an attacker to execute arbitrary code in the
context of the affected application.

The vulnerability specifically exists due to a design error in the
processing of malformed SSLv2 server messages. By sending a certificate
with a public key too small to encrypt the "Master Secret", heap
corruption can be triggered which may result in the execution of arbitrary
code.

III. ANALYSIS

Successful exploitation of this vulnerability would allow an attacker to
execute arbitrary code in the context of the user running the affected
client.

Since this vulnerability is in library code used by multiple applications,
the details of how an attacker would exploit it vary. In all cases, the
affected client connects to a server which replies in the initial
handshake with a specially crafted certificate. This causes a heap based
overflow with random data and eventually causes a fault writing past the
end of the allocated space. Some applications may use values from the
overwritten memory locations before the program exits. In this case, it
may be possible for an attacker to cause code to execute.

Although the data which overruns the heap is random, code execution is
possible on some platforms with some applications using the library.
Although unreliable, iDefense has demonstrated that this vulnerability can
result in code execution with Firefox 1.5.0.9 on Windows XP.

IV. DETECTION

iDefense has confirmed this vulnerability exists in versions 3.10 and
3.11.3 of Mozilla Network Security Services. These libraries are used in a
variety of products from multiple vendors including Sun Microsystems, Red
Hat and Mozilla. Previous versions are also likely to be affected. The
names 'libnss3.so' on Linux based systems or 'nss3.dll' on Windows based
systems may indicate the library is being used by an application.

V. WORKAROUND

iDefense is not aware of any effective workaround for this vulnerability.
With some clients, it may be possible to mitigate exposure by disabling
SSLv2 support. However, this may cause problems connecting to servers
using only SSLv2.

VI. VENDOR RESPONSE

The Mozilla Foundation has addressed this vulnerability in Mozilla
Foundation Security Advisory 2007-06. For more information, view their
advisory at the following URL.

http://www.mozilla.org/security/announce/2007/mfsa2007-06.html

VII. CVE INFORMATION

The Common Vulnerabilities and Exposures (CVE) project has assigned the
name CVE-2007-0008 to this issue. This is a candidate for inclusion in
the CVE list (http://cve.mitre.org/), which standardizes names for
security problems.

VIII. DISCLOSURE TIMELINE

12/18/2006  Initial vendor notification
12/19/2006  Initial vendor response
02/23/2007  Coordinated public disclosure

IX. CREDIT

This vulnerability was reported to iDefense by regenrecht.

Get paid for vulnerability research
http://labs.idefense.com/methodology/vulnerability/vcp.php

Free tools, research and upcoming events
http://labs.idefense.com/

X. LEGAL NOTICES

Copyright  2007 iDefense, Inc.

Permission is granted for the redistribution of this alert electronically.
It may not be edited in any way without the express written consent of
iDefense. If you wish to reprint the whole or any part of this alert in
any other medium other than electronically, please e-mail
customerservice@idefense.com for permission.

Disclaimer: The information in the advisory is believed to be accurate at
the time of publishing based on currently available information. Use of
the information constitutes acceptance for use in an AS IS condition.
There are no warranties with regard to this information. Neither the
author nor the publisher accepts any liability for any direct, indirect,
or consequential loss or damage arising from use of, or reliance on, this
information.
_______________________________________________
To unsubscribe, go here:
http://www.idefense.com/mailman/listinfo/idlabs-advisories
 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

Copyright 2014, SecurityGlobal.net LLC