Security Advisory wget security update

Advisory: RHSA-2002:256-08
Type: Security Advisory
Severity: Moderate
Issued on: 2003-02-06
Last updated on: 2003-02-05
Affected Products: Red Hat Enterprise Linux AS (v. 2.1)
Red Hat Linux Advanced Workstation 2.1 for the Itanium Processor
OVAL: N/A
CVEs (cve.mitre.org): CVE-2002-1344

Details

The wget packages shipped with Red Hat Linux Advanced Server 2.1 contain a
security bug which, under certain circumstances, can cause local files to
be written outside the download directory.

[Updated 09 Jan 2003]
Added fixed packages for the Itanium (IA64) architecture.

[Updated 06 Feb 2003]
Added fixed packages for Advanced Workstation 2.1

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, .shost,
etc.) that can then be used for later attacks against the client machine.

All users of wget should upgrade to the errata packages which are not
vulnerable to this issue.

Thanks to Steven M. Christey for his work in discovering this issue
in current FTP clients and for providing a patched FTP server to verify
the new packages.


Solution

Before applying this update, make sure all previously released errata
relevant to your system have been applied.

Please note that this update is available via Red Hat Network. To use Red
Hat Network, launch the Red Hat Update Agent with the following command:

up2date

This will start an interactive process that will result in the appropriate
RPMs being upgraded on your system.

Updated packages

Red Hat Enterprise Linux AS (v. 2.1)

SRPMS:
wget-1.8.2-4.72.src.rpm
File outdated by:  RHSA-2005:812
    eefe85c57b07aa14522ab79a5c2f5607
 
IA-32:
wget-1.8.2-4.72.i386.rpm
File outdated by:  RHSA-2005:812
    03ae8545b03f137b72b57dc2b2e91e22
 
IA-64:
wget-1.8.2-4.72.ia64.rpm
File outdated by:  RHSA-2005:812
    9f349807fbd8ecc7a2678af45e5d4ad1
 
Red Hat Linux Advanced Workstation 2.1 for the Itanium Processor

SRPMS:
wget-1.8.2-4.72.src.rpm
File outdated by:  RHSA-2005:812
    eefe85c57b07aa14522ab79a5c2f5607
 
IA-64:
wget-1.8.2-4.72.ia64.rpm
File outdated by:  RHSA-2005:812
    9f349807fbd8ecc7a2678af45e5d4ad1
 
(The unlinked packages above are only available from the Red Hat Network)

References


Keywords

client, directory, flaw:dot, ftp, traversal, wget


These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from:
https://www.redhat.com/security/team/key/#package

The Red Hat security contact is secalert@redhat.com. More contact details at http://www.redhat.com/security/team/contact/