CVE-2010-2252 Path traversal in n/a
Remote servers can overwrite arbitrary files, including dotfiles, via crafted redirects, potentially leading to arbitrary code execution.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2010-2252?
CVE-2010-2252 is a medium-severity path traversal vulnerability in n/a, published on 6 Jul 2010. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-20
Which versions are affected by CVE-2010-2252?
It affects 1 product.
Linux distribution packages (8)
wget Red Hat:enterprise_linux:6::client | All versions | 0:1.12-1.11.el6_5 |
wget-debuginfo Red Hat:enterprise_linux:6::client | All versions | 0:1.12-1.11.el6_5 |
wget Red Hat:enterprise_linux:6::computenode | All versions | 0:1.12-1.11.el6_5 |
wget-debuginfo Red Hat:enterprise_linux:6::computenode | All versions | 0:1.12-1.11.el6_5 |
wget Red Hat:enterprise_linux:6::server | All versions | 0:1.12-1.11.el6_5 |
wget-debuginfo Red Hat:enterprise_linux:6::server | All versions | 0:1.12-1.11.el6_5 |
wget Red Hat:enterprise_linux:6::workstation | All versions | 0:1.12-1.11.el6_5 |
wget-debuginfo Red Hat:enterprise_linux:6::workstation | All versions | 0:1.12-1.11.el6_5 |
Products include Gnu Wget.
How do I fix CVE-2010-2252?
Upgrade to a fixed version.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2010-2252 being exploited?
There is no known exploitation of CVE-2010-2252 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as DEBIAN-CVE-2010-2252, DSA-2088-1, GHSA-hqjw-x4mf-w7v2, RHSA-2014:0151.