Japan - CSRF in webapp.starbucks.co.jp with user interaction could leak an access token if the user was not using Chrome
A cross-site request forgery flaw in a Starbucks web application allowed an attacker to leak an authenticated user's access token when the victim opened a crafted HTML file in a browser other than Chrome. The researcher also showed that a second crafted file could add a Starbucks card to the account, with the potential for account takeover at the login service.
- Triaged in 22 days
- Fixed in 46 days
- Paid in 30 days
- Disclosed after 3 months
Summary by the program
elber discovered a CSRF in webapp.starbucks.co.jp leaked an access token if an authenticated user opened a crafted HTML file in a browser other than Chrome which has Same Site Attribute for the cookie set by default.
elber also demonstrated the ability to add a Starbucks card to the account with the potential for a single account takeover at login.starbucks.co.jp, if the attacker could trick the user into executing another crafted HTML file.
elber — thank you for reporting this vulnerability and for confirming the resolution.
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 accepted state-changing cross-site requests without a CSRF token or origin check, and relied on a cookie SameSite default that only Chrome enforced at the time.
Impact
An attacker could leak an access token and potentially take over a single account at the login service, but only if the victim used a non-Chrome browser and was tricked into opening crafted files.
What the attacker needed
Victim is logged in; victim uses a browser other than Chrome; victim opens a crafted HTML file
The fix
The report says the issue was resolved, though the text does not describe the fix itself.
How it was found
- The attacker prepares a crafted HTML file.
- An authenticated user opens the file in a browser other than Chrome.
- The access token is leaked to the attacker.
- A second crafted HTML file can add a Starbucks card to the 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.
Chrome was safer because it sets the SameSite cookie attribute by default, which limited this cross-site request.
What is CSRF?
Another site makes a signed-in user's browser perform an action they did not intend.