In-depth lesson · technique
OTP brute force
What every disclosed OTP brute force 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
- 106
- median public bounty
- $1,000
Learning Accounts and login, step 4
Overview
What it is and why programs pay for it.
OTP brute force is the practice of guessing a one-time password or verification code by submitting many candidate values to the endpoint that checks it. The code is usually short, often four to six digits, and is meant to prove that the person completing a login, signup, password reset or contact-detail change controls the email address or phone number involved. When the checking endpoint does not limit attempts, does not lock the account, or lets the limit be reset, the code space becomes small enough to sweep. The reports behind this lesson show the pattern across password reset, login, two-factor verification, email confirmation, phone verification and recovery flows, on web and mobile, including GraphQL mutations and older API versions.
Programs care because a guessed code is a direct route into someone else's account. The same weakness appears in flows that reset a password, confirm a new email or phone number, complete signup, or pass a second factor, so the impact ranges from account takeover to removing a victim's contact details from their account. The evidence includes cases where a correct guess led to an authenticated session, where a phone number could be taken over through signup, and where a reset could be completed without the code. That is why these reports are treated as authentication bypasses rather than minor logic bugs.
It turns up most often wherever a short code is checked: password reset token and verification endpoints, login OTP submission and resend, the two-factor verification step on web and mobile, email confirmation for new accounts, phone verification during signup, and SMS recovery in mobile apps. It also appears in less obvious places such as GraphQL mutations for confirming contact details, a send-money flow that verifies a recipient PIN, a profile edit that triggers an SMS code, and a password confirmation prompt in account settings. The common thread is a server-side check of a low-entropy secret with weak or absent attempt control.
Seen in these reports20
-
Medium -
$5,000 -
$3,000
Show 5 moreShow fewer
-
$1,000 -
$1,000 -
$300 Medium -
$250
-
$100
How it works
The mechanics, as the reports show them.
The flow starts with the attacker triggering a code for a target account, for example by starting a password reset, requesting a login code, or beginning signup with the victim's phone number or email. The server issues a short code and stores it against that account or session. The attacker then submits guesses to the verification endpoint. If the endpoint accepts unlimited attempts within the code's lifetime, the attacker simply works through the possible values until one is accepted.
What makes this possible is usually a missing or weak control on the verification step. The endpoint may have no rate limit, no lockout and no delay on failed attempts, or the limit may be keyed only on the client IP or a client-supplied header, so rotating addresses or changing the header resets it. In other cases the limit exists on one flow or API version but not on a parallel endpoint or an older version, so the attacker switches route and continues.
Short codes and long lifetimes compound the problem. Four to six digit numeric codes are feasible to sweep when attempts are cheap, and codes that never expire or stay valid far beyond their stated lifetime widen the window. Old codes that are not invalidated when a new one is issued mean several valid values exist at once, and resending repeatedly can create many valid codes to guess against.
A second family of causes is trust placed in the client. The server may decide success from a client-supplied response field or parameter, return the OTP in the network response, accept a client-supplied digit count, or rely on client-side state to decide whether verification happened. Related mistakes include comparing codes with loose equality, treating the submitted code as a list, and deriving the identity for verification from a client-controlled cookie or hidden form field rather than the server session.
Binding failures are the third family. The code may not be tied to the specific email, phone number or session it was issued for, so a code sent to one address can verify another account, or an old link can validate a different number. Identifiers such as uid, actor_id or phone number may be accepted without ownership checks, and multi-step flows may treat each step independently so the final step trusts a client-supplied identifier without confirming the earlier verification.
Finally, some reports show the decision being made in the wrong place entirely. The application may keep validating codes and return a distinguishable response while a lockout is active, or the frontend may trust a response field and proceed even when the code was wrong. In one case the server created an authenticated session before confirming the OTP belonged to that user and session, and in another it generated codes for any username supplied through a cookie.
Seen in these reports35
-
-
$5,000
Year by year
10 yearsWhat each year's disclosed reports show, newest first. A year with few reports says less.
| 2015 | 2 |
|---|---|
| 2016 | 9 |
| 2017 | 5 |
| 2018 | 4 |
| 2019 | 3 |
| 2020 | 11 |
| 2021 | 10 |
| 2022 | 15 |
| 2023 | 8 |
| 2024 | 40 |
| 2025 | 79 |
| 2026 | 47 |
-
2026
New this year4
- Finding rate limits present but keyed to the wrong thing (IP, account or HTTP request) rather than the code or operation was a new observation.
- Sending a JSON boolean true or false as the OTP value to test for PHP loose comparison type juggling was a new technique.
- Sending one batched GraphQL request aliasing the OTP-verify mutation many times to sweep all four-digit codes and bypass a per-request rate limiter was new.
Kept working6
- Intercepting the login API response after requesting an OTP and checking whether the OTP value itself is returned in the response body worked.
- Sending repeated OTP guesses within the validity window to check for missing rate limiting, lockout or IP blocking revealed weaknesses.
Turned up less2
- Capturing a successful OTP response and replaying it against a wrong OTP, seen in 2025, was not reported in 2026.
- Resending the OTP many times in parallel to create multiple valid codes, seen in 2025, was not observed in 2026.
-
2025
New this year4
- Chaining OTP weaknesses with other flaws such as IDOR, enumeration and invite flows was a new pattern.
- Bypassing rate limits through IP rotation, forwarding headers or older API versions was newly prominent.
- Intercepting the OTP send response in a mobile app and changing the login-state flag and injecting fake token values before submitting a new password was a new technique.
Kept working6
- Capturing a successful OTP response and replaying it against a wrong OTP to see whether the frontend trusts it worked.
- Replacing a failed OTP response with a previously captured successful response bypassed verification.
Turned up less2
- Brute-forcing a six-digit nonce sent via push notification during password reset, seen in 2024, was not reported in 2025.
- Waiting past the stated expiry of a registration OTP and trying to use it again, seen in 2024, was not observed in 2025.
-
2024
New this year2
- Brute-forcing a six-digit nonce sent via push notification during password reset was a new technique.
- Testing whether an OTP remains valid past its stated expiry was first reported this year.
Kept working1
- Repeatedly attempting the password reset flow on a security platform and checking whether excessive attempts were limited succeeded.
Turned up less2
- Brute-forcing the SMS verification code on an Instagram sign-up endpoint, seen in 2023, was not reported in 2024.
- Entering unlimited wrong PINs in a mobile files app, seen in 2023, was not observed in 2024.
Earlier years7
Where it is found
34The features and places the reports found it in, most-reported first.
-
Password reset token and verification code endpoints.
Seen in 9 reports
-
Login OTP submission and resend requests.
Seen in 9 reports
-
The 2FA code verification endpoint on web and mobile sign-in.
Seen in 6 reports
-
The email confirmation endpoint for new accounts.
Seen in 4 reports
-
Forgotten-number and SMS recovery code flow in mobile apps.
Seen in 3 reports
Technologies in these reports16
Root causes
34The mistakes in the code or configuration behind the reports.
-
The verification endpoint had no rate limit, lockout or delay on failed attempts.
Seen in 18 reports
-
Short numeric or small-charset codes made brute force feasible.
Seen in 11 reports
-
OTPs or verification tokens never expired or stayed valid far beyond their stated lifetime.
Seen in 8 reports
-
The server trusted a client-supplied response field or parameter to decide OTP success.
Seen in 7 reports
-
The endpoint returned distinguishable responses for valid and invalid codes or accounts.
Seen in 7 reports
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
Password reset and recovery
of 3 ticked-
Seen in 1 report
-
Seen in 1 report
-
Seen in 1 report
Rate limiting and lockout bypass
of 3 ticked-
Seen in 4 reports
Response tampering and replay
of 3 ticked-
Seen in 3 reports
-
Seen in 1 report
-
Seen in 1 report
Email verification and confirmation codes
of 3 ticked-
Seen in 2 reports
-
Seen in 1 report
Bypasses and variations
13How reports got past filters, encoders and other defences.
-
Rotate source IP addresses through a proxy or VPN to reset per-IP rate limits.
Seen in 4 reports
-
Replace a failed OTP response with a previously captured successful response.
Seen in 3 reports
-
Send a fake forwarding header with a new value on each request to reset the rate-limit counter.
-
Resend the OTP many times in parallel to create multiple valid codes, then guess against any of them.
-
Switch from the rate-limited API version to an older version that lacks the limit.
Seen in 1 report
Payouts
28 paidPublic bounties in US dollars, from the data. 28 of 291 reports show an amount.
- a quarter paid up to
- $450
- median
- $1,000
- three quarters paid up to
- $5,000
- highest
- $30k
One in ten paid reports was paid $15k or more.
| Severity | Reports | Paid | Median | Highest |
|---|---|---|---|---|
| Critical | 2 | 0 | None paid | None |
| High | 14 | 1 | $500 | $500 |
| Medium | 13 | 3 | $100 | $300 |
| Low | 8 | 3 | $150 | $900 |
| Unrated | 254 | 21 | $4,000 | $30k |
Highest-paid reports5
-
$30,000 -
$25,300 -
$15,000 -
$15,000 -
$10,000
Typical fixes
12How programs fixed it, as the reports describe.
-
Enforce server-side rate limiting, attempt limits and lockout on every OTP verification endpoint.
Seen in 8 reports
-
Make the OTP success decision on the server and issue a verified session only on success.
Seen in 6 reports
-
Expire OTPs after a short period and invalidate all previous codes when a new one is issued.
Seen in 5 reports
-
Bind each OTP to the specific email, phone number and session it was issued for.
Seen in 3 reports
-
Key rate limits on trusted server-side identity rather than client IP or client-supplied headers.
Seen in 3 reports
Tips for beginners
13Advice for a first hunt, drawn from the reports.
-
Inspect the send response and the frontend. Check whether the OTP value is returned to the client, whether a client-supplied parameter controls the code length, and whether the success decision is made in JavaScript from a response field. If you can replay a captured success response against a wrong code and the flow proceeds, that is the finding.
Seen in 5 reports
-
Check whether the limit is real or only per IP or per header. If you are blocked, try a different source address or a changed forwarding header and see whether the counter resets. If one flow is limited, try the mobile API, an older API version, or a parallel endpoint for the same feature.
Seen in 4 reports
-
Look at the code itself. Note its length and character set, and whether it expires when it says it does. Wait past the stated lifetime and try the code again, and request several codes in a row to see whether old ones stay valid.
Seen in 4 reports
-
Test binding. Use a code sent to your own email or phone and try it against a different account or a different number. Try changing the email, phone or user identifier in the verification request and see whether the server accepts it without an ownership check.
Seen in 4 reports
-
Watch for distinguishable responses. A different response length, status code or error message between valid and invalid codes, or between existing and non-existing accounts, tells you guessing is possible and gives you a way to spot the correct value. Note any case where a wrong code still returns a success status.
Seen in 4 reports
Guides and techniques
The best explainers, cheat sheets and technique posts on OTP brute force, from around the web.
-
Bypassing MFA: 10 Real Techniques Used in 2026 (with Step-by-Step Examples)Catalogues ten practical methods attackers use to get past multi factor authentication, with worked examples for each technique.
Technique medium.com
-
Broken authentication: 7 Advanced ways of bypassing insecure 2-FA implementationsDetails advanced two-factor bypasses such as forced browsing, token brute force, CSRF, IDOR and path traversal tricks.
Technique intigriti.com
-
Mastering API Rate Limiting Bypasses: 10 Real-World Case Studies Every Pentester Should KnowPresents ten case studies of API rate limit bypasses, useful for testing login and OTP throttling.
Technique medium.com
-
MFA in Name Only: Seven Ways Around the Second FactorCatalogues seven practical ways attackers bypass multi-factor authentication in real engagements.
Technique medium.com
-
Broken authentication: A complete guide to exploiting advanced authentication vulnerabilitiesWalks through authentication flaws from default credentials and brute force to reset poisoning and magic link expiry issues.
Explainer intigriti.com
Keep learning
Where this lesson fits, and what to read next.
Learning paths
The whole class
Related techniques
How this is made: our model read every listed OTP brute force 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 27 Nov 2026 from 113 reports. All OTP brute force reports.