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-905227.32026-09-13CVE-2026-819052026-09-11CVE-2026-62857.52026-09-10CVE-2026-862606.52026-09-07CVE-2026-716259.82026-09-04CVE-2026-846999.12026-09-02CVE-2026-824876.32026-08-30CVE-2026-801967.52026-08-26CVE-2026-196329.82026-08-26CVE-2026-772649.82026-08-21CVE-2026-189639.12026-08-18CVE-2026-156899.82026-08-15CVE-2026-728568.12026-08-13CVE-2026-666919.82026-08-13CVE-2026-619679.82026-08-13CVE-2026-125719.82026-08-11CVE-2026-727722026-08-11CVE-2026-193613.72026-08-09CVE-2026-143649.82026-08-07CVE-2026-92739.32026-08-05