Skip to content
Access control Disclosed report Beginner

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.

David Follow

Originally disclosed on Mozilla

  • Fixed in 2 hours
  • Paid in 16 days
  • Disclosed after 2 hours
Text
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.

The original report as published on Mozilla's Bugzilla, by David. Images and videos are our own copies; raw HTML is shown as text. View it on Mozilla's Bugzilla.

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

  1. Open Firefox for Android.
  2. Open the three-dot menu and choose passwords.
  3. When asked to authenticate, do not authenticate.
  4. Minimise the app to the home screen.
  5. Switch back to Firefox.
  6. 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.

More by David

View all

1 more disclosed report, best first.

More from Mozilla

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

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.