Closed
Bug 1431329
Opened 6 years ago
Closed 6 years ago
Omit Fennec Media playback Notification when viewed in private browsing mode
Categories
(Firefox for Android Graveyard :: General, enhancement, P1)
Firefox for Android Graveyard
General
Tracking
(firefox61 verified)
VERIFIED
FIXED
Firefox 61
Tracking | Status | |
---|---|---|
firefox61 | --- | verified |
People
(Reporter: freddy, Assigned: andrei.a.lazar)
References
Details
(Keywords: csectype-disclosure, privacy, sec-low, Whiteboard: [Leanplum] [61][adv-main61-])
Attachments
(1 file)
Showing a notification containing stuff in private browsing mode makes it leak into the operating system. Custom android launcher as well as other software providing a backlog of notifications would allow unearthing parts of private browsing sessions. Background is an article about this happening for Chrome, but it's true for Fennec as well: https://www.androidpit.com/chrome-incognito-mode-not-as-private-as-you-think Focus is not affected, as it does not show any content-related notifications. Rating this as sec-low, as it requires a local attacker. It's common and easily done to protect a phone from unauthorized physical access.
Comment 1•6 years ago
|
||
Does this need to be behind a sec flag? Visibility might make this easier to fix.
Reporter | ||
Comment 2•6 years ago
|
||
You're right. This is public information.
Group: firefox-core-security
[triage] Potentially critical - leaking private browsing information to the OS through notifications, which gets stored in a notification log on the device that users can access. Susheel, what do you think? fwiw, I recommend reading the article for full details on impact.
Flags: needinfo?(sdaswani)
Priority: -- → P1
Comment 5•6 years ago
|
||
Sorry for the delayed reply. This is probably something we should target for an upcoming release. 61, 62?
Flags: needinfo?(abovens) → needinfo?(bbermes)
Updated•6 years ago
|
Flags: needinfo?(sdaswani)
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → andrei.a.lazar
Comment hidden (mozreview-request) |
Attachment #8967315 -
Flags: review?(sdaswani) → review?(michael.l.comella)
Comment 7•6 years ago
|
||
mozreview-review |
Comment on attachment 8967315 [details] Bug 1431329 - If the tab in which the media player is running is in private browsing mode then we shall not display media playback notification. https://reviewboard.mozilla.org/r/236018/#review241950 This appears to do the trick: `updateNotification` is only called from `onStateChanged` so if we return on private tabs before `updateNotification` is called, we'll never display a notification in private browsing mode. Note that there's dead code in `updateNotification`: https://searchfox.org/mozilla-central/rev/4114ad2cfcbc511705c7865a4a34741812f9a2a9/mobile/android/base/java/org/mozilla/gecko/media/MediaControlService.java#370 And I probably would also throw in an assertion in `updateNotification` to ensure we're never getting a private tab. However, I don't think it's worth anyone's time to implement, re-review, etc. :) We're also logcatting that the media player is running https://searchfox.org/mozilla-central/rev/4114ad2cfcbc511705c7865a4a34741812f9a2a9/mobile/android/base/java/org/mozilla/gecko/media/MediaControlService.java#336 but we're not including URLs and logcat is mostly secure so I'm not too concerned about that.
Attachment #8967315 -
Flags: review?(michael.l.comella) → review+
Pushed by michael.l.comella@gmail.com: https://hg.mozilla.org/integration/autoland/rev/6ea3c1db0060 If the tab in which the media player is running is in private browsing mode then we shall not display media playback notification. r=mcomella
Comment 9•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/6ea3c1db0060
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox61:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 61
Updated•6 years ago
|
Whiteboard: [Leanplum] [61] → [Leanplum] [61][adv-main61+]
Comment 11•6 years ago
|
||
Verified as fixed in Beta 61.0b15. Have watched a video on youtube and vimeo in private browsing mode and no media playback notification appeared. If any further testing is needed here, please let me know. Thanks
Status: RESOLVED → VERIFIED
Updated•6 years ago
|
Whiteboard: [Leanplum] [61][adv-main61+] → [Leanplum] [61][adv-main61-]
Updated•5 years ago
|
Flags: needinfo?(bbermes)
Updated•3 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•