Date: Wed, 17 Aug 2005 13:44:35 -0000
To: <bugtraq@securityfocus.com.>, <vuln@secunia.com.>,
Subject: Unicode Buffer Overflow in WinFtp Server 1.6.8
From: "Donato Ferrante" <fdonato@autistici.org.>
X-Mailer: TWIG 2.7.7
Message-ID: <twig.1124286275.19578@autistici.org.>
X-Virus-Scanned: antivirus-gw at tyumen.ru
Donato Ferrante
Application: WinFtp Server
http://www.wftpserver.com
Version: 1.6.8
Bug: Unicode Buffer Overflow
Date: 17-Aug-2005
Author: Donato Ferrante
e-mail: [email protected]
web: www.autistici.org/fdonato
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
1. Description
2. The bug
3. The code
4. The fix
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
----------------
1. Description:
----------------
Vendor's Description:
"WinFTP Server is a multithreaded FTP server for Windows 98/NT/XP."
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
------------
2. The bug:
------------
The bug is located in the "Log To Screen" feature, this feature
allows the program to show server's log on screen.
By default the program has this function (called Log-SCR) enabled.
So a malicious user can trigger an unicode buffer overflow.
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
-------------
3. The code:
-------------
To test the vulnerability send a request to the FTP server like:
aaa [1024 of a] aaa
and then scroll down the log screen, so the server will crash.
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
------------
4. The fix:
------------
Vendor has been contacted.
Bug will be fixed in the next release.
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx