Account take over of 'light' starbuckscardb2b users
Accounts on the Starbucks card B2B site that had been created but never used to add a payment method or complete a checkout could be taken over. An attacker could register a new account using the victim's email address with a different password, and the victim's password would be replaced with the attacker's.
- Triaged in 5 hours
- Fixed in 13 days
- Disclosed after 26 days
Summary by the program
zude discovered that 'light' accounts on https://www.starbuckscardb2b.com could be taken over by registering a new account with the same email address. 'Light' accounts were defined as those that had been created but not used to add a payment method or complete a checkout.
@zude — thank you for reporting this vulnerability and confirming the resolution.
The report
This issue was found on https://www.starbuckscardb2b.com, this website belongs to starbucks and its is a critical vulnerability so I am reporting this.
Issue: An attacker can takeover the account of the victim by creating a new account by using victim's (who is already registered) email address.
Steps to reproduce are as follows:
- Open https://www.starbuckscardb2b.com and go to create account.
- for example user successfully created the account with
[email protected]and password12345678 - Now attacker will create the account with the email used in step 2
[email protected]with different password. - After completion of step 3 the password for the
[email protected]user will be set to the password used by attacker. - This will result in the account take over by attacker.
Impact
An attacker can take over the control of any/all registered users.
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 registration flow did not reject an email address that already belonged to an existing account and overwrote that account's password instead.
Impact
An attacker could take over registered accounts, but the report limits this to 'light' accounts that had not added a payment method or completed a checkout.
What the attacker needed
Victim has a 'light' account; attacker knows the victim's email; no interaction from the victim
The fix
The report says the issue was resolved; the text does not describe the fix.
How it was found
- Open the site and go to the create account page.
- A user registers an account with an email address and password.
- The attacker registers a new account using the same email address but a different password.
- The existing account's password is replaced with the attacker's password.
- The attacker now controls the victim's account.
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 sign up for a website, it normally checks whether your email is already in use and refuses to create a second account. Here it did not, and instead of rejecting the duplicate sign-up it quietly changed the existing account's password to the one the new sign-up chose. That means anyone who knows your email address could take over your account by signing up again with it.
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.