How I Bypassed OTP Verification on Quick Heal — Account Takeover Without Valid OTP [RESOLVED]
The registration flow did not enforce OTP verification on the server, so an attacker could create a fully active account without a valid OTP. By intercepting the OTP verification response and changing it to indicate success, the attacker could complete registration and then log in with the chosen email and password.
Published on pradyumntiwarenexus.medium.com
I’m Pradyumn Tiwari (pradyumntiwarenexus), a security researcher and bug bounty hunter. Today I’m sharing one of my recent findings — a Business Logic Flaw I discovered in Quick Heal’s account registration flow that allowed anyone to create a fully functional account without ever verifying their OTP.
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
The application trusted a client-side response to decide whether OTP verification succeeded, instead of checking the OTP on the server before creating the account.
Impact
Attackers could create accounts without verifying a mobile number, potentially generating many fake or unverified accounts for spam, fraud, or automated bot account creation.
What the attacker needed
Access to the registration page; ability to intercept and modify HTTP responses
The fix
OTP verification should be enforced strictly on the server before account creation, and accounts should remain inactive until the server confirms a valid OTP.
How it was found
- Go to the registration page and fill in name, email, password, and mobile number.
- Click 'Send OTP' to request a one-time password.
- Enter an intentionally wrong OTP.
- Intercept the OTP verification response in Burp Suite.
- Modify the response to indicate success and forward it to the browser.
- The account is created; log out and log back in with email and password to confirm it works.
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 sign up, the website asks for a one-time code sent to your phone to prove it is you. Here, the website's page decided whether the code was correct, and the server simply believed whatever the page said. So a person could edit the page's answer to say 'correct' and the server would create the account anyway.
What is Business logic?
The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.