Circumvent authentication for "Saved passwords"
Firefox for Android's saved passwords screen requires authentication, but minimising and restoring the app can bypass this and show all saved passwords. An attacker with physical access to an unlocked device could view stored credentials without authenticating.
- Fixed in 2 hours
- Paid in 16 days
- Disclosed after 2 hours
Created attachment 9435134
Android Password.webm
Steps to reproduce:
1. Open Firefox for Android (Stable/Beta)
2. Click on the 3-dot menu
3. Click on passwords
4. Firefox will now require you to authenticate first before showing the passwords. Do not authenticate.
5. Minimize the app/go to your home screen
6. Switch back to Firefox
Steps 5&6 may need to be repeated a few times.
See video for showcase of the security issue.
Actual results:
Gain access to all saved passwords.
Expected results:
Firefox should continue to request for authentication and never show saved credentials without proper authentication.
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
Root cause
Likely the authentication prompt is not re-checked when the app returns to the foreground, so the password screen is shown without a fresh authentication.
What the attacker needed
Physical access to an unlocked Android device; Firefox for Android with saved passwords
How it was found
- Open Firefox for Android.
- Open the three-dot menu and choose passwords.
- When asked to authenticate, do not authenticate.
- Minimise the app to the home screen.
- Switch back to Firefox.
- Repeat the minimise and switch back if needed.
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.
Firefox on Android asks for your fingerprint or PIN before showing saved passwords. The report says that if you switch away from the app and back again a few times, the password list appears without asking. Someone holding your unlocked phone could then read your saved passwords.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.