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
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:  1016943
SecurityTracker URL:  http://securitytracker.com/id/1016943
CVE Reference:   CVE-2006-2937, CVE-2006-2940, CVE-2006-3738, CVE-2006-4343   (Links to External Site)
Date:  Sep 29 2006
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:   The vendor has issued fixed versions (0.9.7l, 0.9.8d), available at:

http://www.openssl.org/source/
ftp://ftp.openssl.org/source/

The distribution file names are:

o openssl-0.9.8d.tar.gz
MD5 checksum: 8ed1853538e1d05a1f5ada61ebf8bffa
SHA1 checksum: 4136fba00303a3d319d2052bfa8e1f09a2e12fc2

o openssl-0.9.7l.tar.gz
MD5 checksum: b21d6e10817ddeccf5fbe1379987333e
SHA1 checksum: f0e4136639b10cbd1227c4f7350ff7ad406e575d

The checksums were calculated using the following commands:

openssl md5 openssl-0.9*.tar.gz
openssl sha1 openssl-0.9*.tar.gz

The vendor indicates that after upgrading you should make sure to recompile any applications statically linked to OpenSSL libraries and restart all applications that use OpenSSL.

The OpenSSL advisory is available at:

http://www.openssl.org/news/secadv_20060928.txt

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

Message History:   This archive entry has one or more follow-up message(s) listed below.
Sep 29 2006 (FreeBSD 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   (FreeBSD Security Advisories <security-advisories@freebsd.org>)
FreeBSD has released a fix.
Sep 29 2006 (Red Hat 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   (bugzilla@redhat.com)
Red Hat has released a fix for Red Hat Enterprise Linux 2.1, 3, and 4.
Oct 8 2006 (OpenBSD 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
OpenBSD has issued a fix.
Oct 16 2006 (Sun Grid Engine is Affected) OpenSSL ASN.1 Bugs, SSL_get_shared_ciphers() Buffer Overflow, and SSLv2 Client Error Lets Remote Users Denial of Service or Execute Arbitrary Code
Sun reports that Sun Grid Engine is affected. No solution is available yet. No workaround is available.
Nov 4 2006 (ISC Issues Fix for BIND) OpenSSL ASN.1 Bugs, SSL_get_shared_ciphers() Buffer Overflow, and SSLv2 Client Error Lets Remote Users Denial of Service or Execute Arbitrary Code
ISC has issued a fix for BIND.
Nov 29 2006 (Apple 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   (Apple Product Security <product-security-noreply@lists.apple.com>)
Apple has released a fix for Mac OS X.
Nov 29 2006 (F-Secure 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
F-Secure has issued a fixed for F-Secure Anti-Virus for Microsoft Exchange.
Nov 29 2006 (F-Secure 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
F-Secure has issued a fixed for F-Secure Internet Gatekeeper.
Apr 16 2007 (HP Issues Fix for Tru64 UNIX) OpenSSL ASN.1 Bugs, SSL_get_shared_ciphers() Buffer Overflow, and SSLv2 Client Error Lets Remote Users Denial of Service or Execute Arbitrary Code
HP has issued a fix for HP Tru64 UNIX 5.1B-3 and 5.1B-4 and for HP Insight Management Agents.
Aug 6 2007 (HP Issues Fix for HP System Management Homepage) OpenSSL ASN.1 Bugs, SSL_get_shared_ciphers() Buffer Overflow, and SSLv2 Client Error Lets Remote Users Denial of Service or Execute Arbitrary Code
HP has issued a fix for HP System Management Homepage, which is affected by this OpenSSL vulnerability.
May 8 2008 (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   (NetBSD Security-Officer <security-officer@NetBSD.org>)
NetBSD has released a fix for NetBSD 3.0 and 3.1.
May 20 2008 (Red Hat Issues Fix for Red Hat Network Satellite Server) OpenSSL ASN.1 Bugs, SSL_get_shared_ciphers() Buffer Overflow, and SSLv2 Client Error Lets Remote Users Denial of Service or Execute Arbitrary Code   (bugzilla@redhat.com)
Red Hat has released a fix for Red Hat Network Satellite Server 5.x.



 Source Message Contents

Date:  Thu, 28 Sep 2006 21:16:06 -0400
Subject:  OpenSSL Security Advisory [28th September 2006]


OpenSSL Security Advisory [28th September 2006]

New OpenSSL releases are now available to correct four security
issues.


ASN.1 Denial of Service Attacks (CVE-2006-2937, CVE-2006-2940)
==============================================================

Vulnerability
-------------

Dr. S. N. Henson recently developed an ASN.1 test suite for NISCC
(www.niscc.gov.uk).  When the test suite was run against OpenSSL two
denial of service vulnerabilities were discovered:

1. During the parsing of certain invalid ASN.1 structures an error
condition is mishandled.  This can result in an infinite loop which
consumes system memory (CVE-2006-2937).  (This issue did not affect
OpenSSL versions prior to 0.9.7)

2. Certain types of public key can take disproportionate amounts of
time to process. This could be used by an attacker in a denial of
service attack (CVE-2006-2940).

Any code which uses OpenSSL to parse ASN.1 data from untrusted sources
is affected. This includes SSL servers which enable client
authentication and S/MIME applications.

Acknowledgements
----------------

The OpenSSL team thank Dr S. N. Henson of Open Network Security and NISCC
for funding the ASN.1 test suite project.


SSL_get_shared_ciphers() buffer overflow (CVE-2006-3738)
========================================================

Vulnerability
-------------

A buffer overflow was discovered in the SSL_get_shared_ciphers()
utility function.  An attacker could send a list of ciphers to an
application that uses this function and overrun a buffer
(CVE-2006-3738).

Acknowledgements
----------------

The OpenSSL team thank Tavis Ormandy and Will Drewry of the Google
Security Team for reporting this issue.


SSLv2 Client Crash (CVE-2006-4343)
==================================

Vulnerability
-------------

A flaw in the SSLv2 client code was discovered. When a client
application used OpenSSL to create an SSLv2 connection to a malicious
server, that server could cause the client to crash (CVE-2006-4343).

Acknowledgements
----------------

The OpenSSL team thank Tavis Ormandy and Will Drewry of the Google
Security Team for reporting this issue.


Recommendations
===============

These vulnerabilities are resolved in the following versions of OpenSSL:

   - in the 0.9.7 branch, version 0.9.7l (or later);
   - in the 0.9.8 branch, version 0.9.8d (or later).

OpenSSL 0.9.8d and OpenSSL 0.9.7l are available for download via
HTTP and FTP from the following master locations (you can find the
various FTP mirrors under http://www.openssl.org/source/mirror.html):

    o http://www.openssl.org/source/
    o ftp://ftp.openssl.org/source/

The distribution file names are:

    o openssl-0.9.8d.tar.gz
      MD5 checksum: 8ed1853538e1d05a1f5ada61ebf8bffa
      SHA1 checksum: 4136fba00303a3d319d2052bfa8e1f09a2e12fc2

    o openssl-0.9.7l.tar.gz
      MD5 checksum: b21d6e10817ddeccf5fbe1379987333e
      SHA1 checksum: f0e4136639b10cbd1227c4f7350ff7ad406e575d
    
The checksums were calculated using the following commands:

    openssl md5 openssl-0.9*.tar.gz
    openssl sha1 openssl-0.9*.tar.gz

After upgrading make sure to recompile any applications statically
linked to OpenSSL libraries and restart all applications that use
OpenSSL.


References
==========

URL for this Security Advisory:
http://www.openssl.org/news/secadv_20060928.txt
 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

Copyright 2014, SecurityGlobal.net LLC