0
LDAP: bind password is sent in clear text to the admin settings page
Source: nextcloud/server#67447 · opened by @susnux
Description The LDAP admin settings page provides the raw configuration of all LDAP configurations as initial state, including the bind password (ldapAgentPassword) in clear text: So the bind password of every LDAP configuration is embedded in the HTML of the settings page, where it ends up in browser caches, saved pages, HAR files/support bundles and is visible to everyone with access to the LDAP admin settings (including delegated admins). The password field in the UI is a type="password" input, but the value is pre-filled from that initial state. The OCS config API already masks the password as * unless it is explicitly requested: and the frontend already handles the masked value (shows an empty field and only sends a password when a new one was entered): Expected behavior The bind password is never sent to the browser: Admin::getForm() replaces a non-empty ldapAgentPassword with * (like the config API) before providing the initial state, and saving the sett…
No pledges yet. Be the first to back this.
Comments
Similar requests
ldap supports binding with local accounts without creating new accounts
0 votes · 0 comments
[UX] Change "Confirm Password" to "Enter your password" when creating new admin account
0 votes · 0 comments
Use LDAP user name instead of UUID for federated cloud id
4 votes · 0 comments
`occ user:add-app-password` should also work without the users login password
2 votes · 0 comments
LDAP admin settings design improvements
0 votes · 0 comments
No comments yet.