wget -- security flaw in caching credentials passed as a part of the URL

2018-12-25T00:00:00
ID A737EB11-5CFC-11E9-AB87-8CEC4BF8FCFB
Type freebsd
Reporter FreeBSD
Modified 2018-12-25T00:00:00

Description

Gynvael Coldwind reports:

    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.