Able to reset other user's password in https://card.starbucks.com.sg/
The password reset flow trusted an email address supplied by the client, so an attacker could swap in a victim's email and reset that victim's password. This gave full access to the victim's Starbucks account and stored card value.
- Triaged in 35 days
- Fixed in 5 months
- Disclosed after 5 months
Description In the website https://card.starbucks.com.sg/ there is a password reset function (https://card.starbucks.com.sg/forgetPassword.php) that sends the password reset link to the user's email. By using a web proxy to monitor the request, the email address can be changed to allow the attacker to reset a victim(another email) password, thus allowing him to gain full access to the victim's starbucks account and starbucks card.
Summary The attacker request a password reset and obtains the password reset link in his email. By using a web proxy, he can use the password reset token and modify the his own email to a victim's email and the password reset will be used for the victim instead of the attacker.
Steps to Reproduce 1)Attacker visits https://card.starbucks.com.sg/forgetPassword.php and enters his account's email 2)The link is sent to the attacks email's inbox and he clicks on the link while having a proxy monitor the request(burp) 3)The attacker then modifies the email to put the victim's email in these 2 requests as shown in the image below F263235 & F263234 4)Upon submitting the request, the password will be changed and the victim's password will be changed to the desired password
Impact
This attack does not require the victim to perform any actions and yet the account can be taken over by the attacker and this leaks the victim's personal information and starbucks card which can be used to purchase items. The attacker can also capture the session id.
Attachments


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 reset endpoint accepted the account email from the client-side request rather than binding the reset token to the account it was issued for.
Impact
The attacker could take over the victim's account without any action from the victim, exposing personal information and the stored Starbucks card balance, and could also capture the session id.
What the attacker needed
Attacker has their own account email; attacker can intercept their own traffic; no victim action needed
How it was found
- The attacker requests a password reset for their own account email.
- The reset link arrives in the attacker's inbox and is opened with a proxy intercepting the traffic.
- The attacker replaces the email in the two captured requests with the victim's email.
- Submitting the requests changes the victim's password to one the attacker chooses.
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 forget a password, a site emails you a special link that lets you set a new one. Here the site also let the browser tell it which account the link belonged to, instead of remembering that itself. So an attacker could take their own valid link and point it at someone else's account, changing that person's password without them doing anything.
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.