CVE-2018-20483
What it is
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.
At a glance
- Exploitability
- Can be exploited locally on the machine with a low-privilege account. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 0.7% chance of exploitation in the next 30 days (EPSS).
- Fix
- No patch or advisory is linked yet. Look at mitigations or restrict exposure.
Timeline
- ReservedThe CVE id was reserved by its CNA
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.7% in the next 30 days (EPSS).
- Severity: 7.8 HIGH (CVSS).
- Fix: none linked yet, which raises it.
Details
- Published
- Last modified
- Exploit probability
- 0.7% · EPSS, next 30 days
- Weakness
- CWE-200 · Information exposure
- Record status
- Modified
Affected
- Gnu Wget < 1.20.1
Attack profile CVSS 3.0 · 7.8
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Raw vector
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2018-20483.md and follow it. Check whether this project is affected by CVE-2018-20483. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
References
- http://git.savannah.gnu.org/cgit/wget.git/tree/NEWS
- http://www.securityfocus.com/bid/106358
- https://access.redhat.com/errata/RHSA-2019:3701
- 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/
- http://git.savannah.gnu.org/cgit/wget.git/tree/NEWS
- http://www.securityfocus.com/bid/106358
- https://access.redhat.com/errata/RHSA-2019:3701
- 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/