You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Uhmmmmmm...... that's normal. It's where the cmsAddAdmin script reminds you of the login info for the admin account you just created. That does not constitute a leak.
I'm not sure about it but is it really normal to log plain text passwords?
In this special case I think it's ok since logger.info is being used as a normal stdout print statement.
Also there must be a way to let the user know the randomly generated password.
@niuzhi Do you have a more secure way in mind to do this?
I agree that we could at least log the password only when it gets randomly generated (i.e. the password is None case) and skip showing it when it's provided (i.e. when we call cmsAddAdmin ... -p thepassword)
1.file: cms/cmscontrib/AddAdmin.py
function:add_admin
Log information disclosure username and password
The text was updated successfully, but these errors were encountered: