Search vulnerabilities

Results 28

CVE-2017-13089

GNU Wget: stack overflow in HTTP protocol handling

The http.c:skip_short_body() function is called in some circumstances, such as when processing redirects. When the response is sent chunked in wget before 1.19.2, the chunk parser uses strtol() to read each chunk's length, but doesn't check that the chunk length is a non-negative number. The code then tries to skip the chunk in pieces of 512 bytes by using the MIN() macro, but ends up passing the negative chunk length to connect.c:fd_read(). As fd_read() takes an int argument, the high 32 bits of the chunk length are discarded, leaving fd_read() with a completely attacker controlled length argument.

CVSS 3.0 · 8.8 High EPSS 79.9% KEV · Not listed
Vendors
CVE-2016-7098

wget: files rejected by access list are kept on the disk for the duration of HTTP connection

Race condition in wget 1.17 and earlier, when used in recursive or mirroring mode to download a single file, might allow remote servers to bypass intended access list restrictions by keeping an HTTP connection open.

CVSS 3.0 · 8.1 High EPSS 7.5% KEV · Not listed
Vendors
Gnu
Products
CVE-2016-4971

wget: Lack of filename checking allows arbitrary file upload via FTP redirect

GNU wget before 1.18 allows remote servers to write to arbitrary files by redirecting a request from HTTP to a crafted FTP resource.

CVSS 3.1 · 8.8 High EPSS 46.1% KEV · Not listed
Vendors
Canonical Gnu Oracle and 2 more
Products
CVE-2014-4877

wget: FTP symlink arbitrary filesystem access

Absolute path traversal vulnerability in GNU Wget before 1.16, when recursion is enabled, allows remote FTP servers to write to arbitrary files, and consequently execute arbitrary code, via a LIST response that references the same filename within two entries, one of which indicates that the filename is for a symlink.

CVSS 2.0 · 9.3 Critical EPSS 39.9% KEV · Not listed
Vendors
CVE-2010-2252

wget: multiple HTTP client download filename vulnerability [OCERT 2010-001]

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.

CVSS 2.0 · 6.8 Medium EPSS 4.2% KEV · Not listed
Vendors
CVE-2019-5953

wget: do_conversion() heap-based buffer overflow vulnerability

Buffer overflow in GNU Wget 1.20.1 and earlier allows remote attackers to cause a denial-of-service (DoS) or may execute an arbitrary code via unspecified vectors.

CVSS 3.0 · 9.8 Critical EPSS 5.9% KEV · Not listed
Vendors
Products
CVE-2018-20483

wget: Information exposure in set_file_metadata function in xattr.c

set_file_metadata in xattr.c in GNU Wget before 1.20.1 stores a file's origin URL in the user.xdg.origin.url metadata attribute of the extended attributes of the downloaded file, which allows local users to obtain sensitive information (e.g., credentials contained in the URL) by reading this attribute, as demonstrated by getfattr. This also applies to Referer information in the user.xdg.referrer.url metadata attribute. According to 2016-07-22 in the Wget ChangeLog, user.xdg.origin.url was partially based on the behavior of fwrite_xattr in tool_xattr.c in curl.

CVSS 3.0 · 7.8 High EPSS < 1% KEV · Not listed
Vendors
CVE-2018-0494

wget: Cookie injection allows malicious website to write arbitrary cookie entries into cookie jar

GNU Wget before 1.19.5 is prone to a cookie injection vulnerability in the resp_new function in http.c via a \r\n sequence in a continuation line.

CVSS 3.0 · 6.5 Medium EPSS 16.5% KEV · Not listed
Vendors
Canonical Debian Gnu and 1 more
Products