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, which allows local us...
HighCVSS 7.8
EPSS 0.66%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/wget(Debian:12) | < 1.20.1-1 | 1.20.1-1 |
| debian/wget(Debian:13) | < 1.20.1-1 | 1.20.1-1 |
| debian/wget(Debian:14) | < 1.20.1-1 | 1.20.1-1 |
| GNU wget | < 1.20.1 | 1.20.1 |
| alpine/wget(Alpine:v3.10) | < 1.20.1-r0 | 1.20.1-r0 |
| alpine/wget(Alpine:v3.11) | < 1.20.1-r0 | 1.20.1-r0 |
| alpine/wget(Alpine:v3.12) | < 1.20.1-r0 | 1.20.1-r0 |
| alpine/wget(Alpine:v3.13) | < 1.20.1-r0 | 1.20.1-r0 |
| alpine/wget(Alpine:v3.14) | < 1.20.1-r0 | 1.20.1-r0 |
| alpine/wget(Alpine:v3.15) | < 1.20.1-r0 | 1.20.1-r0 |
| alpine/wget(Alpine:v3.16) | < 1.20.1-r0 | 1.20.1-r0 |
| alpine/wget(Alpine:v3.17) | < 1.20.1-r0 | 1.20.1-r0 |
| alpine/wget(Alpine:v3.18) | < 1.20.1-r0 | 1.20.1-r0 |
| alpine/wget(Alpine:v3.19) | < 1.20.1-r0 | 1.20.1-r0 |
| alpine/wget(Alpine:v3.20) | < 1.20.1-r0 | 1.20.1-r0 |
| alpine/wget(Alpine:v3.21) | < 1.20.1-r0 | 1.20.1-r0 |
| alpine/wget(Alpine:v3.22) | < 1.20.1-r0 | 1.20.1-r0 |
| alpine/wget(Alpine:v3.23) | < 1.20.1-r0 | 1.20.1-r0 |
| alpine/wget(Alpine:v3.24) | < 1.20.1-r0 | 1.20.1-r0 |
| alpine/wget(Alpine:v3.6) | < 1.20.1-r0 | 1.20.1-r0 |
| alpine/wget(Alpine:v3.7) | < 1.20.1-r0 | 1.20.1-r0 |
| alpine/wget(Alpine:v3.8) | < 1.20.1-r0 | 1.20.1-r0 |
| alpine/wget(Alpine:v3.9) | < 1.20.1-r0 | 1.20.1-r0 |
References
- Debian Security Tracker CVE-2018-20483 vendor-advisory
- git.savannah.gnu.org release-notes third-party-advisory
- 106358 third-party-advisory vdb-entry
- RHSA-2019:3701 vendor-advisory
- GLSA-201903-08 third-party-advisory vendor-advisory
- security.netapp.com
- twitter.com exploit third-party-advisory
- USN-3943-1 vendor-advisory
- security.alpinelinux.org vendor-advisory
- bugs.debian.org issue-tracking