pwa permission leak in private mode
Categories
(Firefox for Android :: PWA, enhancement)
Tracking
()
People
(Reporter: jacksonwang, Unassigned, NeedInfo)
References
Details
(Keywords: privacy, reporter-external, sec-want)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36
Steps to reproduce:
A similar issue exists at https://bugzilla.mozilla.org/show_bug.cgi?id=1807434. However, this report is different and provides concrete examples. The steps are as follows:
- Use normal mode on Android Firefox to visit https://pwa-demo.github.io/plus, allowing geolocation, microphone, and camera permissions with "Remember decision for this site" checked.
- Switch to private mode and visit https://pwa-demo.github.io/plus, then download the PWA from private mode.
- Open this PWA from the home screen, then click on the microphone, camera, and geolocation. All three permissions inherit from normal mode instead of private mode.
Actual results:
The PWA installed from private mode inherits microphone, camera, and geolocation permissions from normal mode instead of private mode.
Expected results:
It should have the same behavior as private mode in the browser. Browsers should ask for permission every time a user visits that URL, even if the "Remember decision for this site" option is checked.
Comment 1•1 year ago
|
||
I think this is exactly the same issue as bug 1890914 in that our UI is very misleading. We don't have private mode installed apps. We should either prevent installation, support that use-case, or put up a confirmation screen notifying people that the saved thing won't be private.
Another complaint people have is that any of these values are shared at all. For some people that's what they want, but others want the installed apps to essentially have their own isolated universe ("profile" in our implementation). We definitely have --that-- on file as a feature request.
Reporter | ||
Comment 2•1 year ago
|
||
Thanks for the explanation; yes, they are basically the same issue.
Comment 3•1 year ago
|
||
This bug seems more like bad and misleading user-experience leading to potentially surprised and unhappy users, but not a "vulnerability" that can be weaponized against people and therefore need to be hidden. Un-hiding the bug
Updated•1 year ago
|
Updated•1 year ago
|
Description
•