<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd"> <glsa id="201110-10"> <title>Wget: User-assisted file creation or overwrite</title> <synopsis>Insecure usage of server provided filenames may allow the creation or overwriting of local files. </synopsis> <product type="ebuild">Wget</product> <announced>2011-10-13</announced> <revised count="1">2011-10-13</revised> <bug>329941</bug> <access>remote</access> <affected> <package name="net-misc/wget" auto="yes" arch="*"> <unaffected range="ge">1.12-r2</unaffected> <vulnerable range="lt">1.12-r2</vulnerable> </package> </affected> <background> <p>GNU Wget is a free software package for retrieving files using HTTP, HTTPS and FTP, the most widely-used Internet protocols. </p> </background> <description> <p>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. </p> </description> <impact type="normal"> <p>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. </p> </impact> <workaround> <p>There is no known workaround at this time.</p> </workaround> <resolution> <p>All Wget users should upgrade to the latest version:</p> <code> # emerge --sync # emerge --ask --oneshot --verbose ">=net-misc/wget-1.12-r2" </code> <p>NOTE: This is a legacy GLSA. Updates for all affected architectures are available since September 19, 2010. It is likely that your system is already no longer affected by this issue. </p> </resolution> <references> <uri link="https://nvd.nist.gov/nvd.cfm?cvename=CVE-2010-2252">CVE-2010-2252</uri> </references> <metadata timestamp="2011-10-07T23:37:55Z" tag="requester"> underling </metadata> <metadata timestamp="2011-10-13T23:47:06Z" tag="submitter"> underling </metadata> </glsa>