Storage access permission is shown for first party
Categories
(Core :: Privacy: Anti-Tracking, defect, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox88 | --- | fixed |
People
(Reporter: emz, Assigned: timhuang)
References
(Blocks 1 open bug)
Details
Attachments
(5 files)
While testing on amazon.de I noticed that the 3rdPartyStorage permission is shown for amazon.de even though amazon.de is the first party. This is unexpected? I've attached a screenshot.
STR:
- Go to amazon.de
- On the cookie banner that pops up select "Cookie Einstellungen anpassen"
- On the next page: "Alle cookies annehmen"
| Reporter | ||
Comment 1•5 years ago
|
||
Here is the permission database. This is a clean profile so these are the only two entries.
Comment 2•5 years ago
|
||
Thanks for flagging this. Per my understanding, permissions in the form 3rdPartyStorage^foo.com are only set for third-party origins, so my suspicion would be that the permission-setting code thinks amazon.de is a third-party for some reason. If this is wrong, we should probably patch the frontend to not assume that foo.com is a third-party and handle the first-party case somehow.
| Reporter | ||
Updated•5 years ago
|
| Assignee | ||
Updated•5 years ago
|
| Reporter | ||
Comment 3•5 years ago
|
||
Ran into the same issue with drive.google.com.
| Reporter | ||
Comment 4•5 years ago
|
||
Updating priority, since we've identified this bug as MVP follow-up.
| Assignee | ||
Updated•5 years ago
|
| Assignee | ||
Comment 5•5 years ago
|
||
The root cause of this issue is that we have an issue that we will grant the storage access regardless the forwarding domain is a tracker or not. So, we would grant access to the tracker itself if the tracker redirects to the same domain. In this case, amazon.de.
| Assignee | ||
Comment 6•5 years ago
|
||
This patch adds a flag 'needForCheckingAntiTrackingHeuristic' in
loadInfo. This flag will be used for deciding if we need to check the
AntiTracking heuristic after the channel has been classified.
| Assignee | ||
Comment 7•5 years ago
|
||
This patch separetes the original AntiTrackingRedirectHeuristic into two
phases. The first phase will be called when we know the redirect is
about to happen. It will check necessary informance to see if we need to
process the heuristic after the classifier flag is ready for the new
channel. The second phase will be called when the classifier flag is
ready for the new channel to really save the storage access permission
for the redirect.
Depends on D107047
| Assignee | ||
Comment 8•5 years ago
|
||
This patch adds the test case for testing the ETP redirect heuristic.
Depends on D107048
Updated•5 years ago
|
Comment 10•5 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/c845dc41a3a2
https://hg.mozilla.org/mozilla-central/rev/9e678f822fc6
https://hg.mozilla.org/mozilla-central/rev/442085964b6a
Description
•