Skip to contentSkip to conversation

BMCWeb changes login password

DISCUSSION George Liu (刘锡伟) 3 participants 3 messages Aug 28, 2019 – Aug 29, 2019

lore
Share & tools
lore
#0 lore raw

I want to discuss with everyone about the solution to change the login password.

In the WEB, When the user needs to change the login password, the current
solution is to directly enter the new password twice to change successfully, but the old password is not verified. the advantage is that we can use the new password through this solution if we forget the old password. but for the security reasons, I think should verifying the old password instead of directly entering the new password before change login password.

if everyone have any ideas or experience, please share, thanks!

#1 lore raw
Quoted 7 lines · George Liu (刘锡伟)

I want to discuss with everyone about the solution to change the login password.

  In the WEB, When the user needs to change the login password, the current solution is to directly enter the new password twice to change successfully, but the old password is not verified. the advantage is that we can use the new password through this solution if we forget the old password. but for the security reasons, I think should verifying the old password instead of directly entering the new password before change login password.

if everyone have any ideas or experience, please share, thanks!

Are you referring to the phosphor-webui design mentioned here?: https://github.com/ibm-openbmc/dev/issues/1048

OWASP has some recommendations:
https://cheatsheetseries.owasp.org/cheatsheets/Authentication_Cheat_Sheet.html#require-re-authentication-for-sensitive-features
https://cheatsheetseries.owasp.org/cheatsheets/Forgot_Password_Cheat_Sheet.html#step-4-allow-user-to-change-password-in-the-existing-session

- Joseph

#2 lore raw
Quoted 16 lines · Joseph Reynolds <[email protected]> 于2019年8月29日周四 上午3:48写道:
Quoted 12 lines · George Liu (刘锡伟)

I want to discuss with everyone about the solution to change the login password.

In the WEB, When the user needs to change the login password, the
current solution is to directly enter the new password twice to change successfully, but the old password is not verified. the advantage is that we can use the new password through this solution if we forget the old password. but for the security reasons, I think should verifying the old password instead of directly entering the new password before change login password.

Quoted 2 lines

if everyone have any ideas or experience, please share, thanks!

Quoted 8 lines

Are you referring to the phosphor-webui design mentioned here?:
https://github.com/ibm-openbmc/dev/issues/1048

OWASP has some recommendations:

https://cheatsheetseries.owasp.org/cheatsheets/Authentication_Cheat_Sheet.html#require-re-authentication-for-sensitive-features

https://cheatsheetseries.owasp.org/cheatsheets/Forgot_Password_Cheat_Sheet.html#step-4-allow-user-to-change-password-in-the-existing-session

Thanks, the password change was mentioned in step 4.
I think should add an input field to enter the old password and verify it when the form is submitted(phosphor-webui).

Quoted 5 lines

- Joseph