Files
CVEs-PoC/2010/CVE-2010-2252.md
T
2024-06-18 02:51:15 +02:00

19 lines
968 B
Markdown

### [CVE-2010-2252](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-2252)
![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen)
### 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.
### POC
#### Reference
- http://lists.gnu.org/archive/html/bug-wget/2010-05/msg00023.html
- http://lists.gnu.org/archive/html/bug-wget/2010-05/msg00031.html
#### Github
No PoCs found on GitHub currently.