CVE-2009-1416 : Détail

CVE-2009-1416

A02-Cryptographic Failures
2.79%V3
Network
2009-04-30
18h00 +00:00
2009-05-13
07h00 +00:00
Notifications pour un CVE
Restez informé de toutes modifications pour un CVE spécifique.
Gestion des notifications

Descriptions du CVE

lib/gnutls_pk.c in libgnutls in GnuTLS 2.5.0 through 2.6.5 generates RSA keys stored in DSA structures, instead of the intended DSA keys, which might allow remote attackers to spoof signatures on certificates or have unspecified other impact by leveraging an invalid DSA key.

Informations du CVE

Faiblesses connexes

CWE-ID Nom de la faiblesse Source
CWE-310 Category : Cryptographic Issues
Weaknesses in this category are related to the design and implementation of data confidentiality and integrity. Frequently these deal with the use of encoding techniques, encryption libraries, and hashing algorithms. The weaknesses in this category could lead to a degradation of the quality data if they are not addressed.

Métriques

Métriques Score Gravité CVSS Vecteur Source
V2 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P [email protected]

EPSS

EPSS est un modèle de notation qui prédit la probabilité qu'une vulnérabilité soit exploitée.

Score EPSS

Le modèle EPSS produit un score de probabilité compris entre 0 et 1 (0 et 100 %). Plus la note est élevée, plus la probabilité qu'une vulnérabilité soit exploitée est grande.

Percentile EPSS

Le percentile est utilisé pour classer les CVE en fonction de leur score EPSS. Par exemple, une CVE dans le 95e percentile selon son score EPSS est plus susceptible d'être exploitée que 95 % des autres CVE. Ainsi, le percentile sert à comparer le score EPSS d'une CVE par rapport à d'autres CVE.

Informations sur l'Exploit

Exploit Database EDB-ID : 32965

Date de publication : 2009-04-29 22h00 +00:00
Auteur : Miroslav Kratochvil
EDB Vérifié : Yes

// source: https://www.securityfocus.com/bid/34783/info 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. /* * Small code to reproduce the CVE-2009-1416 bad DSA key problem. * * Build it using: * * gcc -o cve-2009-1416 cve-2009-1416.c -lgnutls * * If your gnutls library is OK then running it will print 'success!'. * * If your gnutls library is buggy then running it will print 'buggy'. * */ #include <stdio.h> #include <stdarg.h> #include <stdlib.h> #include <gcrypt.h> #include <gnutls/gnutls.h> int main (void) { gnutls_x509_privkey_t key; gnutls_datum_t p, q, g, y, x; int ret; gnutls_global_init (); gcry_control (GCRYCTL_ENABLE_QUICK_RANDOM, 0); ret = gnutls_x509_privkey_init (&key); if (ret < 0) return 1; ret = gnutls_x509_privkey_generate (key, GNUTLS_PK_DSA, 512, 0); if (ret < 0) return 1; ret = gnutls_x509_privkey_export_dsa_raw (key, &p, &q, &g, &y, &x); if (ret < 0) return 1; if (q.size == 3 && memcmp (q.data, "\x01\x00\x01", 3) == 0) printf ("buggy\n"); else printf ("success!\n"); gnutls_free (p.data); gnutls_free (q.data); gnutls_free (g.data); gnutls_free (y.data); gnutls_free (x.data); gnutls_x509_privkey_deinit (key); gnutls_global_deinit (); return 0; }

Products Mentioned

Configuraton 0

Gnu>>Gnutls >> Version 2.5.0

Gnu>>Gnutls >> Version 2.6.0

Gnu>>Gnutls >> Version 2.6.1

Gnu>>Gnutls >> Version 2.6.2

Gnu>>Gnutls >> Version 2.6.3

Gnu>>Gnutls >> Version 2.6.4

Gnu>>Gnutls >> Version 2.6.5

Références

http://www.securitytracker.com/id?1022158
Tags : vdb-entry, x_refsource_SECTRACK
http://www.vupen.com/english/advisories/2009/1218
Tags : vdb-entry, x_refsource_VUPEN
http://www.securityfocus.com/bid/34783
Tags : vdb-entry, x_refsource_BID
http://security.gentoo.org/glsa/glsa-200905-04.xml
Tags : vendor-advisory, x_refsource_GENTOO
http://secunia.com/advisories/34842
Tags : third-party-advisory, x_refsource_SECUNIA
http://secunia.com/advisories/35211
Tags : third-party-advisory, x_refsource_SECUNIA
http://www.mandriva.com/security/advisories?name=MDVSA-2009:116
Tags : vendor-advisory, x_refsource_MANDRIVA