CWE•Base•Incomplete•20 recent CVEs
CWE-640Weak Password Recovery Mechanism for Forgotten Password
Description
The product contains a mechanism for users to recover or change their passwords without knowing the original password, but the mechanism is weak.
[object Object]
Common consequences
- Access Control→Gain Privileges or Assume IdentityAn attacker could gain unauthorized access to the system by retrieving legitimate user's authentication credentials.
- Availability→DoS: Resource Consumption (Other)An attacker could deny service to legitimate system users by launching a brute force attack on the password recovery mechanism using user ids of legitimate users.
- Integrity,Other→OtherThe system's security functionality is turned against the system by the attacker.
Potential mitigations
- Architecture and DesignMake sure that all input supplied by the user to the password recovery mechanism is thoroughly filtered and validated.
- Architecture and DesignDo not use standard weak security questions and use several security questions.
- Architecture and DesignMake sure that there is throttling on the number of incorrect answers to a security question. Disable the password recovery functionality after a certain (small) number of incorrect guesses.
- Architecture and DesignRequire that the user properly answers the security question prior to resetting their password and sending the new password to the e-mail address of record.
- Architecture and DesignNever allow the user to control what e-mail address the new password will be sent to in the password recovery mechanism.
- Architecture and DesignAssign a new temporary password rather than revealing the original password.
Related CWEs
Recent CVEs classified under this CWE
CVE-2026-101693.72026-05-31CVE-2026-74597.52026-05-30CVE-2026-356768.22026-05-28CVE-2026-96094.72026-05-27CVE-2026-94665.32026-05-25CVE-2026-364385.32026-05-18CVE-2026-426068.12026-05-09CVE-2026-76525.32026-05-09CVE-2026-344089.12026-05-05CVE-2026-291998.12026-05-04CVE-2026-75545.62026-05-01CVE-2026-244679.02026-04-20CVE-2026-304597.12026-04-16CVE-2026-337079.42026-04-10CVE-2025-696149.42026-03-10CVE-2026-227236.52026-03-05CVE-2026-28953.72026-02-21CVE-2026-258589.12026-02-07CVE-2025-432010.02026-01-23CVE-2025-43199.42026-01-23