Skip to content

In-depth lesson · technique

Second-factor bypass

What every disclosed Second-factor bypass 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
238

Learning Accounts and login, step 3

Overview

What it is and why programs pay for it.

Second-factor bypass is any way to complete authentication or a sensitive action without supplying a valid second factor, or to make the second factor ineffective. Programs care because it defeats the main protection against password theft and account takeover, and because it often sits in login, recovery, account settings and third-party sign-in flows that are hard to test exhaustively. The evidence shows many reports where the second factor was skipped, reused, brute-forced or disabled without proper checks.

It usually leads to account takeover, unauthorised access to protected resources, or persistence after a password change. Some reports show it enabling actions such as internal transfers, identity document submission, or reaching admin panels. It is most often found in login and verification endpoints, password reset and email change flows, OAuth2 and social login integrations, SAML and OpenID configurations, mobile apps, and account settings pages for enabling or disabling two-factor authentication.

The database holds 248 reports on this theme, with 18 having summaries and 55 marked as paid. The evidence covers a wide range of technologies and flows, from time-based one-time passwords and SMS codes to passkeys and backup codes, so a hunter should expect to test both the main login path and the surrounding account management features.

How it works

The mechanics, as the reports show them.

The core idea is that the server must decide, on its own, that a valid second factor was presented for the specific account and session before granting access or changing security settings. A bypass happens when that decision is missing, can be influenced by the client, or is tied to the wrong state. For example, the server may trust a client-returned value instead of checking the code, or skip validation for accounts in a particular state.

Another common pattern is that the second factor is enforced only on one path. Alternate login methods such as social sign-in, OAuth2 authorisation, Apple ID login or passwordless login may not enforce the existing two-factor requirement, or may even clear the setting. Similarly, a grant token issued before two-factor completion may have no expiry and remain usable later.

Session and state handling is a frequent weak point. Existing sessions may not be revoked when two-factor authentication is enabled, so an attacker who already has a session keeps access. A pending two-factor state may be tied to a browser session cookie that can be swapped, or to a session rather than the account being authenticated. Changing the password during a pending login may not expire that login.

Rate limiting and code lifecycle issues make brute force or replay possible. The implementation may allow repeated guesses without effective throttling, or a library may compare the wrong time step so a reused code still passes. Codes may be generated once and reused across setup attempts, or backup codes may be reusable. Some flows disclose the code to the client or use weak randomness.

Sensitive actions around the second factor can also be abused. The endpoint that disables two-factor authentication may not require the current password, or may authenticate only on a client-computed value. The email change flow may not re-verify ownership or invalidate trusted-device sessions. A passkey verification function may have its return value ignored, so failed validation still signs the user in.

Finally, protocol-level parsing mistakes can bypass the requirement. In SAML, an XPath query that searches the whole document instead of only the signed assertion can allow a fake authentication statement to be injected. In OpenID configurations, misconfiguration can skip the second factor. These cases show that the bypass is often a logic or parsing flaw rather than a cryptographic break.

Year by year

10 years

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

Reports per yearPeak 2025: 72
Reports per year
20111
20121
20144
20152
20165
20178
20184
20196
202020
202110
202210
202315
202430
202572
202652
  1. 2025

    72 reports

    New this year3

    • Injecting a fake authentication statement into a SAML response to bypass the two-factor requirement appears this year in the disclosed reports.
    • Carrying over a pending two-factor state after a refresh and email change appears this year in the disclosed reports.
    • Carrying over a trusted device session after an email change appears this year in the disclosed reports.

    Kept working1

    • Intercepting the response that reports whether the SMS code was verified, changing it to success and setting a new password worked in the disclosed reports.

    Turned up less1

    • The request racing and homograph bypasses from 2024 are not repeated in this year's evidence.
  2. 2024

    30 reports · median $1,000

    New this year1

    • Using an internationalised domain name homograph to bypass two-factor appears this year in the disclosed reports.

    Kept working4

    • Sessions created before two-factor was enabled stayed valid on a second device in the disclosed reports.
    • Reusing a one-time code after it had been used once worked in the disclosed reports.
    and 2 more

    Turned up less1

    • The custom cookie parameter bypass from 2023 is not repeated in this year's evidence.
  3. 2023

    15 reports · median $1,157

    New this year1

    • Adding a custom cookie parameter to the two-factor request as a bypass appears this year in the disclosed reports.

    Kept working1

    • Signing in with Google to several services bypassed the second factor in the disclosed reports.

    Reports from 20232

Every point, year by year

Root causes

18

The mistakes in the code or configuration behind the reports.

  1. The application did not revoke existing sessions when MFA was enabled.

    Seen in 3 reports
  2. The server did not re-check that the destination wallet belonged to the account when processing an internal transfer.

    Seen in 1 report
  3. The verification endpoint skipped server-side validation of the one-time code for accounts in the denied state and trusted the client.

    Seen in 1 report
  4. The 2FA implementation allowed repeated guessing without effective throttling.

    Seen in 1 report
  5. The external login flow did not enforce the existing 2FA requirement and cleared the 2FA setting when used.

    Seen in 1 report
View all 18

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

2FA verification step bypass

of 3 ticked
  • Seen in 7 reports
  • Seen in 1 report
  • Seen in 1 report
More in 2FA verification step bypass

Named platform 2FA flows

of 3 ticked
More in Named platform 2FA flows

Disabling 2FA

of 3 ticked
More in Disabling 2FA

Session persistence after 2FA changes

of 3 ticked
  • Seen in 4 reports
  • Seen in 1 report
  • Seen in 1 report
More in Session persistence after 2FA changes
View more things to try

Payouts

37 paid

Public bounties in US dollars, from the data. 37 of 296 reports show an amount.

a quarter paid up to
$300
median
$750
three quarters paid up to
$1,000
highest
$10k

One in ten paid reports was paid $1,960 or more.

SeverityReportsPaidMedianHighest
Critical 11 0 None paid None
High 14 3 $750 $1,000
Medium 30 7 $750 $6,000
Low 12 2 $275 $300
Informational 3 0 None paid None
Unrated 226 25 $1,000 $10k

Tips for beginners

14

Advice for a first hunt, drawn from the reports.

  1. Check session behaviour around two-factor changes. Log in on two devices, enable two-factor authentication on one, and see whether the other session stays valid. Also check whether old sessions survive a password change or two-factor setup, and whether a pending login is expired when the password changes.

    Seen in 5 reports
  2. Test the disable and reset flows. Try disabling two-factor authentication without supplying the current password, or with a wrong password and a tampered response. Check whether resetting another user's two-factor authentication is possible, and whether backup codes can be retrieved without protection.

    Seen in 5 reports
  3. Start with the main login flow and the account settings pages for enabling, disabling and recovering two-factor authentication. Map every step and every alternate path, including social login, OAuth2, password reset and email change, because the second factor is often enforced on only one of them.

    Seen in 3 reports
  4. Probe rate limiting on code verification. Send many attempts and see whether the server throttles, locks the account, or allows unlimited guesses. Look for logical flaws in the rate limiter that let you send more attempts than intended, and test whether codes can be reused after a successful use.

    Seen in 3 reports
  5. Look at token and state handling. Capture a grant token issued before two-factor completion and try to reuse it later. Check whether a pending two-factor state is tied to a session cookie that can be swapped between sessions, or to a session rather than the account.

    Seen in 3 reports
View all 14

Guides and techniques

The best explainers, cheat sheets and technique posts on Second-factor bypass, from around the web.

Keep learning

Where this lesson fits, and what to read next.

How this is made: our model read every listed Second-factor bypass 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 248 reports. All Second-factor bypass reports.