Private tabs are accessible without authentication when opening a link in a private tab from a non-private page
Categories
(Firefox for Android :: Privacy, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox138 | --- | unaffected |
| firefox139 | --- | unaffected |
| firefox140 | + | verified |
| firefox141 | --- | verified |
People
(Reporter: vtamas, Assigned: mavduevskiy)
References
Details
(Whiteboard: [fxdroid][group2])
Attachments
(4 files)
Preconditions
Lock tabs feature is enabled.
Steps to reproduce
- Open at least one private tab.
- Switch to non-private mode.
- Minimize and restore the app.
- Navigate to a webpage in normal browsing, long tap on a link and select "Open link in new tab"
- Tap on "Switch" button from snackbar.
- Swipe the address bar in order to visit the other opened private tabs.
Expected behavior
Biometric authentication is prompted either before opening a link in private mode or when swiping to access already opened private tabs.
Actual behavior
Biometric authentication is not required, allowing private tabs to be accessed by swiping the address bar.
Device information
- Firefox version: Firefox for Android Nightly 140 (2025-05-20)
- Android device model: Samsung S24 Ultra (Android 14), Google Pixel 8 (Android 15)
Additional information
This issue is also reproducible when opening a top site from homescreen by long tapping and selecting "Open in private tab".
Updated•9 months ago
|
Updated•9 months ago
|
| Assignee | ||
Comment 1•9 months ago
|
||
There are multiple cases when switching between private tabs results in incorrect appstate since mainly update it from the homepage (and tabstrip) but BrowserFragment is relying on BrowserModeManager and appstate isn't being updated.
I believe that's a safe change. Reads happen on HomeFragment after it updated the appstate.mode during onCreateView so we don't interfier with existing flow. This targets specifically tab page, that doesn't have logic related to appstate.mode.
Also, there are cases of updating state from the tabstrip and tabstraycontroller, so I don't expect new side-effects.
Updated•9 months ago
|
Comment 3•9 months ago
|
||
| bugherder | ||
Comment 4•9 months ago
|
||
The patch landed in nightly and beta is affected.
:mavduevskiy, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- See https://wiki.mozilla.org/Release_Management/Requesting_an_Uplift for documentation on how to request an uplift.
- If no, please set
status-firefox140towontfix.
For more information, please visit BugBot documentation.
There are multiple cases when switching between private tabs results in incorrect appstate since mainly update it from the homepage (and tabstrip) but BrowserFragment is relying on BrowserModeManager and appstate isn't being updated.
I believe that's a safe change. Reads happen on HomeFragment after it updated the appstate.mode during onCreateView so we don't interfier with existing flow. This targets specifically tab page, that doesn't have logic related to appstate.mode.
Also, there are cases of updating state from the tabstrip and tabstraycontroller, so I don't expect new side-effects.
Original Revision: https://phabricator.services.mozilla.com/D251424
Updated•9 months ago
|
Requested uplift here https://phabricator.services.mozilla.com/D251724
Comment 7•9 months ago
|
||
firefox-beta Uplift Approval Request
- User impact if declined: Without this patch, private tabs are accessible without authentication when opening a link in a private tab from a non-private page
- Code covered by automated testing: yes
- Fix verified in Nightly: yes
- Needs manual QE test: yes
- Steps to reproduce for manual QE testing: Steps outlined in ticket 1967702
- Risk associated with taking this patch: medium to low
- Explanation of risk level: This impacts homepage and any othersurfaces using base browser fragment. However, without this change an attacker can gain access to a user's presumably locked private browsing so it is needed.
- String changes made/needed: n/a
- Is Android affected?: yes
Updated•9 months ago
|
Updated•9 months ago
|
| Reporter | ||
Comment 9•9 months ago
|
||
This issue is verified as fixed on Firefox for Android Nightly 141 (2025-05-29) using Samsung S24 Ultra (Android 14), Google Pixel 8 (Android 15) and Xiaomi 12T (Android 12). Confirming that the Biometric authentication is prompted when switching to Private Mode.
| Reporter | ||
Updated•9 months ago
|
| Assignee | ||
Updated•9 months ago
|
| Reporter | ||
Comment 10•9 months ago
|
||
This issue is verified as fixed on Firefox 140 beta 5 on Samsung Galaxy S24 Ultra (Android 15) and Xiaomi 12T (Android 12). Confirming that the Biometric authentication is prompted when taping on "Switch" button from the snackbar.
Description
•