FeatureFuel
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.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests