Closed Bug 1674668 Opened 4 years ago Closed 4 years ago

Insecure creation of generated passwords

Categories

(Toolkit :: Password Manager, defect)

Firefox 82
defect

Tracking

()

RESOLVED DUPLICATE of bug 1551723

People

(Reporter: bugreport, Unassigned)

References

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:82.0) Gecko/20100101 Firefox/82.0

Steps to reproduce:

  • Navigate a website with a signup (registration) form
  • Click on the password field and take a look at the password that gets shown ("use a securely generated password")
  • (If you want, create an account to demonstrate the possible impact)
  • Open a new tab and close the first one
  • Navigate to the same page as in the first step, click on the password field and again take a look at the "securely" generated password

Actual results:

Both times, the generated password is the same.
If someone were to create an account on a public computer and then logged out (but didn't close Firefox), an attacker could open the same website and find out what password the victim has used.

Expected results:

The password should be regenerated every time the password field is selected (onfocus)

Hardware: Unspecified → Desktop
Summary: Insecure creation of generated passwords → Insecure generation of passwords
Group: firefox-core-security
Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Hardware: Desktop → Unspecified
Resolution: --- → DUPLICATE
Summary: Insecure generation of passwords → Insecure creation of generated passwords
Component: Untriaged → Password Manager
Product: Firefox → Toolkit
Duplicate of bug: 1551723
No longer duplicate of bug: 1569568

Note: the improvement in bug 1820360 was shipped in Firefox 112. A new secure password will be generated once the current one is saved in the password manager. The primary reason for the reuse was to prevent people from getting locked out of their accounts if they had used the generated password field in a fake-form that didn't trigger our "prompt to save password" function.

See Also: → 1820360
You need to log in before you can comment on or make changes to this bug.