Le 18/07/2020 à 11:34, Jacques Le Roux a écrit :
Le 13/07/2020 à 14:50, Jacques Le Roux a écrit :
Something related I already shared in the security ML:
I guess we don't want to change (I don't mean the NOTE but the feature).
// NOTE: must check permission first so that admin users can set own
password without specifying old password
I think it's OK as is and with the lazy consensus I will told the reporter so
I also have a question to you Jacopo:
I'm not quite sure you meant with (https://s.apache.org/04dt9)
// TODO: change this security group because we can't use permission groups
defined in the applications from the framework.
Which security group is it about?
I guess it's the PARTYMGR security group and anyway it's unrelated, forget it
Jacques
TO add to this and thanks to James reference to
https://owasp.org/www-project-web-security-testing-guide/latest/4-Web_Application_Security_Testing/04-Authentication_Testing/09-Testing_for_Weak_Password_Change_or_Reset_Functionalities
They say there:
*
Is the old password requested to complete the change?
The most insecure scenario here is if the application permits the change of
the password without requesting the current password. Indeed if an
attacker is able to take control of a valid session they could easily change
the victim’s password.
Anyway in case of an admin, if a valid session is in the hand of an attacker
it's too late to do anything, all is open!
Jacques