From: SecuriTeam <support@securiteam.com.>
To: [email protected]
Date: 26 Feb 2007 15:06:33 +0200
Subject: [NEWS] Mozilla Network Security Services SSLv2 Client Integer Underflow Vulnerability
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20070226140610.99ED358DB@mail.tyumen.ru.>
X-Virus-Scanned: antivirus-gw at tyumen.ru
The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
- - promotion
The SecuriTeam alerts list - Free, Accurate, Independent.
Get your security news from a reliable source.
http://www.securiteam.com/mailinglist.html
- - - - - - - - -
Mozilla Network Security Services SSLv2 Client Integer Underflow
Vulnerability
------------------------------------------------------------------------
SUMMARY
<http://www.mozilla.org/projects/security/pki/nss/tools/> 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.
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.
DETAILS
Vulnerable Systems:
* Mozilla Network Security Services versions 3.10 and 3.11.3.
* 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.
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.
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.
Vendor Status:
The Mozilla Foundation has addressed this vulnerability in
<http://www.mozilla.org/security/announce/2007/mfsa2007-06.html> Mozilla
Foundation Security Advisory 2007-06.
CVE Information:
<http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2007-0008>
CVE-2007-0008
Disclosure Timeline:
* 12/18/2006 - Initial vendor notification
* 12/19/2006 - Initial vendor response
* 02/23/2007 - Coordinated public disclosure
ADDITIONAL INFORMATION
The information has been provided by iDefense.
The original article can be found at:
<http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=482>
http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=482
This bulletin is sent to members of the SecuriTeam mailing list.
To unsubscribe from the list, send mail with an empty subject line and body to: [email protected]
In order to subscribe to the mailing list, simply forward this email to: [email protected]
DISCLAIMER:
The information in this bulletin is provided "AS IS" without warranty of any kind.
In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.