Skip to content

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.

Back to the lesson 51 to 91 of 91

2022

2 points

Turned up less2

  1. Brute-forcing the caller-ID parameter in a call-based recovery flow, seen in 2021, was not reported in 2022.

    Seen in 1 report
  2. 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

2021

8 points

New this year2

  1. Brute-forcing the caller-ID parameter in a call-based recovery flow was a new technique.

    Seen in 1 report
  2. Finding that the final password reset step lacked the rate limit enforced earlier in the flow was a new pattern.

    Seen in 1 report

Kept working4

  1. Brute-forcing a five-digit email confirmation code while rotating source IP addresses to evade per-IP blocking worked.

    Seen in 1 report
  2. 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
  3. 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
  4. 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

  1. Inspecting the OTP send response for the OTP value itself, seen in 2020, was not reported in 2021.

    Seen in 1 report
  2. 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 points

New this year4

  1. Observing a response length difference to identify a correct OTP was a new technique.

    Seen in 1 report
  2. Checking whether the OTP value is returned in the send response was first reported this year.

    Seen in 1 report
  3. Reusing a non-expiring phone login token for repeated OTP guesses was a new pattern.

    Seen in 1 report
  4. 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

  1. Capturing the phone login request and iterating OTP values, watching for a response length that differs from failures, worked.

    Seen in 1 report
  2. Waiting several hours after receiving a sign-up OTP and checking whether it still worked, then brute-forcing it while rotating IPs, was effective.

    Seen in 1 report
  3. Using the forgotten-number path in a mobile app and brute-forcing the four-digit SMS recovery code succeeded.

    Seen in 1 report
  4. 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
  5. Inspecting the network response when an OTP is sent and checking whether the OTP value itself is returned to the client revealed a flaw.

    Seen in 1 report
  6. 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

  1. Using a resend-verification endpoint to enumerate registered emails, seen in 2019, was not reported in 2020.

    Seen in 1 report
  2. Targeting custom WordPress REST endpoints for resending verification and login, seen in 2019, was not observed in 2020.

    Seen in 1 report

2019

7 points

New this year2

  1. Using a resend-verification endpoint to enumerate registered emails before brute-forcing login was a new pattern.

    Seen in 1 report
  2. Custom WordPress REST endpoints for resending verification and login were targeted for the first time.

    Seen in 1 report

Kept working3

  1. Brute-forcing a five-digit email confirmation code while rotating source IP addresses to evade per-IP blocking worked.

    Seen in 1 report
  2. Using a resend-verification endpoint to enumerate registered emails, then brute-forcing the login endpoint for discovered accounts, was effective.

    Seen in 1 report
  3. 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

  1. The technique of re-submitting username and password to reset the 2FA attempt counter, seen in 2016, was not reported in 2019.

    Seen in 1 report
  2. Triggering an SMS code by editing a profile field, seen in 2017, was not observed in 2019.

    Seen in 1 report

2017

7 points

New this year2

  1. 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
  2. Looking for a distinct invalid-token error to confirm reset token guessing was possible first appeared this year.

    Seen in 1 report

Kept working3

  1. 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
  2. Submitting guessed reset tokens to the password endpoint and looking for a distinct invalid-token error confirmed guessing was possible.

    Seen in 1 report
  3. 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

  1. The technique of re-authenticating with the password to reset the 2FA attempt counter, seen in 2016, was not reported this year.

    Seen in 1 report
  2. 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 points

Kept working5

  1. Hunters found missing rate limits on 2FA and login code verification endpoints in the disclosed reports.

    Seen in 4 reports
  2. Sending repeated wrong 2FA codes to the verification endpoint revealed whether any lockout or rate limit appeared.

    Seen in 1 report
  3. Requesting a login code for a phone number and brute-forcing the short numeric code allowed login.

    Seen in 1 report
  4. Replaying the 2FA code submission through the mobile app's API endpoint showed weaker rate limiting than the web flow.

    Seen in 1 report
  5. Counting how many 2FA token guesses were accepted before rate limiting kicked in, then re-authenticating with the password to reset the counter, worked.

    Seen in 1 report