(Vendor Issues Fix) OpenSSL Off-by-one Overflow in SL_get_shared_ciphers() Lets Remote Users Execute Arbitrary Code
|
|
SecurityTracker Alert ID: 1018809 |
|
SecurityTracker URL: http://securitytracker.com/id/1018809
|
|
CVE Reference:
CVE-2007-5135
(Links to External Site)
|
Date: Oct 12 2007
|
Impact:
Execution of arbitrary code via network, User access via network
|
Fix Available: Yes Vendor Confirmed: Yes
|
Version(s): 0.9.7m and 0.9.8e and prior versions
|
Description:
A vulnerability was reported in OpenSSL. A remote user can execute arbitrary code on the target system.
A remote user can send specially crafted data to applications that use the SL_get_shared_ciphers() function trigger an off-by-one overflow and execute arbitrary code on the target system. The code will run with the privileges of the target service.
The vulnerability resides in 'ssl/ssl_lib.c'.
The vendor was notified on June 6, 2007.
Moritz Jodeit reported this vulnerability.
|
Impact:
A remote user can execute arbitrary code on the target system.
|
Solution:
A fixed version (0.9.8f) is available.
The OpenSSL advisory is available at:
http://www.openssl.org/news/secadv_20071012.txt
|
Vendor URL: www.openssl.org/ (Links to External Site)
|
Cause:
Boundary error
|
Underlying OS:
Linux (Any), UNIX (Any), Windows (Any)
|
|
Message History:
This archive entry is a follow-up to the message listed below.
|
Source Message Contents
|
Date: Fri, 12 Oct 2007 10:02:54 -0400
Subject: OpenSSL
|
http://www.openssl.org/news/secadv_20071012.txt
OpenSSL Security Advisory [12-Oct-2007]
OpenSSL Vulnerabilities
-----------------------
Vulnerability A
---------------
Andy Polyakov discovered a flaw in OpenSSL's DTLS implementation which
could lead to the compromise of clients and servers with DTLS enabled.
DTLS is a datagram variant of TLS specified in RFC 4347 first
supported in OpenSSL version 0.9.8. Note that the vulnerabilities do
not affect SSL and TLS so only clients and servers explicitly using
DTLS are affected.
We believe this flaw will permit remote code execution.
This vulnerability is tracked as CVE-2007-4995.
Versions Affected
-----------------
All releases of 0.9.8 prior to 0.9.8f.
Recommendation
--------------
Either
a) Upgrade to the latest version of OpenSSL (0.9.8f) and rebuild all
packages using OpenSSL for DTLS.
or,
b) Disable DTLS.
Vulnerability B
---------------
Moritz Jodeit found an off-by-one error in SSL_get_shared_ciphers(), a
function that should normally only be used for logging or debugging.
The impact of this overflow is unclear.
This vulnerability is tracked as CVE-2007-5135.
Versions Affected
-----------------
All releases of 0.9.8 prior to 0.9.8f. All releases of 0.9.7 prior to
0.9.7m.
(Note that versions prior to 0.9.8d and 0.9.7l actually had a worse
problem in the same function).
Recommendation
--------------
a) Don't use SSL_get_shared_ciphers().
OR
b) Upgrade to 0.9.8f.
|
|