exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

twinftp103r2.txt

twinftp103r2.txt
Posted Sep 13, 2004
Authored by Tan Chew Keong | Site security.org.sg

A directory traversal vulnerability exists in several FTP commands of TwinFTP that may be exploited by a malicious user to access files outside the FTP directory. The problem lies with the incorrect filtering of directory name supplied to CWD, STOR and RETR commands. Versions tested: TwinFTP Server Standard 1.0.3 R2 (Win32) on English WinXP SP1, TwinFTP Server Enterprise 1.0.3 R2 (Win32) on English Win2K SP2.

tags | advisory
systems | windows
SHA-256 | d6f72bc7fab9132f3f56758b94be272eefba30b76a4c1dabb51e82a11d482c15

twinftp103r2.txt

Change Mirror Download


SIG^2 Vulnerability Research Advisory

Directory Traversal Vulnerability in TwinFTP Server allows overwriting
of files outside FTP directory

by Tan Chew Keong
Release Date: 12 Sept 2004


ADVISORY URL

http://www.security.org.sg/vuln/twinftp103r2.html


SUMMARY

TwinFTP Server (http://www.twinftp.com/) is a FTP server released by
Jigunet Corporation for the Windows platform. A vulnerability exists in
TwinFTP server that allows a malicious user access to files outside the
FTP directory. This vulnerability may also be exploited to bypass
directory restrictions enforced by the FTP server to write arbitrary
files into directories that the server process has access to.


TESTED SYSTEM

TwinFTP Server Standard 1.0.3 R2 (Win32) on English WinXP SP1.
TwinFTP Server Enterprise 1.0.3 R2 (Win32) on English Win2K SP2.


DETAILS

A directory traversal vulnerability exists in several FTP commands of
TwinFTP that may be exploited by a malicious user to access files
outside the FTP directory. The problem lies with the incorrect filtering
of directory name supplied to CWD, STOR and RETR commands. Directory
traversal is possible when the directory name contains three dots and a
forward slash, e.g. ".../winnt".

This vulnerability may be exploited to bypass directory restrictions
enforced by the FTP server to write arbitrary files into directories
that the server process has access to. This is critical since it may be
abused by malicious users to overwrite system files within the Windows
directory if the TwinFTP server runs with Administrator privilege.


PATCH

Upgrade to Version 1.0.3 R3 that is released on 10 Sep 2004. Version
1.0.3 R3 released before 10 Sep 2004 is vulnerable.


DISCLOSURE TIMELINE

02 Aug 04 - Vulnerability Discovered
04 Aug 04 - Initial Vendor Notification (no reply)
09 Aug 04 - Second Vendor Notification
13 Aug 04 - Vendor released Version 1.0.3 R3 which fixes directory
traversal problem, but RETR and STOR commands are still vulnerable
13 Aug 04 - Notified vendor about RETR and STOR vulnerability (no reply)
30 Aug 04 - Second vendor notification about RETR and STOR vulnerability
10 Sep 04 - Vendor re-released Version 1.0.3 R3 which fixes RETR and
STOR commands.
12 Sep 04 - Public Release


GREETINGS

All guys at SIG^2 G-TEC Lab
http://www.security.org.sg/webdocs/g-tec.html

SIG^2 G-TEC Software Vulnerability Research Project
http://www.security.org.sg/vuln/

"IT Security...the Gathering. By enthusiasts for enthusiasts."
Login or Register to add favorites

File Archive:

September 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Sep 1st
    261 Files
  • 2
    Sep 2nd
    17 Files
  • 3
    Sep 3rd
    38 Files
  • 4
    Sep 4th
    52 Files
  • 5
    Sep 5th
    23 Files
  • 6
    Sep 6th
    27 Files
  • 7
    Sep 7th
    0 Files
  • 8
    Sep 8th
    1 Files
  • 9
    Sep 9th
    16 Files
  • 10
    Sep 10th
    38 Files
  • 11
    Sep 11th
    21 Files
  • 12
    Sep 12th
    40 Files
  • 13
    Sep 13th
    18 Files
  • 14
    Sep 14th
    0 Files
  • 15
    Sep 15th
    0 Files
  • 16
    Sep 16th
    0 Files
  • 17
    Sep 17th
    0 Files
  • 18
    Sep 18th
    0 Files
  • 19
    Sep 19th
    0 Files
  • 20
    Sep 20th
    0 Files
  • 21
    Sep 21st
    0 Files
  • 22
    Sep 22nd
    0 Files
  • 23
    Sep 23rd
    0 Files
  • 24
    Sep 24th
    0 Files
  • 25
    Sep 25th
    0 Files
  • 26
    Sep 26th
    0 Files
  • 27
    Sep 27th
    0 Files
  • 28
    Sep 28th
    0 Files
  • 29
    Sep 29th
    0 Files
  • 30
    Sep 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close