Skip to content
Account takeover Write-up Intermediate

Razer mobile PIN verification bypass $1k Bug

The Razer Pay Android app relied on a client-side response parameter to decide whether a payment PIN was correct, so an attacker could change the wrong-PIN response to a success value and bypass the PIN. This allowed stealing the account balance and changing the account phone number.

Sourav Sahana Follow

Published on web.archive.org

Bounty$1,000 View original

{{media:0}}

Sourav Sahana, on web.archive.org

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

Likely the app made its PIN-verification decision based on a client-side response field rather than enforcing the check on the server.

Impact

An attacker could bypass the payment PIN to steal the account balance and to change the account phone number.

What the attacker needed

A Razer Pay account; ability to intercept app traffic

How it was found

  1. Enter a wrong PIN in the Razer Pay app and capture the response.
  2. Observe the return_code parameter indicating the PIN is wrong.
  3. Capture other successful responses to learn a success return_code value.
  4. Replace the wrong-PIN return_code with the success return_code.
  5. The PIN protection is bypassed.

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.

A payment PIN is a secret number you type to approve money transfers. The app was trusting a value in the server's reply to decide if the PIN was right, and that value could be edited by the person using the app. By changing the 'wrong PIN' value to a 'correct PIN' value, the attacker made the app think the PIN was accepted.

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 Sourav Sahana

View all

4 more disclosed reports, best first.

More from Razer

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.