[tbb-bugs] #30171 [Applications/Tor Browser]: Always accepting third party cookies seems to break first party isolation

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Apr 15 09:37:35 UTC 2019


#30171: Always accepting third party cookies seems to break first party isolation
-------------------------------------------------+-------------------------
 Reporter:  gk                                   |          Owner:  tbb-
                                                 |  team
     Type:  defect                               |         Status:  new
 Priority:  High                                 |      Milestone:
Component:  Applications/Tor Browser             |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  TorBrowserTeam201904, tbb-           |  Actual Points:
  linkability                                    |
Parent ID:                                       |         Points:
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by acat):

 I think this is coming from the pref observer in torbutton.js.

 It keeps in sync several prefs, amongst them
 `network.cookie.cookieBehavior` and `privacy.firstparty.isolate`. In this
 case, changing the `network.cookie.cookieBehaviour` via UI is indirectly
 flipping `privacy.firstparty.isolate`. And if the latter is false then
 `firstPartyDomain` is not populated and circuit display will always show
 `--unknown--`, the catch-all circuit.

 Is this pref syncing still logic necessary? If that's not the case, here
 is a patch which just removes this dependency between those two prefs,
 which should solve this issue:
 https://github.com/acatarineu/torbutton/commit/30171

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/30171#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tbb-bugs mailing list