Input validation error in wget - CVE-2010-2252

 

Input validation error in wget - CVE-2010-2252

Published: July 6, 2010 / Updated: August 3, 2020


Vulnerability identifier: #VU33335
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2010-2252
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: GNU
Affected software:
wget

Detailed vulnerability description

The vulnerability allows a remote non-authenticated attacker to read and manipulate data.

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.


How to mitigate CVE-2010-2252

Install update from vendor's website.

Sources