Skip to content
Access control Disclosed report Beginner

Pressing cancel twice in the password prompt bypasses the lock for passwords

The password manager in Firefox for Android could be opened without the device PIN by pressing cancel twice on the PIN prompt. An attacker with brief physical access to an unlocked phone could view saved passwords.

lukewillb20 Follow

Originally disclosed on Mozilla

  • Fixed in 11 days
  • Paid in 18 days
  • Disclosed after 11 days
Text
User Agent: Mozilla/5.0 (Android 14; Mobile; rv:132.0) Gecko/132.0 Firefox/132.0
Firefox for Android

Steps to reproduce:

Pressed the three dots on top corner > passwords > pressed cancel twice on pin prompt > let me in


Actual results:

The bug bypassed the system lock for protection


Expected results:

The lock screen should have stayed up instead of going away

The original report as published on Mozilla's Bugzilla, by lukewillb20. 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

Impact

Someone with the unlocked phone could read saved passwords without knowing the PIN, bypassing the system lock.

What the attacker needed

Physical access to an unlocked Android phone; Firefox for Android with saved passwords

How it was found

  1. Open the browser menu and choose passwords.
  2. When the PIN prompt appears, press cancel.
  3. Press cancel a second time.
  4. The password list opens without the correct PIN.

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.

A phone's lock screen is meant to stop someone else from opening private apps. Here, the app that stores passwords asked for the PIN, but cancelling that prompt twice made it open anyway. Anyone holding the phone could then read the 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 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.