Skip to content

In-depth lesson · Password reset poisoning

Typical fixes

Every point the Password reset poisoning reports back under this heading, best-backed first, each with the reports it is seen in.

Back to the lesson 1 to 10 of 10
  1. Apply the same access controls to privileged and corporate accounts in the reset flow.

    Seen in 39 reports
  2. Build reset links from a fixed, configured base URL rather than the request Host or forwarding headers.

    Seen in 7 reports
  3. Invalidate old reset links when the account email is changed.

    Seen in 3 reports
  4. Apply rate limiting and lockout to reset requests and token attempts.

    Seen in 2 reports
  5. Expire reset tokens after a short time and invalidate them once they have been used.

    Seen in 2 reports
  6. Validate that the email parameter is a single string and reject arrays or repeated values.

    Seen in 2 reports
  7. Invalidate all existing sessions after a password reset.

    Seen in 1 report
  8. Enforce the same password complexity rules in the reset flow as in registration.

    Seen in 1 report
  9. Restrict post-reset redirects to the application's own domain.

    Seen in 1 report