Skip to content
OpenAdvisories

Weakness (CWE)

CWE-640: Weak Password Recovery Mechanism for Forgotten Password

Base Incomplete

The product contains a mechanism for users to recover or change their passwords without knowing the original password, but the mechanism is weak.

How to prevent it (6 mitigations)
  1. Architecture and Design

    Make sure that all input supplied by the user to the password recovery mechanism is thoroughly filtered and validated.

  2. Architecture and Design

    Do not use standard weak security questions and use several security questions.

  3. Architecture and Design

    Make 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.

  4. Architecture and Design

    Require 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.

  5. Architecture and Design

    Never allow the user to control what e-mail address the new password will be sent to in the password recovery mechanism.

  6. Architecture and Design

    Assign a new temporary password rather than revealing the original password.

Source: MITRE CWE-640

2 results · Clear filters · Feed

  • Medium 5.3
    CVE-2026-36438 Public exploit

    An issue in Intelbras VIP-1230-D-G4 Version V2.800.00IB00C.0.T allows a remote attacker to obtain sensitive information…

  • Medium 4.3
    CVE-2025-14783 Public exploit

    Easy Digital Downloads <= 3.6.2 - Unvalidated Redirect in Password Reset Flow via edd_redirect

    The Easy Digital Downloads plugin for WordPress is vulnerable to Unvalidated Redirect in all versions up to, and including, 3.6.2. This is due to insufficient validation on the redirect url supplied via the 'edd_redirect' parameter. This makes it possible for…