In-depth lesson · OTP brute force
Year by year
What the disclosed OTP brute force reports of each year show, newest first: what first appeared, what kept working and what turned up less.
2022
2 pointsTurned up less2
Brute-forcing the caller-ID parameter in a call-based recovery flow, seen in 2021, was not reported in 2022.
Seen in 1 report
Finding that the final password reset step lacked the rate limit enforced earlier, seen in 2021, was not observed in 2022.
Seen in 1 report
-
High
-
2021
8 pointsNew this year2
Brute-forcing the caller-ID parameter in a call-based recovery flow was a new technique.
Seen in 1 report
Finding that the final password reset step lacked the rate limit enforced earlier in the flow was a new pattern.
Seen in 1 report
-
High
-
Kept working4
Brute-forcing a five-digit email confirmation code while rotating source IP addresses to evade per-IP blocking worked.
Seen in 1 report
At the final password reset step, repeatedly guessing the six-digit code and checking whether that step lacked the limit enforced earlier was effective.
Seen in 1 report
-
High
-
Supplying an email to a recovery endpoint to obtain a user identifier, then brute-forcing the caller-ID parameter in the call-based recovery flow, succeeded.
Seen in 1 report
Rotating source IP addresses through a proxy or VPN to reset per-IP rate limits was a key technique.
Seen in 1 report
Turned up less2
Inspecting the OTP send response for the OTP value itself, seen in 2020, was not reported in 2021.
Reusing a non-expiring phone login token for repeated OTP guesses, seen in 2020, was not observed in 2021.
Seen in 1 report
2020
12 pointsNew this year4
Observing a response length difference to identify a correct OTP was a new technique.
Seen in 1 report
Checking whether the OTP value is returned in the send response was first reported this year.
Reusing a non-expiring phone login token for repeated OTP guesses was a new pattern.
Seen in 1 report
Brute-forcing the current-password field on the password change form from within a logged-in session was a new vector.
Seen in 1 report
Kept working6
Capturing the phone login request and iterating OTP values, watching for a response length that differs from failures, worked.
Seen in 1 report
Waiting several hours after receiving a sign-up OTP and checking whether it still worked, then brute-forcing it while rotating IPs, was effective.
Using the forgotten-number path in a mobile app and brute-forcing the four-digit SMS recovery code succeeded.
Seen in 1 report
Requesting a password reset and brute-forcing the short alphanumeric verification code through the auth endpoint using the same device identifier worked.
Seen in 1 report
Inspecting the network response when an OTP is sent and checking whether the OTP value itself is returned to the client revealed a flaw.
Requesting a phone login token and checking whether it expires, then reusing it for repeated OTP guesses, was effective.
Seen in 1 report
Turned up less2
Using a resend-verification endpoint to enumerate registered emails, seen in 2019, was not reported in 2020.
Targeting custom WordPress REST endpoints for resending verification and login, seen in 2019, was not observed in 2020.
2019
7 pointsNew this year2
Using a resend-verification endpoint to enumerate registered emails before brute-forcing login was a new pattern.
Custom WordPress REST endpoints for resending verification and login were targeted for the first time.
Kept working3
Brute-forcing a five-digit email confirmation code while rotating source IP addresses to evade per-IP blocking worked.
Seen in 1 report
Using a resend-verification endpoint to enumerate registered emails, then brute-forcing the login endpoint for discovered accounts, was effective.
Rotating source IP addresses through a proxy or VPN to reset per-IP rate limits was a key technique.
Seen in 1 report
Turned up less2
The technique of re-submitting username and password to reset the 2FA attempt counter, seen in 2016, was not reported in 2019.
Triggering an SMS code by editing a profile field, seen in 2017, was not observed in 2019.
Seen in 1 report
2017
7 pointsNew this year2
Using a profile edit endpoint to trigger an SMS verification code was a new vector for obtaining a brute-forceable code.
Seen in 1 report
Looking for a distinct invalid-token error to confirm reset token guessing was possible first appeared this year.
Seen in 1 report
Kept working3
Triggering an SMS code by editing a profile field and then brute-forcing the four-digit code using the captured session header worked.
Seen in 1 report
Submitting guessed reset tokens to the password endpoint and looking for a distinct invalid-token error confirmed guessing was possible.
Seen in 1 report
On the password reset page, submitting many wrong 2FA codes and checking whether the reset still proceeded revealed a weakness.
Seen in 1 report
Turned up less2
The technique of re-authenticating with the password to reset the 2FA attempt counter, seen in 2016, was not reported this year.
Replaying the 2FA code submission through a mobile API endpoint to compare rate limiting, common in 2016, was not observed in 2017.
Seen in 1 report
2016
5 pointsKept working5
Hunters found missing rate limits on 2FA and login code verification endpoints in the disclosed reports.
Seen in 4 reports
Sending repeated wrong 2FA codes to the verification endpoint revealed whether any lockout or rate limit appeared.
Seen in 1 report
Requesting a login code for a phone number and brute-forcing the short numeric code allowed login.
Seen in 1 report
Replaying the 2FA code submission through the mobile app's API endpoint showed weaker rate limiting than the web flow.
Seen in 1 report
Counting how many 2FA token guesses were accepted before rate limiting kicked in, then re-authenticating with the password to reset the counter, worked.