What’s Vulnerable › Vulnerabilities
CVE-2010-2252
- Severity: medium (CVSS 6.8 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 4.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2010-07-06 · updated 2026-06-16
- Weakness: 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 products
- gnuwget wget: through 1.12; 1.5.3, 1.6, 1.7, 1.7.1, 1.8, 1.8.1 (+11)
References
- http://lists.gnu.org/archive/html/bug-wget/2010-05/msg00023.html
- http://lists.gnu.org/archive/html/bug-wget/2010-05/msg00031.html
- http://lists.gnu.org/archive/html/bug-wget/2010-05/msg00032.html
- http://lists.gnu.org/archive/html/bug-wget/2010-05/msg00033.html
- http://lists.gnu.org/archive/html/bug-wget/2010-05/msg00034.html
- http://marc.info/?l=oss-security&m=127411372529485&w=2
- http://marc.info/?l=oss-security&m=127412569216380&w=2
- http://marc.info/?l=oss-security&m=127416905831994&w=2
- http://marc.info/?l=oss-security&m=127422615924593&w=2
- http://marc.info/?l=oss-security&m=127427572721591&w=2
- http://marc.info/?l=oss-security&m=127432968701342&w=2
- http://marc.info/?l=oss-security&m=127441275821210&w=2
Get alerted when CVE-2010-2252 or the next vulnerability affects your stack