CVE-2010-2252

Severity CVSS v4.0:
Pending analysis
Type:
CWE-20 Input Validation
Publication date:
06/07/2010
Last modified:
11/04/2025

Description

GNU Wget 1.12 and earlier uses a server-provided filename instead of the original URL to determine the destination filename of a download, which allows remote servers to create or overwrite arbitrary files via a 3xx redirect to a URL with a .wgetrc filename followed by a 3xx redirect to a URL with a crafted filename, and possibly execute arbitrary code as a consequence of writing to a dotfile in a home directory.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:gnu:wget:*:*:*:*:*:*:*:* 1.12 (including)
cpe:2.3:a:gnu:wget:1.5.3:*:*:*:*:*:*:*
cpe:2.3:a:gnu:wget:1.6:*:*:*:*:*:*:*
cpe:2.3:a:gnu:wget:1.7:*:*:*:*:*:*:*
cpe:2.3:a:gnu:wget:1.7.1:*:*:*:*:*:*:*
cpe:2.3:a:gnu:wget:1.8:*:*:*:*:*:*:*
cpe:2.3:a:gnu:wget:1.8.1:*:*:*:*:*:*:*
cpe:2.3:a:gnu:wget:1.8.2:*:*:*:*:*:*:*
cpe:2.3:a:gnu:wget:1.9:*:*:*:*:*:*:*
cpe:2.3:a:gnu:wget:1.9.1:*:*:*:*:*:*:*
cpe:2.3:a:gnu:wget:1.10:*:*:*:*:*:*:*
cpe:2.3:a:gnu:wget:1.10.1:*:*:*:*:*:*:*
cpe:2.3:a:gnu:wget:1.10.2:*:*:*:*:*:*:*
cpe:2.3:a:gnu:wget:1.11:*:*:*:*:*:*:*
cpe:2.3:a:gnu:wget:1.11.1:*:*:*:*:*:*:*


References to Advisories, Solutions, and Tools