[Linux] Store that file was downloaded from the Internet (Extended Attribute user.xdg.origin.url)
Categories
(Toolkit :: Downloads API, enhancement)
Tracking
()
People
(Reporter: BenB, Unassigned)
References
Details
(Keywords: privacy-review-needed)
Updated•12 years ago
|
Comment 2•9 years ago
|
||
Comment 3•8 years ago
|
||
Comment 4•8 years ago
|
||
| Reporter | ||
Comment 5•8 years ago
|
||
Comment 6•8 years ago
|
||
Comment 7•8 years ago
|
||
Comment 8•8 years ago
|
||
| Reporter | ||
Comment 9•8 years ago
|
||
| Reporter | ||
Comment 10•8 years ago
|
||
Comment 11•8 years ago
|
||
Comment 12•7 years ago
|
||
(In reply to Adam Borowski from comment #6)
Chromium on Windows doesn't suffer from this problem:
ꜰɪʟᴇ: user.Zone.Identifier: [ZoneTransfer]
ZoneId=3
That's not the behaviour in the current stable version of Chrome for Windows (73.0.3683.86).
If you download the following file in normal mode:
https://pypi.org/project/canadian-ham-exam/#files
the contents of the NTFS alternate data stream will be:
[ZoneTransfer]
ZoneId=3
ReferrerUrl=https://files.pythonhosted.org/
HostUrl=https://files.pythonhosted.org/packages/d9/0a/d3d1290794660b7e49efe1339a3dc57e3c9b82ac7641595a485691f51ee2/canadian-ham-exam-0.2.0.tar.gz
as opposed to Incognito mode where it will be:
[ZoneTransfer]
ZoneId=3
HostUrl=about:internet
Comment 13•7 years ago
|
||
Also, note that Chromium has now removed this metadata from Linux builds: https://chromium.googlesource.com/chromium/src/+/a9b4fb70b4318b220deee0da7b1693d16b8ed071
Comment 14•7 years ago
|
||
Fixed in wget 1.20.1: it no longer saves this data by default, and even upon explicit request it stores only scheme/host/port for Referer, and cut down URL. No CVE was issued but it probably should have been.
Good to hear it got fixed in Chromium as well.
Comment 15•7 years ago
|
||
To explain my comment about CVE, so it doesn't sound like chicken little: wget knew that a part of the URL was username and password because it added it itself -- thus the severity is obvious. This differs from wget or Chromium saving an URL entirely providen by the user as the software has no way of knowing if there's indeed auth data inside (there still often is).
Updated•3 years ago
|
Comment 16•3 years ago
|
||
Related idea on Mozilla Connect: https://connect.mozilla.org/t5/ideas/add-user-xdg-origin-url-attribute-to-downloaded-files/idi-p/17404
Description
•