Impact
The stripe/charge payment method did not check Stripe's Idempotent-Replayed response header when creating PaymentIntents. An attacker could replay a valid credential containing the same spt token against a new challenge, and the server would accept the replayed Stripe PaymentIntent as a new successful payment without actually charging the customer again. This allowed an attacker to pay once and consume unlimited resources by replaying the credential.
Patches
Fixed in 0.4.11. The server now checks the Idempotent-Replayed header and rejects replayed PaymentIntents.
Workarounds
There are no workarounds available for this vulnerability.
References
N/A
Impact
The
stripe/chargepayment method did not check Stripe'sIdempotent-Replayedresponse header when creating PaymentIntents. An attacker could replay a valid credential containing the samespttoken against a new challenge, and the server would accept the replayed Stripe PaymentIntent as a new successful payment without actually charging the customer again. This allowed an attacker to pay once and consume unlimited resources by replaying the credential.Patches
Fixed in 0.4.11. The server now checks the
Idempotent-Replayedheader and rejects replayed PaymentIntents.Workarounds
There are no workarounds available for this vulnerability.
References
N/A