High severity · published Dec 26, 2018
CVE-2018-20483
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,…
7.8
CVSS
0.7%
EPSS
No
On KEV
Description
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 vector
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.7% · higher than 51% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
WG
Wget · Gnu
before 1.20.1 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2018-20483
CVE.org
https://www.cve.org/CVERecord?id=CVE-2018-20483
Release Notes
http://git.savannah.gnu.org/cgit/wget.git/tree/NEWS
Third Party Advisory
http://www.securityfocus.com/bid/106358
access.redhat.com
https://access.redhat.com/errata/RHSA-2019:3701
Third Party Advisory
https://security.gentoo.org/glsa/201903-08
security.netapp.com
https://security.netapp.com/advisory/ntap-20190321-0002/
Exploit
https://twitter.com/marcan42/status/1077676739877232640
More from Wget
9.8
CVE-2019-5953
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
9.1
CVE-2024-38428
url.c in GNU Wget through 1.24.5 mishandles semicolons in the userinfo subcomponent of a URI, and thus there may be insecure behavior in which data that was supposed to be in the…
8.8
CVE-2017-13090
The retr.c:fd_read_body() function is called when processing OK responses
8.8
CVE-2017-13089
The http.c:skip_short_body() function is called in some circumstances, such as when processing redirects
8.8
CVE-2016-4971
GNU wget before 1.18 allows remote servers to write to arbitrary files by redirecting a request from HTTP to a crafted FTP resource
