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 (Security)  >   OpenSSL Vendors:   OpenSSL.org
(NetBSD Issues Fix) OpenSSL ASN.1 Bugs, SSL_get_shared_ciphers() Buffer Overflow, and SSLv2 Client Error Lets Remote Users Denial of Service or Execute Arbitrary Code
SecurityTracker Alert ID:  1019997
SecurityTracker URL:  http://securitytracker.com/id/1019997
CVE Reference:   CVE-2006-2937, CVE-2006-2940, CVE-2006-3738, CVE-2006-4343   (Links to External Site)
Date:  May 8 2008
Impact:   Denial of service via network, Execution of arbitrary code via network, User access via network
Fix Available:  Yes  Vendor Confirmed:  Yes  
Version(s): prior to 0.9.7l, 0.9.8d
Description:   Several vulnerabilities were reported in OpenSSL. A remote user can cause denial of service conditions. A remote user can execute arbitrary code on the target system.

A remote user can send specially crafted, invalid ASN.1 structures to trigger an infinite loop [CVE-2006-2937]. As a result, the process will consume excessive system memory. Versions prior to 0.9.7 are not affected.

A remote user can use certain types of public keys to cause the target system to take a disproportionate amount of time to process [CVE-2006-2940].

Dr. S. N. Henson developed the ASN.1 test suite for NISCC that uncovered these denial of service vulnerabilities.

A user can send a specially crafted list of ciphers to an application that uses the SSL_get_shared_ciphers() function to trigger a buffer overflow and potentially execute arbitrary code [CVE-2006-3738]. The vendor credits Tavis Ormandy and Will Drewry of the Google Security Team with reporting this vulnerability.

A remote server can cause a connected SSLv2 client to crash [CVE-2006-4343]. The vendor credits Tavis Ormandy and Will Drewry of the Google Security Team with reporting this vulnerability.

Impact:   A remote user can execute arbitrary code on the target system.

A remote user can cause denial of service conditions.

Solution:   NetBSD has released a fix.

The NetBSD advisory is available at:

ftp://ftp.NetBSD.org/pub/NetBSD/security/advisories/NetBSD-SA2008-007.txt.asc

Vendor URL:  www.openssl.org/news/secadv_20060928.txt (Links to External Site)
Cause:   Boundary error, Exception handling error, State error
Underlying OS:   UNIX (NetBSD)

Message History:   This archive entry is a follow-up to the message listed below.
Sep 29 2006 OpenSSL ASN.1 Bugs, SSL_get_shared_ciphers() Buffer Overflow, and SSLv2 Client Error Lets Remote Users Denial of Service or Execute Arbitrary Code



 Source Message Contents

Date:  Thu, 08 May 2008 12:09:36 +0100
Subject:  NetBSD Security Advisory 2008-007: OpenSSL Multiple issues



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


		 NetBSD Security Advisory 2008-007
		 =================================

Topic:		OpenSSL Multiple issues

Version:	NetBSD-3.1.*:	 	affected
		NetBSD-3.1:	 	affected
		NetBSD-3.0.*:	 	affected
		NetBSD-3.0:	 	affected
		pkgsrc:			openssl packages prior to 0.9.7inb5
					openssl packages prior to 0.9.8g

Severity:	Denial of service and remote code execution

Fixed:		NetBSD-3-1 branch: 	December 19, 2007
			(3.1.2 will include the fixes)
		NetBSD-3-0 branch:	December 19, 2007
			(3.0.4 will include the fixes)
		NetBSD-3 branch: 	December 19, 2007
			(3.2 will include the fixes)
		pkgsrc:			openssl-0.9.7inb5 corrects the issues
					openssl-0.9.8g corrects the issues


Abstract
========

There are multiple issues with OpenSSL supplied with the NetBSD 3.x releases.
An audit of previously released security issues known to impact OpenSSL
highlighted, that while all issues had been fixed in the CVS branches, security
advisories detailing these issues has not been released.  This advisory 
details the known OpenSSL issues in the NetBSD 3.x releases.

These vulnerabilities have been assigned CVE-2006-2937, CVE-2006-2940, 
CVE-2006-3738, CVE-2006-4343 and CVE-2007-5135.


Technical Details
=================

 * CVE-2006-2937 and CVE-2006-2940: ASN.1 Denial of Service Attacks
   
   A malformed ASN.1 structure could allow an attacker to cause a
   denial of service condition by triggering a mishandled error.

   Certain values in X.509 certificates could take additional time to
   process when using RSA signature verification.

 * CVE-2006-3738: SSL_get_shared_ciphers() buffer overflow

   An attacker could use the SSL_get_shared_ciphers() function in order
   to trigger a buffer overflow.

 * CVE-2006-4343: SSLv2 Client Crash

   A malicious server accepting SSLv2 connections could cause the connecting
   client to crash.

 * CVE-2007-5135: SSL_get_shared_ciphers() off-by-one error

   An additional issue was found in SSL_get_shared_ciphers() after the fix
   for CVE-2006-3738 was applied.  This may allow remote attackers to 
   trigger a one-byte buffer overflow.


Solutions and Workarounds
=========================

As this advisory covers multiple issues the following table can be used 
to identify which NetBSD releases are impacted by the individual issues:

CVE Number	Branches Impacted	Fix date	Releases Impacted
CVE-2006-2937	3, 3-0			06/10/2006	3.0, 3.0.1
CVE-2006-2940 	3, 3-0			06/10/2006	3.0, 3.0.1
CVE-2006-3738	3, 3-0			06/10/2006	3.0, 3.0.1
CVE-2006-4343	3, 3-0			06/10/2006	3.0, 3.0.1
CVE-2007-5135	3, 3-0, 3-1		19/12/2007	3.*, 3.0.*, 3.1.*

The following instructions describe how to upgrade your OpenSSL
binaries by updating your source tree and rebuilding and
installing a new version of OpenSSL.

* NetBSD 3.*:

	Systems running NetBSD 3.* sources dated from before
	2007-12-19 should be upgraded from NetBSD 3.* sources dated
	2007-12-20 or later.

	The following files/directories need to be updated from the
	netbsd-3, netbsd-3-0 or netbsd-3-1 branches:
		crypto/dist/openssl/crypto/asn1/tasn_dec.c
		crypto/dist/openssl/crypto/dh/dh.h
		crypto/dist/openssl/crypto/dh/dh_err.c
		crypto/dist/openssl/crypto/dh/dh_key.c
		crypto/dist/openssl/crypto/dsa/dsa.h
		crypto/dist/openssl/crypto/dsa/dsa_err.c
		crypto/dist/openssl/crypto/dsa/dsa_ossl.c
		crypto/dist/openssl/crypto/rsa/rsa.h
		crypto/dist/openssl/crypto/rsa/rsa_eay.c
		crypto/dist/openssl/crypto/rsa/rsa_err.c
		crypto/dist/openssl/ssl/s2_clnt.c
		crypto/dist/openssl/ssl/s3_srvr.c
		crypto/dist/openssl/ssl/ssl_lib.c

	To update from CVS, re-build, and re-install OpenSSL:

		# cd src
		# cvs update -r <branch_name> \
			crypto/dist/openssl/crypto/asn1/tasn_dec.c \
			crypto/dist/openssl/crypto/dh/dh.h \
			crypto/dist/openssl/crypto/dh/dh_err.c \
			crypto/dist/openssl/crypto/dh/dh_key.c \
			crypto/dist/openssl/crypto/dsa/dsa.h \
			crypto/dist/openssl/crypto/dsa/dsa_err.c \
			crypto/dist/openssl/crypto/dsa/dsa_ossl.c \
			crypto/dist/openssl/crypto/rsa/rsa.h \
			crypto/dist/openssl/crypto/rsa/rsa_eay.c \
			crypto/dist/openssl/crypto/rsa/rsa_err.c \
			crypto/dist/openssl/ssl/s2_clnt.c \
			crypto/dist/openssl/ssl/s3_srvr.c \
			crypto/dist/openssl/ssl/ssl_lib.c
		# cd lib/libcrypt
		# make USETOOLS=no cleandir dependall
		# cd ../../lib/libcrypto
		# make USETOOLS=no cleandir dependall
		# make USETOOLS=no install
		# cd ../../lib/libssl
		# make USETOOLS=no cleandir dependall
		# make USETOOLS=no install


Revision History
================

	2008-05-08	Initial release


More Information
================

Advisories may be updated as new information becomes available.
The most recent version of this advisory (PGP signed) can be found at 
  ftp://ftp.NetBSD.org/pub/NetBSD/security/advisories/NetBSD-SA2008-007.txt.asc

Information about NetBSD and NetBSD security can be found at
http://www.NetBSD.org/ and http://www.NetBSD.org/Security/.


Copyright 2008, The NetBSD Foundation, Inc.  All Rights Reserved.
Redistribution permitted only in full, unmodified form.

$NetBSD: NetBSD-SA2008-007.txt,v 1.1 2008/05/06 21:36:26 adrianp Exp $

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (NetBSD)

iQCVAwUBSCDPaz5Ru2/4N2IFAQLDCgP+Pt3xpLupGVVXpdpJGhGvuP8DzeQ6dtQ5
+wBbfxuL9nuPZ/1S+DIXU01WZxQ7rnvCABiqGbZC9uK/2zHrtRMW1zv+SxLFr9h5
1hxuRHK4RAokO5oSCBY4SW/vHEKT3bMKCvKwXLjm9xBTRXKwupC9NDCusxQ8K4r6
eKwahdd6zR0=
=T4Cc
-----END PGP SIGNATURE-----

 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

Copyright 2014, SecurityGlobal.net LLC