CVE-2018-20483

LOW

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.

References

http://git.savannah.gnu.org/cgit/wget.git/tree/NEWS

http://www.securityfocus.com/bid/106358

https://security.gentoo.org/glsa/201903-08

https://security.netapp.com/advisory/ntap-20190321-0002/

https://twitter.com/marcan42/status/1077676739877232640

https://usn.ubuntu.com/3943-1/

Details

Source: MITRE

Published: 2018-12-26

Updated: 2019-04-09

Type: CWE-255

Risk Information

CVSS v2.0

Base Score: 2.1

Vector: AV:L/AC:L/Au:N/C:P/I:N/A:N

Impact Score: 2.9

Exploitability Score: 3.9

Severity: LOW

CVSS v3.0

Base Score: 7.8

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Impact Score: 5.9

Exploitability Score: 1.8

Severity: HIGH