The steps to share a folder and and a password are automatic and this could lead to big security issue if associated to browser's autofill feature.
Shouldn't send password without confirmation, button or else
Sends the login password because of the autofill feature of the browser
Operating system:
Linux debian
Web server:
Apache 2
Database:
Mysql
PHP version:
7.2
Nextcloud version: (see Nextcloud admin page)
13.0.2
Hey :)
It is supposed to be fixed, see https://github.com/nextcloud/server/pull/7461
Firefox 60 will ignore the 'new-password' property of the password field and still auto-fill it.
As a workaround its possible to duplicate the password fields and set the second one as not visible - with two fields present, Firefox is unable to decide which to auto-fill and will not fill either.
Firefox 60 will ignore the 'new-password' property of the password field and still auto-fill it.
As a workaround its possible to duplicate the password fields and set the second one as not visible - with two fields present, Firefox is unable to decide which to auto-fill and will not fill either.
This sounds like a bug in Firefox. Could you report it there as well and check if this is the wanted behavior?
See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-autocomplete
This sounds like a bug in Firefox.
According to this, it is intended behaviour: https://bugzilla.mozilla.org/show_bug.cgi?id=1353035
I don't agree with Mozilla. Its a huge security issue in Nextcloud's case, when LDAP auth is enabled and users have their AD domain passwords saved in FF's password manager.
Until Mozilla introduces a change in their browser, would it possible for the Nextcloud team to engineer a workaround for this? Considering that even if Firefox starts honoring the 'autocomplete=off/new-password' in the future; it would still be an issue on older versions of the browser.
Can confirm this issue still persists in Nextcloud 13.0.6 and Firefox 61.0.1.
The problem is that you can easily send out your password by accident, because of the dangerous combination of autofill + Nextcloud sending the share email out without a confirm button.
"Workarounds" for the moment: don't save your NC login in Firefox or save more than one NC account credentials in Firefox, because then autofill won't happen.
Fixed with #15719
Most helpful comment
Firefox 60 will ignore the 'new-password' property of the password field and still auto-fill it.
As a workaround its possible to duplicate the password fields and set the second one as not visible - with two fields present, Firefox is unable to decide which to auto-fill and will not fill either.