Skip to content
Business logic Disclosed report Intermediate

Improper handling of payment callback allows topping up a Swiss Starbucks Card bypassing actual payment via a crafted success message

The payment callback for topping up a Swiss Starbucks Card did not properly verify that a payment had actually been made, so an attacker could forge a success message and add balance without paying. This allowed free credit on a virtual card.

khovansky Follow

Originally disclosed on HackerOne

High 8.5 View original
  • Triaged in 18 days
  • Fixed in 2 months
  • Disclosed after 3 months

Summary by the program

khovansky uncovered that an attacker could register on https://xtras.starbucks.ch and utilizing that registration, subsequently generate a reset password email via https://card.starbucks.ch

After resetting the password for the account, khovansky noticed this process auto generates a virtual Swiss Starbucks card. khovansky could then top up this virtual card without completing a transaction by forging a "payment successful" callback.

@khovansky — thank you for reporting this vulnerability and your assistance confirming the resolution.

The original report as published on HackerOne, by khovansky. 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 application trusted a client-supplied payment success callback without verifying its authenticity or the actual payment status.

Impact

An attacker could add balance to a virtual Starbucks card without paying, obtaining free credit.

What the attacker needed

Ability to register on the site; ability to forge a callback message

How it was found

  1. Register on the Swiss Starbucks Xtras site.
  2. Use the card site to request a password reset email.
  3. Reset the password, which automatically creates a virtual Swiss Starbucks card.
  4. Forge a 'payment successful' callback to top up the card without a real transaction.

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 pay online, the shop waits for a message saying the payment worked. Here, someone could send a fake 'payment successful' message and get free credit on a Starbucks card.

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 Starbucks

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.