Skip to content
Info disclosure Disclosed report Beginner

OTP reflecting in response sensitive data exposure leads to account take over

The one-time password used for phone verification was returned in the server's response to the verification request. An attacker who could see that response could use the OTP to log into the user's account.

rupachandransangothi Follow

Originally disclosed on HackerOne

Critical View original
  • Disclosed after 7 months

Summary:

Sensitive data that is otp is reflecting in the response of phone number otp verification in https://app.upchieve.org

Steps To Reproduce:

  1. Signin with a account 2.After signin it will ask for phone number for otp verification. 3.Capture the request using burpsuite and see the response 4.Now otp is exposing in the response. 5.Account take over is happening.

Impact

Any attacker can login into user account with his/her otp verification which is a high impact of this website.sensitive data is exposing here

Attachments

POC_sensitivedataexposure.png
POC_sensitivedataexposure.png From the original on HackerOne

The original report as published on HackerOne, by rupachandransangothi. 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 verification endpoint included the generated OTP in its response body instead of keeping it server-side.

Impact

An attacker who can read the verification response could obtain the OTP and use it to take over the account; the report does not show how an outside attacker would reach that response.

What the attacker needed

A valid account; ability to intercept the verification response

The fix

The OTP should not be exposed in the response.

How it was found

  1. Sign in with an account.
  2. When prompted, enter a phone number for OTP verification.
  3. Capture the verification request and response with an intercepting proxy.
  4. Observe the OTP in the response.

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.

A one-time password (OTP) is a short code sent to your phone to prove it is you. Here the server sent that secret code back in its reply, so anyone who could read the reply could use the code to sign in as the user.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by rupachandransangothi

View all

1 more disclosed report, best first.

More from UPchieve

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.