Payment gateway status transferred to Shopify without authentication
A third-party payment gateway did not securely report transaction status to Shopify, allowing an attacker to modify the transaction status shown to merchants in the admin area. The correct status remained visible only in the gateway's own dashboard.
Originally disclosed on HackerOne
- Triaged in 10 hours
- Fixed in 17 months
- Paid in 12 hours
- Disclosed after 17 months
Summary by the program
Note: This issue was originally reported to our self-hosted bug bounty program, and was transferred to HackerOne.
One of the third-party payment gateways that can be used with Shopify did not offer a secure means of reporting transaction status to Shopify. As a result, it was possible for an attacker to modify the transaction status displayed to the merchant in the shop's admin area. (The correct transaction status was still visible in the payment gateway's dashboard page.)
We deprecated the gateway while working with the gateway operator to implement a secure means of transferring transaction status. Unfortunately, the gateway operator was not able to resolve the issue to our satisfaction, and so we have asked the small number of customers still using this gateway to switch to another gateway as soon as possible, and modified our application to display a warning on all orders processed through this gateway that transaction status must be verified on the gateway's dashboard page.
Summary by the researcher
I am Ebay Hall Of Fame...
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 payment gateway sent transaction status updates to Shopify without authentication, so anyone could forge them.
Impact
An attacker could change the payment status shown to merchants, potentially making unpaid orders appear paid, though the true status remained visible on the gateway's dashboard.
What the attacker needed
Use of the affected third-party payment gateway
The fix
Shopify deprecated the gateway and later asked affected customers to switch to another gateway, adding a warning on orders processed through it.
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 buy something online, the payment gateway tells the shop whether the payment succeeded. Here, that message could be faked, so a criminal could make an unpaid order look paid in the shop's admin screen. The real payment status was still correct on the payment company's own website.
What is Business logic?
The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.