Skip to content
Account takeover Disclosed report Intermediate

GA code not verified on the server side allows sending Verification Documents on behalf of another user

For accounts whose verification application had been denied, the login verification endpoint accepted any Google Authenticator code instead of checking it on the server. An attacker who knew another user's phone number and PIN could therefore pass the second-factor step and submit identity documents on that user's behalf.

tmfelwu Follow

Originally disclosed on HackerOne

Bounty$250 View original
  • Triaged in under an hour
  • Fixed in 16 days
  • Paid in 16 days
  • Disclosed after 4 months

Host api.romit.io

Endpoint /v0/cash/auth/login/verify

Issue The GA Code is not verified on the server side for the users whose "Verification application" has been DENIED by the Romit support Team

PoC

  1. Setup an account at app.romit.io, use your apiKey, apiSecret and Location-ID to setup.
  2. Now click on Send Money, add the Phone Number and PIN of an account whose verification application has been denied once.
  3. You are prompted for GA code, enter any code. The server reponds with the following message `

{ "success" : true, "error" : null, "response" : { "kioskEnrollmentStatusType" : "DENIED" } }` and prompted with this message on the UI [see image resubmit.png] 4. You are prompted to take an image of your ID and your image. 5. These documents are then saved on the server side.

Thanks crab

Attachments

resubmit.png
resubmit.png From the original on HackerOne

The original report as published on HackerOne, by tmfelwu. 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 skipped server-side validation of the one-time code for accounts in the DENIED state, trusting the client to enforce it.

What the attacker needed

Victim's phone number and PIN; victim's verification was denied; attacker account with API credentials

How it was found

  1. Set up an account and configure the API key, secret and location ID.
  2. Start a send-money flow and enter the phone number and PIN of an account whose verification was denied.
  3. Enter any code at the GA prompt and the server returns success with a DENIED status.
  4. The interface then asks for a photo of an ID and a selfie.
  5. The submitted documents are stored on the server.

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.

Many accounts use a second code from an app on your phone (Google Authenticator, often called GA) as an extra check after your password. Here the server never actually checked that code for accounts whose identity check had been rejected, so any made-up number was accepted. That let someone who already had a user's phone number and PIN get past the extra check and upload identity documents as that user.

What is Account takeover?

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.

More by tmfelwu

View all

6 more disclosed reports, best first.

More from Enter

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Account takeover

The lesson behind this report.

Getting into someone else's account through a flaw in sign-in, password reset, second factor, single sign-on or session handling.