Skip to content

System Configuration renders stored passwords back into the page #439

Open

Description

@caseysoftware

modules/system/systemconfig.php L72 renders every password-type setting as <input type="password" value="…"> with the stored value. Anyone who can open System Configuration, or view the page source, gets the LDAP bind password (ldap_search_pass) and the SMTP password (mail_pass). Both are stored in plain text in config.

Fix: render password fields empty with an "unchanged" placeholder, and only update them when a new value is posted (do_systemconfig_aed.php). Encryption at rest comes with w2p_Security_SecretStore in Phase 0 (shared with #413).

Blocks #458.

Fix before Phase 0 of the Identity Layer proposal (#435).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions