Mozilla Firefox ignores Autocomplete=OFF when incorrect username/password combination is submitted in the login fields
Categories
(Toolkit :: Password Manager, defect)
Tracking
()
People
(Reporter: roshanthomas, Unassigned)
References
Details
(Whiteboard: [sec-insecure-third-party-site-reviewed])
Attachments
(1 file)
|
10.45 KB,
image/png
|
Details |
Comment 2•8 years ago
|
||
Comment 4•8 years ago
|
||
However, when I setup or edit a user on our web application, Firefox always auto-fills my administrator credentials
I'm also having the same issue.
Firefox seems to only autofill the first password field it finds.
So I have found three solutions:
1 ) don't use password field, use simple text field. It's not really a solution.
2 ) use password field, add a confirmation field. The confirmation field will be not be filled automatically. When submitting the form, make sure both fields have the same value.
3 ) Put a dummy password field somewhere and hide it with css, with display: none. The dummy field will be filled, your important field will not be. Watchout when doing this, make sure the data of this dummy field is not sent in the request (you don't the administrator password to be sent over for no reason).
Comment 7•6 years ago
|
||
I'm going to close this bug since it's covered by multiple others e.g. bug 558178 and bug 1287202.
(In reply to info from comment #6)
However, when I setup or edit a user on our web application, Firefox always auto-fills my administrator credentials
I'm also having the same issue.
Firefox seems to only autofill the first password field it finds.
So I have found three solutions:
1 ) don't use password field, use simple text field. It's not really a solution.
2 ) use password field, add a confirmation field. The confirmation field will be not be filled automatically. When submitting the form, make sure both fields have the same value.
3 ) Put a dummy password field somewhere and hide it with css, with display: none. The dummy field will be filled, your important field will not be. Watchout when doing this, make sure the data of this dummy field is not sent in the request (you don't the administrator password to be sent over for no reason).
The correct solution is to use autocomplete="new-password" in supporting browsers. See bug 1119063.
Comment 8•4 years ago
|
||
(In reply to valadezpm from comment #5)
Mozilla bugmasters, I believe you should reassess your position to
intentionally ignore autocomplete=off, because this position is contrary to
the intentions of web developers! There are hundreds of developers who have
stated their grievances with this position:1.) https://bugs.chromium.org/p/chromium/issues/detail?id=468153
2.) https://bugs.chromium.org/p/chromium/issues/detail?id=587466
3.)
https://stackoverflow.com/questions/12374442/chrome-browser-ignoring-
autocomplete-offMost of the solutions to developers' problems involve some kind of hack or
telling their user base to disable autocomplete entirely(how's that for
"better security"?).Additionally, I think you have mistakenly decided that this is not a
security concern. I use a web application on which I am an administrator
and have my credentials saved by the password manager in Firefox. However,
when I setup or edit a user on our web application, Firefox always
auto-fills my administrator credentials into the user's password fields even
though the <input> field has autocomplete=off specified. If someone wasn't
paying attention to the auto-filled fields they could save their own
credentials to someone else's account. And if the web application allowed
other users to view their own password, this could result in that user
receiving the credentials of an administrator! This is security concern!
I came up to this issue, and I after reading this thread I completely disagree with anyone that wants to fill in their own users password. I think THAT is a security concern. I think that the administrator should in no case possible change himself the password of a user, I think it is better security wise to send an email with a password change link.
Description
•