e-mail verification bypass through interception & modification of response status
The email verification step during registration could be bypassed by intercepting the server's response and changing the success flag from false to true. An attacker could then complete registration without proving ownership of the email address.
- Triaged in 3 days
- Fixed in 3 months
- Disclosed after 4 months
Hi,
During registration of account at https://tams.preprod.gsa.gov, e-mail verification (code validation) can be bypassed through intercepting & modifying the response status-from "success":false to "success":true Video
is for reference.
##Steps To Reproduce
- Open User Registration Url - https://tams.preprod.gsa.gov/userEmailReg
- Enter the email & submit.
- Prompt to enter the verification code will appear.
- Enter any wrong value (6 digits), submit & capture in burp.
5.Before submitting, select the option in burp - Do Intercept response to this request 6. After receiving the response. Modify the value false to true for success parameter. 7. You would be able to continue the registration process. 8. A pop up appears in the next stage. You can close & go ahead with registration process.
Impact
Bypass of e-mail verification processes.
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-side application trusted the server's success flag to decide whether verification passed, instead of the server enforcing the check and issuing a session state that cannot be altered by the user.
Impact
An attacker could bypass email verification and complete registration without controlling the email address, potentially allowing fake accounts.
What the attacker needed
Access to the registration page; ability to intercept and modify responses
How it was found
- Open the user registration page.
- Enter an email address and submit.
- When prompted for the verification code, enter any wrong six-digit value and submit while capturing the request.
- Configure the proxy to intercept the response to that request.
- Change the success parameter from false to true in the response.
- Continue the registration process and dismiss the pop-up to finish.
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 website asks for a code sent to your email to prove the address is yours. The server checks the code and sends back a message saying whether it was correct. Here, the attacker changed that message on the way back to say 'correct' even though the code was wrong, and the site believed it.
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.