Skip to content
Business logic Disclosed report Intermediate

Balance Manipulation - BUG

When a user transfers funds from their main wallet to a vault, the balance is not locked while the transfer is pending, so the user can still send the same funds to other wallets. Approving the vault transfer afterwards drives the balance negative, allowing balance manipulation.

datokaa Follow

Originally disclosed on HackerOne

  • Disclosed after 4 months

Hello once again,

I have discovered another balance manipulation bug. This time it is much more simpler, but basically has the same outcome.

EXPLANATION: When you create basic standard Vault and transfer money from your Main Wallet to the vault the balance doesn't "lock up", which means that even when the transfer is pending to the vault you are still freely able to transfer the balance to other btc wallets from your main wallet. Once you approve the transfer to Vault your balance would go into Negative resulting in balance manipulation.

If you have any more questions/concerns feel free to ask.

Thanks,

████████.

The original report as published on HackerOne, by datokaa. 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 pending vault transfer did not reserve or deduct the funds from the main wallet balance, so the same balance could be spent elsewhere before the transfer settled.

Impact

A user could move the same funds twice and end up with a negative balance.

What the attacker needed

A wallet account with a balance; ability to create a vault

How it was found

  1. Create a standard vault.
  2. Start a transfer from the main wallet to the vault.
  3. While the transfer is pending, send the same balance from the main wallet to other bitcoin wallets.
  4. Approve the vault transfer and observe the balance going negative.

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 vault is a separate savings pot inside the wallet app. The app should hold the money as soon as you ask to move it into the vault, but it did not, so you could spend the same money twice. When the vault transfer finally completed, the account went below zero.

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 from Coinbase

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.