SkipNavigation
US-CERT
American Flag
  Vulnerability
Notes
Database

Search Vulnerability Notes

Vulnerability Notes Help Information


 
 View Notes By
  Name

ID Number

CVE Name

Date Public

Date Published

Date Updated

Severity Metric



 Other Documents
  Technical Alerts

Technical Bulletins

Alerts

Security Tips

 

Vulnerability Note VU#210148

wget contains directory traversal vulnerability

Overview

The wget utility contains directory traversal vulnerabilities that allow a malicious FTP server to overwrite files on the client host.

I. 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 vulnerabilities in several file transfer applications, including the wget utility. To exploit these vulnerabilities, an attacker must convince the victim user to access a specific FTP server containing files with crafted filenames. When an affected version of wget attempts to download one of these files, the crafted filename causes the utility 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.

For more detailed information regarding this research, please read "Directory Traversal Vulnerabilities in FTP Clients", written by Steve Christey.

II. Impact

This vulnerability allows an attacker to mislead wget users, convincing them to unintentionally create or overwrite files on the client's filesystem.

III. Solution

Apply a patch from your vendor


For vendor-specific information regarding vulnerability status and patch availability, please consult the Systems Affected section of this document

Systems Affected

VendorStatusDate Updated
ConectivaVulnerable13-Dec-2002
DebianVulnerable13-Dec-2002
Gentoo LinuxVulnerable31-Dec-2002
MandrakeSoftVulnerable12-Dec-2002
Red Hat Inc.Vulnerable10-Dec-2002
TrustixVulnerable31-Dec-2002

References


http://online.securityfocus.com/archive/1/302956

Credit

The CERT/CC thanks Steve Christey for his discovery and analysis of this vulnerability.

This document was written by Jeffrey P. Lanza.

Other Information

Date Public12/10/2002
Date First Published12/10/2002 05:48:29 PM
Date Last Updated04/14/2003
CERT Advisory 
CVE NameCAN-2002-1344
US-CERT Technical Alerts 
Metric0.68
Document Revision12

If you have feedback, comments, or additional information about this vulnerability, please send us email.
 

 
Page Corner Image
Copyright 2002 Carnegie Mellon University
Disclaimers and copyright information
Get Adobe Reader Get Adobe Reader