GnuTLS Prior to 2.6.6 Multiple Remote Vulnerabilities
BID:34783
Info
GnuTLS Prior to 2.6.6 Multiple Remote Vulnerabilities
| Bugtraq ID: | 34783 |
| Class: | Unknown |
| CVE: |
CVE-2009-1416 CVE-2009-1415 CVE-2009-1417 |
| Remote: | Yes |
| Local: | No |
| Published: | Apr 30 2009 12:00AM |
| Updated: | Dec 07 2009 07:44PM |
| Credit: | Miroslav Kratochvil, Simon Josefsson, and Romain Francoise |
| Vulnerable: |
Slackware Linux 12.2 Slackware Linux 12.1 Slackware Linux 12.0 Slackware Linux -current Mandriva Linux Mandrake 2009.1 x86_64 Mandriva Linux Mandrake 2009.1 Mandriva Linux Mandrake 2009.0 x86_64 Mandriva Linux Mandrake 2009.0 Mandriva Linux Mandrake 2008.1 x86_64 Mandriva Linux Mandrake 2008.1 Mandriva Linux Mandrake 2008.0 x86_64 Mandriva Linux Mandrake 2008.0 MandrakeSoft Corporate Server 4.0 x86_64 MandrakeSoft Corporate Server 4.0 GNU GnuTLS 2.6.5 GNU GnuTLS 2.6.4 GNU GnuTLS 2.6.3 GNU GnuTLS 2.6.2 GNU GnuTLS 2.6.1 GNU GnuTLS 2.6 Gentoo Linux |
| Not Vulnerable: |
GNU GnuTLS 2.6.6 |
Discussion
GnuTLS Prior to 2.6.6 Multiple Remote Vulnerabilities
GnuTLS is prone to multiple remote vulnerabilities:
- A remote code-execution vulnerability
- A denial-of-service vulnerability
- A signature-generation vulnerability
- A signature-verification vulnerability
An attacker can exploit these issues to potentially execute arbitrary code, trigger denial-of-service conditions, carry out attacks against data signed with weak signatures, and cause clients to accept expired or invalid certificates from servers.
Versions prior to GnuTLS 2.6.6 are vulnerable.
GnuTLS is prone to multiple remote vulnerabilities:
- A remote code-execution vulnerability
- A denial-of-service vulnerability
- A signature-generation vulnerability
- A signature-verification vulnerability
An attacker can exploit these issues to potentially execute arbitrary code, trigger denial-of-service conditions, carry out attacks against data signed with weak signatures, and cause clients to accept expired or invalid certificates from servers.
Versions prior to GnuTLS 2.6.6 are vulnerable.
Exploit / POC
GnuTLS Prior to 2.6.6 Multiple Remote Vulnerabilities
The following sites from the vendor can be used to check for the issue involving expired certificates:
Expired server certificate
https://expired.demo.gnutls.org/
Expire intermediate certificate, server return intermediate CA
https://expired-subca.demo.gnutls.org/
Expire intermediate certificate server does not return intermediate CA
https://expired-subca2.demo.gnutls.org/
The vendor has also provided tools to reproduce the memory-corruption issue related to freeing an uninitialized pointer as well as the issue involving the creation of bad keys.
The following sites from the vendor can be used to check for the issue involving expired certificates:
Expired server certificate
https://expired.demo.gnutls.org/
Expire intermediate certificate, server return intermediate CA
https://expired-subca.demo.gnutls.org/
Expire intermediate certificate server does not return intermediate CA
https://expired-subca2.demo.gnutls.org/
The vendor has also provided tools to reproduce the memory-corruption issue related to freeing an uninitialized pointer as well as the issue involving the creation of bad keys.
Solution / Fix
GnuTLS Prior to 2.6.6 Multiple Remote Vulnerabilities
Solution:
The vendor has released GnuTLS 2.6.6 to address this issue. Please see the references for more information.
Mandriva Linux Mandrake 2008.0 x86_64
Mandriva Linux Mandrake 2008.0
GNU GnuTLS 2.6
GNU GnuTLS 2.6.1
GNU GnuTLS 2.6.2
GNU GnuTLS 2.6.3
GNU GnuTLS 2.6.4
GNU GnuTLS 2.6.5
Solution:
The vendor has released GnuTLS 2.6.6 to address this issue. Please see the references for more information.
Mandriva Linux Mandrake 2008.0 x86_64
-
Mandriva gnutls-2.0.0-2.4mdv2008.0.x86_64.rpm
http://www.mandriva.com/en/download/ -
Mandriva lib64gnutls-devel-2.0.0-2.4mdv2008.0.x86_64.rpm
http://www.mandriva.com/en/download/ -
Mandriva lib64gnutls13-2.0.0-2.4mdv2008.0.x86_64.rpm
http://www.mandriva.com/en/download/
Mandriva Linux Mandrake 2008.0
-
Mandriva gnutls-2.0.0-2.4mdv2008.0.i586.rpm
http://www.mandriva.com/en/download/ -
Mandriva libgnutls-devel-2.0.0-2.4mdv2008.0.i586.rpm
http://www.mandriva.com/en/download/ -
Mandriva libgnutls13-2.0.0-2.4mdv2008.0.i586.rpm
http://www.mandriva.com/en/download/
GNU GnuTLS 2.6
-
GNU gnutls-2.6.6.tar.bz2
ftp://ftp.gnu.org/pub/gnu/gnutls/gnutls-2.6.6.tar.bz2
GNU GnuTLS 2.6.1
-
GNU gnutls-2.6.6.tar.bz2
ftp://ftp.gnu.org/pub/gnu/gnutls/gnutls-2.6.6.tar.bz2
GNU GnuTLS 2.6.2
-
GNU gnutls-2.6.6.tar.bz2
ftp://ftp.gnu.org/pub/gnu/gnutls/gnutls-2.6.6.tar.bz2
GNU GnuTLS 2.6.3
-
GNU gnutls-2.6.6.tar.bz2
ftp://ftp.gnu.org/pub/gnu/gnutls/gnutls-2.6.6.tar.bz2
GNU GnuTLS 2.6.4
-
GNU gnutls-2.6.6.tar.bz2
ftp://ftp.gnu.org/pub/gnu/gnutls/gnutls-2.6.6.tar.bz2
GNU GnuTLS 2.6.5
-
GNU gnutls-2.6.6.tar.bz2
ftp://ftp.gnu.org/pub/gnu/gnutls/gnutls-2.6.6.tar.bz2
References
GnuTLS Prior to 2.6.6 Multiple Remote Vulnerabilities
References:
References:
- All DSA keys generated using GnuTLS 2.6.x are corrupt [GNUTLS-SA-2009-2] [CVE-20 (Simon Josefsson)
- Certificate expiration not checked by gnutls-cli [GNUTLS-SA-2009-3] [CVE-2009-14 (Simon Josefsson)
- Double free and free of invalid pointer on certain errors [GNUTLS-SA-2009-1] [CV (Simon Josefsson)
- GnuTLS Homepage (GNU)