OTP Bypass on Register account via Response manipulation

infosecboy
1 min readApr 29, 2021

Steps:-

1.Register account with mobile number and request for OTP.
2.Enter incorrect OTP and capture the request in Burpsuite.
3.Do intercept response to this request and forward the request.
4.response will be
{“verificationStatus”:false,”mobile”:9072346577",”profileId”:”84673832"}
5.Change this response to
{“verificationStatus”:true,”mobile”:9072346577",”profileId”:”84673832"}
6.And forward the response.
You will be logged in to the account.
Impact: Account Takeover

Steps:-

1.Go to login and wait for OTP pop up.
2.Enter incorrect OTP and capture the request in Burpsuite.
3.Do intercept response to this request and forward the request.
4.response will be
error
5.Change this response to
success
6.And forward the response.
You will be logged in to the account.
Impact: Account Takeover

Steps:

1.Register 2 accounts with any 2 mobile number(first enter right otp)
2.Intercept your request
3.click on action -> Do intercept -> intercept response to this request.
4.check what the message will display like status:1
5.Follow the same procedure with other account but this time enter wrong otp
6.Intercept respone to the request
7.See the message like you get status:0
8.Change status to 1 i.e, status:1 and forward the request if you logged in means you just done authentication bypass.

--

--