Skip to content

fix: stop logging plaintext new password in admin password reset - #918

Open
SeanDuggan wants to merge 1 commit into
OWASP:devfrom
SeanDuggan:dev#571-password-log
Open

SeanDuggan wants to merge 1 commit into
OWASP:devfrom
SeanDuggan:dev#571-password-log

Conversation

@SeanDuggan

Copy link
Copy Markdown
Member

Fixes #571

log.debug(newPass =  + newPassword) wrote the new plaintext password to the debug log whenever an admin reset a users password. Redact it, matching the existing pattern used for passwords elsewhere in the admin servlets (log the fact it was retrieved, not the value).

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

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

[BUG] New Password Logged in Admin Password Reset Flow

1 participant