Skip to content

In-depth lesson · bug class

Account takeover

What every disclosed Account takeover 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
2,214

Learning Account takeover reading list Accounts and login, step 1

Overview

What it is and why programs pay for it.

Account takeover is any bug that lets one person end up in control of another person's account. In this batch of 2441 reports it is not one vulnerability class but a family of them, and the common thread is a broken trust decision somewhere in authentication: a reset link built from the wrong host, a one-time code checked in the browser rather than on the server, a session that survives a password change, or an OAuth identity fused to an existing account by email alone. Programs care because the result is the same regardless of the route: the attacker reads and changes the victim's data, and often everything the account can reach.

What it usually leads to is full control of the account and, through it, of anything the account is trusted to do. The evidence shows takeovers chained onward into other bugs, and several reports turn on the attacker simply logging in as the victim after a reset or code check was bypassed. It is most often found in the flows that exist to prove identity: password reset, sign-up and email verification, one-time code checks on login, the second-factor challenge, OAuth and social login linking, and email or phone change. Mobile apps, self-hosted web apps and cloud identity pools also appear repeatedly.

How it works

The mechanics, as the reports show them.

Start with the reset flow, because it was the most common place for takeover bugs here. The server generates a token, emails a link, and later accepts that token to set a new password. Every step is a place to break: how the link is built, whether the token is single use, whether it expires, whether it is bound to the account, and whether it leaks into the response body instead of only the mailbox.

The link-building step fails when the reset URL is assembled from the client-supplied Host or X-Forwarded-Host header rather than a fixed configured domain. If the server does not validate that header against an allowlist, the emailed link can point at a host the attacker chose, and the token travels there. The same class of mistake appears with duplicate headers and forwarding headers when the plain Host header is checked.

The token-handling step fails in several ways. Previously issued tokens may stay valid after a new one is generated or after one is used, tokens may never expire, or they may not be revoked when the account email changes. Sometimes the reset endpoint returns the token in its JSON response, so the attacker never needs the mailbox at all. Sometimes the endpoint accepts an email, user ID or mobile number from the request and acts on that rather than on the token's owner.

One-time codes are the second big theme. The underlying mistake is a security decision made from a client-side response field rather than from server-side validation of the code. If the client trusts a success flag in the response body, changing that flag can carry the attacker past the check. Related failures are missing rate limiting or attempt limits on short numeric codes, fixed default codes that are accepted, and older codes that remain valid after a new one is issued.

Session and identity handling make the rest possible. Existing server-side sessions are often not invalidated or rotated when the password changes, when 2FA is enabled, or on logout, so an old session or cookie keeps working. The session identifier may be reused after login instead of being regenerated. And OAuth or social login may link an identity to an existing account by matching email without verifying ownership, so pre-registering with a victim's address can capture their later social sign-in.

A smaller but recurring set involves email normalisation and verification. Inconsistent Unicode normalisation between the database lookup and the mail delivery path can make lookalike addresses match the victim's account, or send codes to a lookalike domain. Email change endpoints that do not require the current password or confirmation from the original address let an attacker move the account to an address they control. Exposed .git directories and log files containing plaintext request data have also handed over credentials directly.

Year by year

16 years

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

Reports per yearPeak 2025: 487
Reports per year
20011
20061
20081
20094
20103
20113
20123
20132
201446
201546
2016116
2017120
201833
201946
2020116
202187
202297
202399
2024231
2025487
2026441
  1. 2026

    441 reports · median $150

    Kept working6

    • Many reports in this batch centre on password reset: token binding, token predictability, host header poisoning and email parameter tampering.
    • Many reports involve registering or changing to a victim's email without verification, then retaining access through a linked identity.
    and 4 more
  2. 2025

    487 reports · median $24k

    Kept working6

    • Many 2025 reports centred on OTP and second-factor steps: empty values, client-side response tampering, missing rate limits and unbound codes.
    • Many reports in this batch from 2025 show OTP checks that could be bypassed by editing the client-side response, alongside brute-force and rate-limit bypass variants.
    and 4 more
  3. 2024

    231 reports · median $1,000

    Kept working6

    • Many reports from 2023 and 2024 involved missing rate limiting on OTP or verification code endpoints.
    • Several reports from 2024 involved OTP brute-force or default OTP values.
    and 4 more
Every point, year by year

Where it is found

299

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

  1. Password reset flows were the most common place for takeover bugs in this batch.

    Seen in 16 reports
  2. Password reset endpoints that build links from the Host or X-Forwarded-Host header.

    Seen in 9 reports
  3. One-time code checks on login, sign-up and password reset were a frequent weak point.

    Seen in 9 reports
  4. The forgot-password page and the emailed reset links.

    Seen in 7 reports
  5. The two-factor challenge parameter.

    Seen in 6 reports
View all 299

Root causes

1,527

The mistakes in the code or configuration behind the reports.

  1. Existing server-side sessions were not invalidated or rotated when the password changed.

    Seen in 14 reports
  2. The reset URL was built from the client-supplied Host header, including its port, instead of a fixed canonical server name, and was not validated or escaped against an allowlist.

    Seen in 11 reports
  3. The server did not delete or revoke the session token on logout, only clearing it on the client.

    Seen in 11 reports
  4. The server decided OTP success from a client-side response field rather than checking the code itself.

    Seen in 8 reports
  5. A security decision was made from a client-side response flag rather than server-side OTP validation.

    Seen in 7 reports
View all 1,527

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

Other

of 3 ticked
  • Seen in 8 reports
  • Seen in 8 reports
  • Seen in 5 reports
More in Other

OAuth and social login account linking

of 3 ticked
More in OAuth and social login account linking

OTP and 2FA response tampering

of 3 ticked
  • Seen in 21 reports
  • Seen in 6 reports
  • Seen in 6 reports
More in OTP and 2FA response tampering

Password reset token leakage

of 3 ticked
More in Password reset token leakage
View more things to try

Bypasses and variations

270

How reports got past filters, encoders and other defences.

  1. Pre-register with the victim's email so their later OAuth sign-in links to your password.

    Seen in 2 reports
  2. Change the base64-encoded id parameter to reach other users' records.

    Seen in 2 reports
  3. Change the response status to success after submitting a wrong code.

    Seen in 2 reports
  4. Use the X-Forwarded-Host header when the Host header is validated.

    Seen in 2 reports
  5. Supply your own email address while keeping the victim's username to receive the reset link.

    Seen in 2 reports
View all 270

Payouts

216 paid

Public bounties in US dollars, from the data. 216 of 2,440 reports show an amount.

a quarter paid up to
$300
median
$1,000
three quarters paid up to
$3,000
highest
$100k

One in ten paid reports was paid $8,150 or more.

SeverityReportsPaidMedianHighest
Critical 111 9 $8,000 $35k
High 142 13 $2,500 $20k
Medium 160 23 $500 $6,000
Low 123 17 $150 $900
Informational 35 0 None paid None
Unrated 1,869 154 $1,000 $100k

Typical fixes

270

How programs fixed it, as the reports describe.

  1. Build reset links from a fixed configured domain rather than the request Host header.

    Seen in 15 reports
  2. Do not compare attacker-controlled values in a 2FA check; verify the code against a server-side secret.

    Seen in 6 reports
  3. Do not log credentials or request bodies in plaintext, and keep log files out of public directories.

    Seen in 5 reports
  4. Rate limit and lock out repeated one-time code guesses and keep codes valid for only a few minutes.

    Seen in 4 reports
  5. Invalidate old passwords, login QR codes, pending sessions and remember-me tokens when the password changes.

    Seen in 4 reports
View all 270

Tips for beginners

14

Advice for a first hunt, drawn from the reports.

  1. Test session behaviour around password change, 2FA activation and logout. Log in on two browsers, change the password in one, and check the other. Log out, replay the old cookie, and see whether it still works. Note the session identifier before and after login to see whether it is regenerated.

    Seen in 12 reports
  2. For one-time codes, test whether the server or the client decides success. Intercept a wrong-code response and change its status or success flag, then see whether the flow continues. Also check for missing attempt limits on short numeric codes, and whether a fixed default code is accepted.

    Seen in 9 reports
  3. Look at OAuth and social login linking. Pre-register an account with a victim's email and a password you choose, then see whether their later social sign-in attaches to your account without confirmation. Also check whether email ownership is verified at signup before any linking happens.

    Seen in 9 reports
  4. When you find a bypass, check the obvious variations before writing up. If the Host header is validated, try a forwarding header. If one code is rejected, request a fresh one and see whether the attempt counter resets. If one login path enforces the second factor, look for alternate paths, recovery flows or mobile endpoints that skip it.

    Seen in 8 reports
  5. Check email and phone change endpoints. Try changing the address without the current password, and see whether re-verification is required for the new address. If you can move the account to an address you control, a reset then completes the takeover.

    Seen in 7 reports
View all 14

Guides and techniques

View all

The best explainers, cheat sheets and technique posts on Account takeover, from around the web.

Keep learning

Where this lesson fits, and what to read next.

How this is made: our model read every listed Account takeover 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 28 Nov 2026 from 2,441 reports. All Account takeover reports.