Testing for Vulnerable Remember Password (OTG-AUTHN-005)

Summary
The remember password function of an application is a self-service password reset/recovery mechanism for users. This self-service mechanism allows users to quickly reset/recover their password without an administrator intervening. Typically, in order to access this functionality the user must enter some form of identification, such as their username or email address.

Test objectives
Evaluate the remember password function's user identification requirements. e.g. username, email address, security question

Evaluate the method for how the reset/recovered password is communicated to the user

Evaluate the logic/workflow for how the password is reset/recovered

How to test

 * 1) Evaluate the level of identification that is required by the user to trigger a reset/recovery
 * 2) Observe how the reset/recovered password is communicated to the user. e.g. email, rendered by browser
 * 3) Observe what steps are required to reset/recover password and what can be injected and falsified during this exchange

Remediation
Implement additional identification requirements depending on the risk level. In order from lowest to highest assurance:


 * 1) username
 * 2) security question
 * 3) email address
 * 4) username and email address and security question
 * 5) positive identification based on physical attendance of user

Implement additional security to the transfer of the password to the user depending on the risk level. In order from lowest to highest assurance:


 * 1) Rendered by browser
 * 2) Unencrypted email
 * 3) Manually processed based on positive user identification and physically transferred by certified post or courier to user