OTP bypass through response modification for new users
The OTP verification endpoint for new users could be bypassed by intercepting the server's response and modifying it. An attacker could then gain access to an account without knowing the correct one-time code.
- Accepted in 29 days
- Fixed in 29 days
- Disclosed after 20 months
Summary by Indeed
OTP bypass through response modification for new users was identified at https://indeedchat.indeed.com/login.
Summary by svla01
A flaw has been discovered allowing a user to bypass double authentication by modifying the response of a request.
Bypass :
- Type a random OTP
- Intercep the response of request "verifyOtp" with burp
- Modify the payload
Access granted
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the client trusted the server's response to decide whether OTP verification succeeded, instead of the server enforcing the check and issuing a session only on a valid code.
Impact
An attacker could bypass the second authentication factor for new accounts and gain access without the correct OTP.
What the attacker needed
A new user account; ability to intercept HTTP responses
How it was found
- Type a random OTP at the verification step.
- Intercept the response to the verifyOtp request using a proxy tool.
- Modify the response payload.
- Access is granted.
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 report has not been written yet. The Original tab links to the source.
When you sign up, the site sends a one-time code (OTP) to your phone or email and asks you to type it in. The server checks the code and replies with a message saying whether it was correct. Here, the attacker changed that reply on the way back to the browser, so the site believed the code was right even though it was random.
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.