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: 6.9 [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]
CVE-ID: CVE-2010-2252
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

wget
Gentoo Linux
wget (Alpine package)

How to mitigate CVE-2010-2252

Install update from vendor's website.

wget - update to 1.13
wget (Alpine package) - addressed in versions 1.12-r3, 1.12-r4

External References

Related Security Bulletins