Vulnerability Note VU#210409
Multiple FTP clients contain directory traversal vulnerabilities
Overview
Multiple File Transfer Protocol (FTP) clients contain directory traversal vulnerabilities that allow a malicious FTP server to overwrite files on the client host.
Description
In a typical file transfer operation, one participant (the client) requests a file while a second participant (the server) provides the requested file. Before processing each request, many server implementations will consult an access control policy to determine whether the client should be permitted to read, write, or create a file at the requested location. If the client is able to craft a request that violates the server's access control policy, then the server contains a vulnerability. Since most vulnerabilities of this type involve escaping a restricted set of directories, they are commonly known as "directory traversal" vulnerabilities. Directory traversal vulnerabilities are most often reported in server implementations, but recent research into the behavior of FTP clients has revealed several vulnerabilities in various FTP client implementations. To exploit these vulnerabilities, an attacker must convince the FTP client user to access a specific FTP server containing files with crafted filenames. When an affected FTP client attempts to download one of these files, the crafted filename causes the client to write the downloaded files to the location specified by the filename, not by the victim user. In some cases, the attacker must use a modified FTP server to allow the crafted filenames to be passed to the client. |
Impact
This vulnerability allows an attacker to mislead users of affected FTP clients, convincing the victim to unintentionally create or overwrite files on the client's filesystem. |
Solution
Apply a patch from your vendor |
Systems Affected (Learn More)
| Vendor | Status | Date Notified | Date Updated |
|---|---|---|---|
| NcFTP Software | Affected | 05 Dec 2002 | 19 Dec 2002 |
| Sun Microsystems Inc. | Affected | 05 Dec 2002 | 09 Dec 2002 |
| IBM | Not Affected | 05 Dec 2002 | 19 Dec 2002 |
| Openwall GNU/*/Linux | Not Affected | 05 Dec 2002 | 09 Dec 2002 |
| Apple Computer Inc. | Unknown | 05 Dec 2002 | 05 Dec 2002 |
| BSDI | Unknown | 05 Dec 2002 | 05 Dec 2002 |
| Cray Inc. | Unknown | 05 Dec 2002 | 05 Dec 2002 |
| Data General | Unknown | 05 Dec 2002 | 05 Dec 2002 |
| F5 Networks | Unknown | 05 Dec 2002 | 05 Dec 2002 |
| FreeBSD | Unknown | 05 Dec 2002 | 05 Dec 2002 |
| Fujitsu | Unknown | 05 Dec 2002 | 05 Dec 2002 |
| Guardian Digital Inc. | Unknown | 05 Dec 2002 | 05 Dec 2002 |
| Hewlett-Packard Company | Unknown | 05 Dec 2002 | 05 Dec 2002 |
| Juniper Networks | Unknown | 05 Dec 2002 | 05 Dec 2002 |
| Microsoft Corporation | Unknown | 05 Dec 2002 | 05 Dec 2002 |
CVSS Metrics (Learn More)
| Group | Score | Vector |
|---|---|---|
| Base | N/A | N/A |
| Temporal | N/A | N/A |
| Environmental | N/A | N/A |
References
Credit
The CERT/CC thanks Steve Christey for his discovery and analysis of these vulnerabilities.
This document was written by Jeffrey P. Lanza.
Other Information
- CVE IDs: CAN-2002-1345
- Date Public: 10 Dec 2002
- Date First Published: 10 Dec 2002
- Date Last Updated: 14 Mar 2003
- Severity Metric: 2.81
- Document Revision: 31
Feedback
If you have feedback, comments, or additional information about this vulnerability, please send us email.