Skip to content

In-depth lesson · technique

Password reset poisoning

What every disclosed Password reset poisoning report in the index teaches, put together: how it works, how it changed year by year, where it turns up, and things to try. Every point shows the reports it is seen in.

reports cited in this lesson
159

Learning Accounts and login, step 2

Overview

What it is and why programs pay for it.

Password reset poisoning is a class of account takeover technique that targets the forgotten password flow. Rather than attacking the login form, the hunter looks at how the application builds and delivers the reset link, and tries to influence that link so it points somewhere the attacker controls or leaks the token. The evidence shows this is a broad family: it covers Host and forwarding header trust when generating the link, tokens that never expire or survive reuse, sessions that stay valid after a reset, MFA and OTP checks that the reset flow skips, and reset endpoints that disclose whether an account exists. The reports behind this lesson span forgot password pages, reset endpoints, email verification links, MFA prompts, CMS reset functionality, source control, e-commerce reset APIs, mobile OTP flows, JWT handling and cloud identity reset codes.

Programs care because a poisoned or leaked reset link is a direct route to account takeover, and the affected accounts are often privileged or corporate users. The evidence lists reset flows that allowed changing the password of privileged or corporate users, flows that bypassed MFA or OTP, and flows that reached admin accounts with elevated rights. Because the reset flow is a normal, expected feature, flaws in it are easy to miss in review and often sit in plain sight on the main site.

It turns up most often wherever a reset link is generated from request data or where the reset flow has weaker controls than login. That means forgot password pages and reset endpoints, Host and forwarding header handling on reset requests, MFA and OTP prompts around the reset flow, session invalidation after a reset, email verification links, CMS reset functionality such as Drupal and Joomla, source control such as GitLab, e-commerce reset APIs, Android reset and OTP flows, JWT handling in reset and verification, and cloud identity reset codes such as AWS Cognito.

How it works

The mechanics, as the reports show them.

The core idea is that the reset flow has to build a link containing a token and send it to the account owner. If any part of that link, usually the host or scheme, is taken from the incoming request rather than from a fixed configuration, the attacker can influence where the link points. The evidence describes this as the application trusting the Host or forwarding header when building the reset link, and the fix is to build links from a fixed, configured base URL.

In concept, the attacker requests a reset for a victim, intercepts the submission, and changes the Host header or adds a forwarding header such as X-Forwarded-Host. If the application uses that value to build the link, the email sent to the victim contains a link pointing at the attacker's domain, with the victim's token in it. When the victim clicks, the token reaches the attacker, who uses it to set a new password. The evidence also notes variants where a secret or custom header changes the generated link, and where an internationalised domain name that looks like the legitimate one is used.

A second family of causes is token lifecycle. The evidence lists reset tokens with no expiry, tokens not invalidated after use, old reset links staying valid after the account email is changed, and tokens generated with weak randomness or predictable values. Each of these turns a single leaked or observed link into a lasting takeover path, and each has a matching fix: short expiry, invalidation on use, invalidation on email change, and strong randomness.

A third family is what the reset flow lets you skip. The evidence shows reset flows that bypass MFA or OTP checks, that bypass account lockout, that reach privileged or corporate users, and that work across tenant boundaries. It also shows existing sessions not being invalidated after a password reset, so a session established before the reset survives it. These are not about the link at all; they are about the reset flow being treated as a lower-trust path than login.

A fourth family is information and input handling around the reset endpoint. The evidence lists reset endpoints reachable without authentication that disclose account information, email parameters not validated as a single string so arrays or repeated values are processed, reset forms that ignore the submitted email field, and response timing or binary search used to infer whether an account or token exists. It also lists tokens leaking through the Referer header to third-party sites, reset emails or links sent over unencrypted channels, and post-reset redirects to external URLs.

What makes all of this possible is that the reset flow is assembled from several moving parts, each of which can be trusted when it should not be: the request headers used to build the link, the token's lifetime and randomness, the checks the flow performs before allowing a new password, the sessions it invalidates afterwards, and the responses it returns to unauthenticated callers. The evidence also shows more exotic variants, such as a sandwich attack with two close reset requests mixing tokens between accounts, HTTP pipelining to race or guess tokens, null bytes in the email or token field, and manipulating the HTTP response so the client accepts it as success.

Seen in these reports13

Show 5 moreShow fewer

Year by year

11 years

What each year's disclosed reports show, newest first. A year with few reports says less.

Reports per yearPeak 2025: 44
Reports per year
20121
20143
20151
20164
20177
20183
20194
20213
20225
20237
202421
202544
202642
  1. 2025

    44 reports · median $35k

    Kept working4

    • Hunters kept testing whether the reset flow could change the password of corporate or staff users in the disclosed reports.
    • Changing the account email address and then using an old reset link worked in the disclosed reports.
    and 2 more

    Reports from 20254

    Every point and report from 2025
  2. 2024

    21 reports

    New this year1

    • GitLab password reset appears as a source control target in the disclosed reports.

    Kept working4

    • Hunters continued to test whether the reset flow could change the password of corporate or staff users in the disclosed reports.
    • Changing the Host header to a controlled domain and checking the emailed link worked in the disclosed reports.
    and 2 more

    Reports from 20241

  3. 2023

    7 reports

    Kept working1

    • Hunters kept testing whether the reset flow could change the password of corporate or staff users in the disclosed reports.
Every point, year by year

Where it is found

5

The features and places the reports found it in, most-reported first.

  1. Forgot password pages and reset endpoints within the password reset flow.

    Seen in 39 reports
  2. Host header and forwarding headers on reset requests, where host header handling matters.

    Seen in 7 reports
  3. MFA and OTP prompts around the reset flow.

    Seen in 3 reports
  4. GitLab password reset in source control.

    Seen in 2 reports
  5. Session invalidation after a password reset, as part of session management.

    Seen in 1 report

Root causes

10

The mistakes in the code or configuration behind the reports.

  1. The reset flow allowed changing the password of privileged or corporate users.

    Seen in 39 reports
  2. The application trusted the Host or forwarding header when building the reset link.

    Seen in 7 reports
  3. Old reset links stayed valid after the account email was changed.

    Seen in 3 reports
  4. No rate limit or lockout was applied to reset requests or token attempts.

    Seen in 2 reports
View all 10

Things to try

The most-reported tests in the largest contexts. Tick what you have tried; ticks stay in this browser and carry over to the full checklist. Test only what a program's scope allows.

ticked in this lesson

Reset tokens and links

of 3 ticked

Session and MFA handling

of 3 ticked

Host header and forwarding headers

of 2 ticked
  • Seen in 7 reports
  • Seen in 7 reports

Multi-tenant boundaries

of 2 ticked
View more things to try

Bypasses and variations

6

How reports got past filters, encoders and other defences.

  1. Use the reset flow to change the password of any corporate or staff user.

    Seen in 39 reports
  2. When the Host header is filtered, use a forwarding header instead to influence the generated reset link.

    Seen in 7 reports
  3. Use an old reset link after the account email has been changed.

    Seen in 3 reports
  4. Send the email field as an array or as a repeated parameter so the reset link is sent to more than one address.

    Seen in 2 reports
View all 6

Payouts

16 paid

Public bounties in US dollars, from the data. 16 of 192 reports show an amount.

a quarter paid up to
$950
median
$1,750
three quarters paid up to
$4,063
highest
$90k

One in ten paid reports was paid $23k or more.

SeverityReportsPaidMedianHighest
Critical 3 1 $35k $35k
High 9 0 None paid None
Medium 8 1 $50 $50
Informational 7 0 None paid None
Unrated 165 14 $1,750 $90k

Typical fixes

10

How programs fixed it, as the reports describe.

  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
View all 10

Tips for beginners

11

Advice for a first hunt, drawn from the reports.

  1. Test the token lifecycle directly. Request a link, wait well past any stated lifetime, then use it. Use a link once and try it again. Change the account email and try an old link. Each of these maps to a listed root cause and a listed fix, so a clear result is easy to write up.

    Seen in 5 reports
  2. Check what the reset flow lets you skip. Try to use it to bypass MFA or OTP prompts, to bypass account lockout, and to reach privileged or corporate users. The evidence shows all of these as real findings, and they are often more impactful than a header trick because they defeat a control the program deliberately added.

    Seen in 4 reports
  3. When you write up, show impact concretely: whose account you could take over, what control the flow skipped, or what session survived. The evidence shows the strongest findings are the ones that reach privileged or corporate users or bypass MFA, so frame the report around that rather than around the header alone. A report with no demonstrated impact is a common beginner mistake.

    Seen in 4 reports
  4. Before you touch anything, read the program's scope and rules. Reset flows often sit on separate hosts, mobile apps or identity providers, and the evidence lists many different surfaces including CMS, source control, e-commerce APIs, Android apps, JWT handling and cloud identity. Reporting a host that is out of scope is a common beginner mistake and wastes the report.

    Seen in 2 reports
  5. Intercept the reset submission and change the Host header to a domain you control, then check whether the emailed link points there. If the Host header is filtered, try a forwarding header instead. This is the classic password reset poisoning test and the evidence lists it repeatedly as the root cause and the fix.

    Seen in 2 reports
View all 11

Guides and techniques

The best explainers, cheat sheets and technique posts on Password reset poisoning, from around the web.

Keep learning

Where this lesson fits, and what to read next.

The whole class

How this is made: our model read every listed Password reset poisoning report in the index (our own summary where we have one, otherwise the title and the platform's label), listed the patterns, and merged them. Each point was kept only if the reports it cites exist, are listed and belong here; payouts are computed from the data, not written by the model. Read the originals before relying on a point. Generated 26 Nov 2026 from 159 reports. All Password reset poisoning reports.