Users password cleartext in source code
Hi there,
When a user browse to the personal (settings) page*, Owncloud will send the users password (in cleartext !) back to the browser. This is an security vulnerability, one of the reasons: the browser may cache the page. This shows a poor understanding of security.
I would like to see it like: One field for the users current password and two for the new password.
- index.php/settings/personal
-Ilias
This is necessary for the "show password" feature. I don't think this is a problem if using SSL. More private data is send to the browser anyways like personal documents, session cookie, ... I'm also not sure how your proposal to have three different fields changes anything here?
Not sure if "show password" makes sense for an existing password. It might only make sense when typing in a new password (especially on mobile devices), just to verify that the typed in new password is the correct one, especially that we don't have a "retype password" field.
Thoughts ? CC @owncloud/designers
The »show password« toggle is not present for the existing password, and for a good reason. @iliaselmatani makes a good point – I don’t see why the existing password is prefilled there – that defeats the security purpose of that field altogether. The password should never be sent to the client in plain text.
Can't reproduce in OC 5.0.14 or OC 6.0.1.
The "settings" page sent to the browser doesn't contain any password.
@iliaselmatani were you probably using a much older version ?
See https://github.com/owncloud/core/pull/6939 for the fix. The issue wasn’t that ownCloud sends the password to the client, but that the browser autofills it and it can be revealed using the »show password« toggle.
This issue has been fixed in Owncloud 6.0.1. Therefore I will close this. See also: https://github.com/owncloud/core/pull/6939
@iliaselmatani the fix would only be in ownCloud 7. Should we backport @karlitschek?
@jancborchardt yes please because it is a security issue