Skip to content
Password Reset Flaws: Six Common Weaknesses and Mitigations (OWASP Guidance)

Password Reset Flaws: Six Common Weaknesses and Mitigations (OWASP Guidance)

First seen 21 Nov 2026, 22:45 UTC • •

Article Content

Browse articles
ThreatCluster AI
ThreatCluster •November 21, 2026 at 22:46 UTC
  • •Reset flows can grant account access without the current password, so their controls must be treated as authentication controls.
  • •Reset responses and timing should be identical for existing and non-existing accounts to prevent user enumeration.
  • •Reset links should be built from configured HTTPS base URLs, not the request Host header, to prevent password reset poisoning.
  • •Tokens should be cryptographically random, long enough to resist brute force, single-use, and expire after a set period.
  • •Rate limiting should not lock accounts, since lockout lets attackers deny access to users whose names they know.

A Hackernoon article describes six recurring weaknesses in password reset flows that can let an attacker take over an account without its current password. The article attributes the framing to OWASP, which calls forgot-password functionality 'a common source of vulnerabilities' such as user enumeration. The six weak points covered are: non-uniform responses and timing that reveal whether an account exists, rate limiting that can itself act as an enumeration oracle or enable lockout abuse, reset links built from the request Host header (password reset poisoning, per PortSwigger), and related controls such as token handling and session invalidation. OWASP's cheat sheet recommends identical responses for existing and non-existing accounts, uniform response times, cryptographically random single-use tokens with expiry, and no account change until a valid token is presented. The reporting is advisory and educational; it does not describe a specific incident, named victims, or a CVE. The article's support-inbox example is presented as illustrative, not as a customer report.

Start a free Starter trial for enhanced analysis

Ask AI about this cluster

More articles in this cluster (6)

Common questions

How do I stop reset requests from revealing which accounts exist?
Return the same message for every address, such as 'If that email address is in our database, we will send you an email,' and send the email asynchronously so response times match. Apply identical rate-limit responses (429) whether or not the account exists.
How can a reset link be hijacked through the Host header?
If the application builds the reset URL from the request Host header, an attacker can submit a reset for the victim with a Host pointing to an attacker-controlled domain, so the emailed genuine token links to the attacker. The fix is to build links only from a configured HTTPS base URL.
Should failed reset attempts lock the account?
No. OWASP notes that a forgotten-password attack should not produce a lockout, because lockouts let anyone deny access to users whose names they know. Use per-account rate limiting or CAPTCHA instead.