|
|
Log in / Subscribe / Register

wget:directory traversal bug

Package(s):wget CVE #(s):CAN-2002-1344
Created:December 10, 2002 Updated:October 1, 2003
Description: Versions of wget prior to 1.8.2-4 contain a bug that permits a malicious FTP server to create or overwrite files anywhere on the local file system.

FTP clients must check to see if an FTP server's response to the NLST command includes any directory information along with the list of filenames required by the FTP protocol (RFC 959, section 4.1.3).

If the FTP client fails to do so, a malicious FTP server can send filenames beginning with '/' or containing '/../' which can be used to direct a vulnerable FTP client to write files (such as .forward, .rhosts, .shosts, etc.) that can then be used for later attacks against the client machine.

See also this Bugtraq article from 1997.

CAN-2002-1344

Alerts:
Immunix IMNX-2003-7+-011-01 wget 2003-06-03
OpenPKG OpenPKG-SA-2003.007 wget 2003-01-23
SCO Group CSSA-2003-003.0 wget 2003-01-16
Gentoo 200212-7 wget 2002-12-20
Trustix 2002-0089 wget 2002-12-19
Conectiva CLA-2002:552 wget 2002-12-13
Debian DSA-209-1 wget 2002-12-12
Mandrake MDKSA-2002:086 wget 2002-12-11
Red Hat RHSA-2002:229-10 wget 2002-12-04

to post comments


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds