Open Bug 1601375 Opened 2 years ago Updated 10 months ago

Firefox asks for master password when it shouldn't (credentials stored for unrelated subdomain)


(Toolkit :: Password Manager, defect, P2)

71 Branch



Tracking Status
firefox-esr68 --- unaffected
firefox71 --- wontfix
firefox72 --- wontfix
firefox73 --- wontfix
firefox74 --- wontfix
firefox75 --- wontfix
firefox76 --- fix-optional


(Reporter: bugzilla-mozilla, Unassigned)




(Keywords: regression)

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

Steps to reproduce:

I have previously stored a HTTP basic auth password for one site, let's call it, in the Firefox password safe, which is protected with a master password.

After upgrading from Firefox 70 to 71, I am now prompted to enter my master password for a HTTP POST-based login form on site, which has nothing to do with the basic auth login on the other subdomain. I control both subdomains so I know that their code hasn't changed (i.e. there is certainly no frame embedded into or similar).

If I do enter the master password, Firefox doesn't fill in any credentials on, which is expected because the basic auth credentials from do of course not match the HTTP POST input fields on

Actual results:

I am asked to enter my master password although there are only passwords stored for an unrelated, different subdomain.

Expected results:

No password prompt, like in Firefox 70 and earlier.

Component: Untriaged → Password Manager
Product: Firefox → Toolkit

Good find. I think the problem is that we request logins from storage with subdomains and then filter out the inexact matches which is wrong in this case.

Ever confirmed: true
Flags: qe-verify+
Keywords: regression
Priority: -- → P2
Regressed by: 589628

Reproduced on Windows 10 x64, Latest Nightly, Beta and Release. Unfortunately, we didn't have a test for this scenario, added it now.

Too late for a fix in 72 at this point, but we could still take a patch for 74.

:mattn, can you or someone in your team spend some cycles on this (tracked as carry-over regression for 74)?

Flags: needinfo?(MattN+bmo)

It's not a priority unfortunately since it affects less than 1% of the userbase. We're tracking it as a P2 so will re-evaluate relative to other priorities eventually.

Severity: normal → S3
Flags: needinfo?(MattN+bmo)
See Also: → 1653547
You need to log in before you can comment on or make changes to this bug.