cve.bz

CWE-640: Weak Password Recovery Mechanism for Forgotten Password, published in 2021

Filter

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

What the weakness is: CWE-640 at MITRE. OWASP Top 10: A07:2025 Authentication Failures. All weaknesses

Related attack patterns (CAPEC): 1
  • CAPEC-50 Password Recovery Exploitation Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to CWE-640, as MITRE names them. Credits.

Ask an AI about CWE-640

Show the promptExplain CWE-640: Weak Password Recovery Mechanism for Forgotten Password and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/640.html and https://cve.bz/cve/cwe/640?via=ask-ai-copy for recent CVEs with this weakness. Cite the sources.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this weakness's id and public links.

By year: all 2026 2025 2024 2023 2022 2021

  1. 4.4CVE-2021-39919gitlabEPSS 0.3%

    In all versions of GitLab CE/EE starting version 14.0 before 14.3.6, all versions starting from 14.4 before 14.4.4, all versions starting from 14.5 before 14.5.2, the reset password token and new user email token are accidentally logged wh…

  2. 7.5CVE-2021-44037teampasswordmanager team password managerEPSS 0.8%

    Team Password Manager (aka TeamPasswordManager) before 10.135.236 allows password-reset poisoning.

  3. 4.2CVE-2021-39899gitlabEPSS 0.3%

    In all versions of GitLab CE/EE, an attacker with physical access to a user’s machine may brute force the user’s password via the change password function. There is a rate limit in place, but the attack may still be conducted by stealing t…

  4. 8.0CVE-2021-25961salesagility suitecrmEPSS 1.0%

    In “SuiteCRM” application, v7.1.7 through v7.10.31 and v7.11-beta through v7.11.20 fail to properly invalidate password reset links that is associated with a deleted user id, which makes it possible for account takeover of any newly create…

  5. 5.3CVE-2021-36095otrsEPSS 0.9%

    Malicious attacker is able to find out valid user logins by using the "lost password" feature. This issue affects: OTRS AG ((OTRS)) Community Edition version 6.0.1 and later versions. OTRS AG OTRS 7.0.x version 7.0.28 and prior versions.

  6. 8.8CVE-2021-25957dolibarrEPSS 1.1%

    In “Dolibarr” application, v2.8.1 to v13.0.2 are vulnerable to account takeover via password reset functionality. A low privileged attacker can reset the password of any user in the application using the password reset link the user receiv…

  7. 7.5CVE-2021-37693discourseEPSS 0.8%

    Discourse is an open-source platform for community discussion. In Discourse before versions 2.7.8 and 2.8.0.beta4, when adding additional email addresses to an existing account on a Discourse site an email token is generated as part of the…

  8. 6.1CVE-2021-37541jetbrains hubEPSS 0.5%

    In JetBrains Hub before 2021.1.13402, HTML injection in the password reset email was possible.

  9. 7.5CVE-2021-36708prolink prc2402m firmwareEPSS 1.2%

    In ProLink PRC2402M V1.0.18 and older, the set_sys_init function in the login.cgi binary allows an attacker to reset the password to the administrative interface of the router.

  10. 9.8CVE-2021-36209jetbrains hubEPSS 1.0%

    In JetBrains Hub before 2021.1.13389, account takeover was possible during password reset.

  11. 8.1CVE-2021-36804akauntingEPSS 1.0%

    Akaunting version 2.1.12 and earlier suffers from a password reset spoofing vulnerability, wherein an attacker can proxy password reset requests through a running Akaunting instance, if that attacker knows the target's e-mail address. This…

  12. 7.5CVE-2021-33321liferayEPSS 1.4%

    Insecure default configuration in Liferay Portal 6.2.3 through 7.3.2, and Liferay DXP before 7.3, allows remote attackers to enumerate user email address via the forgot password functionality. The portal.property login.secure.forgot.passwo…

  13. 9.8CVE-2021-22763schneider-electricEPSS 1.9%

    A CWE-640: Weak Password Recovery Mechanism for Forgotten Password vulnerability exists in PowerLogic PM55xx, PowerLogic PM8ECC, PowerLogic EGX100 and PowerLogic EGX300 (see security notification for version infromation) that could allow a…

  14. 9.8CVE-2021-28293seceon aisiemEPSS 1.6%

    Seceon aiSIEM before 6.3.2 (build 585) is prone to an unauthenticated account takeover vulnerability in the Forgot Password feature. The lack of correct configuration leads to recovery of the password reset link generated via the password …

  15. 9.8CVE-2021-22731schneider-electricEPSS 1.4%

    Weak Password Recovery Mechanism for Forgotten Password vulnerability exists on Modicon Managed Switch MCSESM* and MCSESP* V8.21 and prior which could cause an unauthorized password change through HTTP / HTTPS when basic user information i…

  16. 8.8CVE-2021-31912jetbrains teamcityEPSS 1.2%

    In JetBrains TeamCity before 2020.2.3, account takeover was potentially possible during a password reset.

  17. 8.1CVE-2021-28128strapiEPSS 1.3%

    In Strapi through 3.6.0, the admin panel allows the changing of one's own password without entering the current password. An attacker who gains access to a valid session can use this to take over an account by changing the password.

  18. 8.1CVE-2021-29080netgearEPSS 0.4%

    Certain NETGEAR devices are affected by password reset by an unauthenticated attacker. This affects RBK852 before 3.2.10.11, RBK853 before 3.2.10.11, RBR854 before 3.2.10.11, RBR850 before 3.2.10.11, RBS850 before 3.2.10.11, CBR40 before 2…

  19. 9.1CVE-2021-25323misp-project mispEPSS 1.3%

    The default setting of MISP 2.4.136 did not enable the requirements (aka require_password_confirmation) to provide the previous password when changing a password.

  20. 7.6CVE-2020-5361dell cpg biosEPSS 0.4%

    Select Dell Client Commercial and Consumer platforms support a BIOS password reset capability that is designed to assist authorized customers who forget their passwords. Dell is aware of unauthorized password generation tools that can gene…