Oculus Identity Verification bypass through Brute Force
The username-change flow on Oculus sent a six-digit code by email but did not limit how many guesses could be made. An attacker who knew a victim's password could brute-force the code and complete the identity check, allowing the username to be changed without the victim's consent.
Published on medium.com
Oculus is avery secure web application which doesnt have any vulnerability but i found some that which has lack of rate limit near identity verification
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the verification endpoint accepted unlimited code guesses because no rate limit or lockout was applied to the six-digit OTP check.
Impact
An attacker with access to the account could guess the emailed code and pass identity verification, letting them change the username; the report does not show any wider takeover.
What the attacker needed
Attacker knows the account password; victim's email code is in a small guessable range
How it was found
- Log in to Oculus and open the profile page to change the username.
- Trigger the change so a six-digit code is emailed to the account.
- Enter a wrong code and capture the request in an intercepting proxy.
- Send a large range of candidate codes as the payload.
- Spot the correct code because its response length differs from invalid ones.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
When you change a username, the site emails you a short number (a one-time code) to prove it is really you. This site let someone try thousands of different numbers in a row without slowing them down or locking the account. Because there are only a million possible six-digit numbers, a computer can guess the right one quickly.
What is Account takeover?
Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.