Shopware: Unauthorized Payment Trigger for Foreign Orders via /store-api/handle-payment
shopware · shopware platform
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| shopware/platform Packagist |
|
|
| shopware/core Packagist |
|
shopware · shopware platform
| Product | Affected | Fixed in |
|---|---|---|
| shopware/platform Packagist |
|
|
| shopware/core Packagist |
|
|
Shopware is an open commerce platform. Prior to 6.6.10.18 and 6.7.10.1, the Store API endpoint /store-api/handle-payment in src/Core/Checkout/Payment/SalesChannel/HandlePaymentMethodRoute.php accepts a user-controlled orderId and forwards it to src/Core/Checkout/Payment/PaymentProcessor.php without verifying order ownership or guest-order authentication, allowing a normal customer or guest context to trigger the payment flow for another user's order while /store-api/order enforces the expected ownership model. This issue is fixed in versions 6.6.10.18 and 6.7.10.1.
From the CVE record · GitHub_M
The Shopware Store API payment endpoint accepts a user-supplied order ID without checking order ownership or guest-order authentication. A customer or guest can use it to trigger the payment flow for another user's order.
Operators using Packagist shopware/platform or shopware/core versions before 6.6.10.18 or from 6.7.0.0 through 6.7.10.0 should check their installations.