In-depth lesson · OTP brute force
Year by year: 2020
What the disclosed OTP brute force reports of each year show, newest first: what first appeared, what kept working and what turned up less.
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.