CVEvulnerability

CVE-2010-2252

6.8 MEDIUM Published 2010-07-06 Modified 2026-06-16 Official page ↗
Status
Modified
Published
2010-07-06
Last modified
2026-06-16
Assigner
[email protected]
CVSS 2.0 ([email protected])
6.8 MEDIUM — AV:N/AC:M/Au:N/C:P/I:P/A:P
Weaknesses
CWE-20

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.

Affected configurations

• gnu wget (<= 1.12) • gnu wget 1.5.3 • gnu wget 1.6 • gnu wget 1.7 • gnu wget 1.7.1 • gnu wget 1.8 • gnu wget 1.8.1 • gnu wget 1.8.2 • gnu wget 1.9 • gnu wget 1.9.1 • gnu wget 1.10 • gnu wget 1.10.1 • gnu wget 1.10.2 • gnu wget 1.11 • gnu wget 1.11.1 • gnu wget 1.11.2 • gnu wget 1.11.3 • gnu wget 1.11.4

Related

Weakness · CWE (1)

  • CWE-20 Improper Input Validation weakness

References