Skip to content
Business logic Disclosed report Beginner

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.

rptl Follow

Originally disclosed on HackerOne

  • 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

recording-1619794572349.webm From the original on HackerOne

is for reference.

##Steps To Reproduce

  1. Open User Registration Url - https://tams.preprod.gsa.gov/userEmailReg
  2. Enter the email & submit.
  3. Prompt to enter the verification code will appear.
  4. 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.

The original report as published on HackerOne, by rptl. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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

  1. Open the user registration page.
  2. Enter an email address and submit.
  3. When prompted for the verification code, enter any wrong six-digit value and submit while capturing the request.
  4. Configure the proxy to intercept the response to that request.
  5. Change the success parameter from false to true in the response.
  6. 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.

More by rptl

View all

3 more disclosed reports, best first.

More from U.S. General Services Administration

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.