Joined: 12 May 2004
|Posted: Sun Oct 16, 2011 8:26 pm Post subject: [ GLSA 201110-10 ] Wget: User-assisted file creation or over
|Gentoo Linux Security Advisory
Title: Wget: User-assisted file creation or overwrite (GLSA 201110-10)
Date: October 13, 2011
Insecure usage of server provided filenames may allow the creation
or overwriting of local files.
GNU Wget is a free software package for retrieving files using HTTP,
HTTPS and FTP, the most widely-used Internet protocols.
Vulnerable: < 1.12-r2
Unaffected: >= 1.12-r2
Architectures: All supported architectures
It was discovered that Wget was unsafely trusting server-provided
filenames. This allowed attackers to overwrite or create files on the
user's system by sending a redirect from the expected URL to another URL
specifying the targeted file.
An unauthenticated remote attacker may be able to create or overwrite
local files by enticing the user to open an attacker controlled URL,
possibly leading to execution of arbitrary code.
There is no known workaround at this time.
All Wget users should upgrade to the latest version:
NOTE: This is a legacy GLSA. Updates for all affected architectures are
|# emerge --sync
# emerge --ask --oneshot --verbose ">=net-misc/wget-1.12-r2"
available since September 19, 2010. It is likely that your system is
already no longer affected by this issue.