HOME > ADVISORIES


   ADVISORIES

CERT-In Advisory CIAD-2007-53
OpenSSL SSL_get_shared_ciphers () Function and DTLS Implementation Vulnerability

Original issue date: October 19, 2007

Severity Rating: High

Systems Affected

  • All releases of 0.9.8 prior to 0.9.8f.
  • All releases of 0.9.7 prior to 0.9.7m.  

Overview

Two vulnerabilities have been reported in OpenSSL which could be exploited by remote attacker to execute arbitrary code on the affected system.

Description

1. Off-by-one error in SSL_get_shared_ciphers () function ( CVE-2007-5135 , CWE-189 )

A vulnerability has been reported in OpenSSL due to off-by-one error in SSL_get_shared_ciphers () function. This could be exploited by remote attacker by sending crafted packet to trigger one byte buffer underflow and execute arbitrary code on the affected system.

2. OpenSSL DTLS Implementation Vulnerability ( CVE-2007-4995, CWE-189 )

DTLS is a datagram variant of TLS (Transport Layer Security) protocol.

A vulnerability has been reported in OpenSSL within the DTLS implementation due to off-by-one error. This could be exploited by remote attacker to execute arbitrary code via unspecified vectors.

It is to be noted that the vulnerabilities do not affect SSL and TLS so only clients and servers explicitly using DTLS are affected. 

Workaround

  • Don't use SSL_get_shared_ciphers()
  • Disable DTLS

Solution

  • Upgrade to latest version of OpenSSL (0.9.8f)
  • Upgrade to the latest version of OpenSSL (0.9.8f) and rebuild all packages using OpenSSL for DTLS

Vendor Information

OpenSSL
http://www.openssl.org/news/secadv_20071012.txt

References

SecurityFocus
http://www.securityfocus.com/bid/26055 

Secunia
http://secunia.com/advisories/25878

CWE
CWE-189

CVE-Name

CVE-2007-5135
CVE-2007-4995

Disclaimer

The information provided herein is on "as is" basis, without warranty of any kind.

Contact Information


Phone: +91-11-24368572

Postal address

Indian Computer Emergency Response Team (CERT-In)
Ministry of Communications and Information Technology
Electronics Niketan
6, C.G.O. Complex
New Delhi-110 003