SkipNavigation
US-CERT
American Flag
  Vulnerability
Notes
Database

Search Vulnerability Notes

Vulnerability Notes Help Information


 
 View Notes By
  Name

ID Number

CVE Name

Date Public

Date Published

Date Updated

Severity Metric



 Other Documents
  Technical Alerts

Technical Bulletins

Alerts

Security Tips

Vulnerability Note VU#377812

Mozilla Network Security Services (NSS) fails to properly process malformed SSLv2 server messages

Overview

A vulnerability in the way Mozilla Network Security Services (NSS) handles malformed SSLv2 server messages may lead to execution of arbitrary code.

I. Description

The SSLv2 protocol uses a client master key to generate all subsequent session keys. The client master key is created using a public key recieved from the server during phase one of the SSL handshake. Mozilla NSS library contains a vulnerability in the way malformed SSLv2 server messages related to the public key are handled that may result in a buffer overflow. According to the Mozilla Foundation Security Advisory 2007-06:

    SSL clients such as Firefox and Thunderbird can suffer a buffer overflow if a malicious server presents a certificate with a public key that is too small to encrypt the entire "Master Secret". Exploiting this overflow appears to be unreliable but possible if the SSLv2 protocol is enabled.


Note that this vulnerability may affect any application that uses the Mozilla NSS library.

II. Impact

A remote, unauthenticated attacker may be able to execute arbitrary code with the privileges of the user who is running the vulnerable application or cause a denial of service.

III. Solution

Apply an update

According to the Mozilla Foundation Security Advisory 2007-06, this vulnerability is addressed in Firefox 2.0.0.2, Firefox 1.5.0.10, SeaMonkey 1.0.8, and NSS 3.11.5.

Disable SSLv2

Disabling support for the SSLv2 protocol appears to prevent exploitation of this vulnerability. Instructions for disabling the SSLv2 protocol support in Firefox and Thunderbird can be found in the Mozilla Foundation Security Advisory 2007-06.

Systems Affected

VendorStatusDate NotifiedDate Updated
Fedora ProjectVulnerable7-Mar-2007
Gentoo LinuxVulnerable5-Apr-2007
Mandriva, Inc.Vulnerable7-Mar-2007
MozillaVulnerable27-Feb-2007
Red Hat, Inc.Vulnerable7-Mar-2007
rPathVulnerable7-Mar-2007
Slackware Linux Inc.Vulnerable5-Apr-2007
Sun Microsystems, Inc.Vulnerable5-Apr-2007
SUSE LinuxVulnerable7-Mar-2007
UbuntuVulnerable7-Mar-2007

References


http://www.mozilla.org/security/announce/2007/mfsa2007-06.html
http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=482
http://www.mozilla.org/projects/security/pki/nss/
http://www.mozilla.org/projects/security/pki/nss/ssl/draft02.html
http://www.mozilla.com/en-US/firefox/releases/1.5.0.10.html
http://www.mozilla.com/en-US/firefox/2.0.0.2/releasenotes/
http://www.mozilla.org/projects/seamonkey/releases/
http://secunia.com/advisories/24238/
http://secunia.com/advisories/24287/
http://secunia.com/advisories/24205/
http://secunia.com/advisories/24290/
http://secunia.com/advisories/24253/
http://secunia.com/advisories/24252/
http://secunia.com/advisories/24320/
http://secunia.com/advisories/24328/
http://secunia.com/advisories/24293/
http://secunia.com/advisories/24327/
http://secunia.com/advisories/24277/
http://secunia.com/advisories/24289/
http://secunia.com/advisories/24343/
http://secunia.com/advisories/24333/
http://www.ciac.org/ciac/bulletins/r-164.shtml
http://secunia.com/advisories/24406/
http://secunia.com/advisories/24384/
http://secunia.com/advisories/24410/
http://secunia.com/advisories/24389/
http://secunia.com/advisories/24455/
http://secunia.com/advisories/24456/
http://secunia.com/advisories/24457/
http://www.securityfocus.com/bid/22694
http://secunia.com/advisories/24703/

Credit

This vulnerability was reported in Mozilla Foundation Security Advisory 2007-06. Mozilla credits iDefense with reporting this issue.

This document was written by Chris Taschner.

Other Information

Date Public:2007-02-23
Date First Published:2007-03-07
Date Last Updated:2007-04-05
CERT Advisory: 
CVE-ID(s):CVE-2007-0008
NVD-ID(s):CVE-2007-0008
US-CERT Technical Alerts: 
Metric:12.72
Document Revision:59

If you have feedback, comments, or additional information about this vulnerability, please send us email.
 

 
Page Corner Image
Produced 2007 by US-CERT, a government organization
Disclaimers and copyright information
Get Adobe Reader Get Adobe Reader