Closed Bug 1564457 Opened 5 years ago Closed 5 years ago

Cache persists to private session, which can leak personal data

Categories

(Core :: Networking: Cookies, defect)

67 Branch
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: jedimastert, Unassigned, NeedInfo)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0

Steps to reproduce:

  1. Go to http://lucb1e.com/rp/cookielesscookies/
  2. (Optional) enter unique information to text field
  3. Go to same url in private session

Actual results:

The unique information entered and number of visits consistent across regular and private sessions, linking them together.

Expected results:

They should be separate.

Hi @Aaron Tagliaboschi, I've checked the issue on two machines: Windows 10 and Mac OS X - using FF versions: nightly 70.0a1, beta 69.0b4 & release 68.0, additionally I use even the FF 67.0 release version.
=> here are the steps & results:
FF: 67.0; 68.0 release, 68.0b4 & nightly 70.0a1:

  • I load the link(from step 1) in a normal window then in a private window => it shows the same number at the "Number of Visits" - see the screenshot attached.
  • the Number of Visits increases only by typing each time the "Store" button.
  • So, in conclusion describe please which in the correct - intended behavior.
    Mention that the same behavior occurs in Google Chrome.
    I will set a component to it, if isn't a proper one please fell free to change it.
    Thanks.
Component: Untriaged → Networking: Cookies
Product: Firefox → Core
Flags: needinfo?(jedimastert)

Filed a separate bug 1574956 for the form filling data leaking between regular and private.

The tracking via HTTP cache etags is known. For actual third party tracking to track users cross-site this will be fixed fixed with first party isolation - bug 1536058. For first party tracking there is no defense except permanent private browsing.

Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE

Actually - this is not a duplicate, because cache is isolated properly between private and regular windows (the concern of this bug).

Resolution: DUPLICATE → INVALID

(In reply to Honza Bambas (:mayhemer) from comment #4)

Actually - this is not a duplicate, because cache is isolated properly between private and regular windows (the concern of this bug).

FWIW this test case confused the heck out of me, until I realized that it is constructed in a way to make testing in a private and non-private window on the same machine completely useless, because of this code which computes and assigns the same ETag number (based on the UA string and IP address) every time when fetching http://lucb1e.com/rp/cookielesscookies/tracker.jpg. This test case must be ignored for the purposes of assessing whether a browser correctly partitions the private and non-private cache away from each other.

So, the cookie (etag) is actually UA+publicIP tracking/fingerprinting and its server full-state. Then yes, this is not a good test case for 1P content cache isolation as it doesn't actually distinguish browser sessions.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: