File download request in Firefox iOS shares private browsing mode cookie
Categories
(Firefox for iOS :: General, defect)
Tracking
()
Tracking | Status | |
---|---|---|
fxios | 34 | --- |
People
(Reporter: sdna.muneaki.nishimura, Unassigned)
References
()
Details
(Keywords: reporter-external, sec-moderate, Whiteboard: [reporter-external] [client-bounty-form] [verif?])
Attachments
(2 files)
Similar to Bug 1663261 in Fenix, Firefox iOS also shares private mode cookie with normal browsing context.
When user taps download link, actual file download request is sent from Swift side HTTP client (below).
https://github.com/mozilla-mobile/firefox-ios/blob/1aa4bb892c60ff346df0eab30691578282947618/Client/Frontend/Browser/DownloadQueue.swift#L58
But this client doesn't check whether the requested browsing context was private mode or not.
Steps to reproduce the issue is below:
- Visit http://csrf.jp/2020/dl_fxios in private browsing mode
- Tap
set_cookie.php
link, then a tracking cookieid
is set - Visit http://csrf.jp/2020/dl_fxios again in normal browsing mode
- Tap
get_cookie.php
link, then the recorded cookieid
in step 2 is shown in the downloaded contents
Updated•4 years ago
|
Updated•4 years ago
|
Comment 1•4 years ago
|
||
Jeremy, Phonebook tells me you're in charge of Firefox for iOS. Can you find someone to handle this? Thanks!
Updated•4 years ago
|
Comment 2•4 years ago
|
||
(In reply to Johann Hofmann [:johannh] from comment #1)
Jeremy, Phonebook tells me you're in charge of Firefox for iOS. Can you find someone to handle this? Thanks!
On my radar, I'll see what we can find out
Reporter | ||
Comment 3•4 years ago
|
||
Do you have a plan to fix this vulnerability?
If not, please disclose this ticket because other browsers who use FxiOS can take action by themselves based on this information.
Comment 4•4 years ago
|
||
[Moving needinfo to dbolter since Garvan left.]
Muneaki: Mozilla is officially closed until January 4 so you won't get an answer until then at the earliest.
Updated•4 years ago
|
Comment 5•4 years ago
•
|
||
Pulling this into our next sprint.
https://github.com/mozilla-mobile/firefox-ios/issues/8324
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Comment 6•3 years ago
|
||
Updated•3 years ago
|
Updated•6 months ago
|
Description
•