Skip to content
Info disclosure Disclosed report Intermediate CVE-2020-26955

Fenix file download request shares private browsing mode cookie

A file download request in the Fenix browser shares cookies between private and normal browsing modes, allowing a cookie set during a private-mode download to be sent in a later normal-mode request. An attacker could use this to link a user's private and normal browsing sessions.

Muneaki Nishimura Follow

Originally disclosed on Mozilla

  • Fixed in 48 days
  • Paid in 52 days
  • Disclosed after 48 days
Text
Created attachment 9174051
private_mode_bypass_by_download.gif

Similar to Bug 1657251, file download request in Fenix shares private mode cookie with normal mode.

Steps to reproduce (see also the attached demo)
1) Open http://csrf.jp/2020/a_download.html in private browsing mode
2) Tap "Download" link and start download (then private mode cookie is recorded by the download response)
3) Open http://csrf.jp/2020/a_download.html in normal browsing mode
4) Tap "Download" link again, then the cookie that was stored at 2) is sent through the request

The original report as published on Mozilla's Bugzilla, by Muneaki Nishimura. Images and videos are our own copies; raw HTML is shown as text. View it on Mozilla's Bugzilla.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Impact

A cookie set during a private-mode download could be sent in a normal-mode request, potentially allowing a website to link private and normal browsing sessions.

What the attacker needed

Victim uses Fenix browser; victim downloads a file in private mode; victim later downloads in normal mode

How it was found

  1. Open the test page in private browsing mode.
  2. Tap the download link to start a download, which records a cookie from the download response.
  3. Open the same test page in normal browsing mode.
  4. Tap the download link again, and the cookie stored in step 2 is sent with the request.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

Private browsing is meant to keep your activity separate from your normal browsing. In this bug, when you downloaded a file in private mode, a cookie from that download was saved and later sent when you downloaded the same file in normal mode. This means a website could tell that the private and normal sessions belong to the same person.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by Muneaki Nishimura

View all

74 more disclosed reports, best first.

More from Mozilla

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.