GHSA-r2vg-hvjm-fg38 Shopware Customer Orders can be canceled, even if refunds are disabled
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- PHP
Description
Refunds in general can be enabled through the administration setting core.cart.enableOrderRefunds (in the cart panel).Which visually shows and hides the button. However, using a custom crafted request, a customer can still cancel his own orders.As this is not checked inside the route (and also not in the controller):
https://github.com/shopware/shopware/blob/trunk/src/Storefront/Controller/AccountOrderController.php#L98
https://github.com/shopware/shopware/blob/trunk/src/Core/Checkout/Order/SalesChannel/CancelOrderRoute.php
To mitigate this, a check should be added to the CancelOrderRoute which verifies that the feature is enabled.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| shopware/core(Packagist) | < 6.6.10.7; = 6.3.0.0; = 6.3.0.1; = 6.3.0.2 +162 more | 6.6.10.7, 6.7.3.1 | Fixed |
| shopware/platform(Packagist) | < 6.6.10.7; = 6.3.0.0; = 6.3.0.1; = 6.3.0.2 +162 more | 6.6.10.7, 6.7.3.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| shopware/platform(Packagist) | >= 6.7.0.0, < 6.7.3.1 | 6.7.3.1 |
| shopware/platform(Packagist) | = v6.7.0.0 | No fix listed |
| shopware/platform(Packagist) | = v6.7.0.1 | No fix listed |
| shopware/platform(Packagist) | = v6.7.1.0 | No fix listed |
| shopware/platform(Packagist) | = v6.7.1.1 | No fix listed |
| shopware/platform(Packagist) | = v6.7.1.2 | No fix listed |
| shopware/platform(Packagist) | = v6.7.2.0 | No fix listed |
| shopware/platform(Packagist) | = v6.7.2.1 | No fix listed |
| shopware/platform(Packagist) | = v6.7.2.2 | No fix listed |
| shopware/platform(Packagist) | = v6.7.3.0 | No fix listed |
| shopware/platform(Packagist) | < 6.6.10.7 | 6.6.10.7 |
| shopware/platform(Packagist) | = 6.3.0.0 | No fix listed |
| shopware/platform(Packagist) | = 6.3.0.1 | No fix listed |
| shopware/platform(Packagist) | = 6.3.0.2 | No fix listed |
| shopware/platform(Packagist) | = 6.3.1.0 | No fix listed |
| shopware/platform(Packagist) | = 6.3.1.1 | No fix listed |
| shopware/platform(Packagist) | = 6.3.2.0 | No fix listed |
| shopware/platform(Packagist) | = 6.3.2.1 | No fix listed |
| shopware/platform(Packagist) | = 6.3.3.0 | No fix listed |
| shopware/platform(Packagist) | = 6.3.3.1 | No fix listed |
| shopware/platform(Packagist) | = 6.3.4.0 | No fix listed |
| shopware/platform(Packagist) | = 6.3.4.1 | No fix listed |
| shopware/platform(Packagist) | = 6.3.5.0 | No fix listed |
| shopware/platform(Packagist) | = 6.3.5.1 | No fix listed |
| shopware/platform(Packagist) | = 6.3.5.2 | No fix listed |
Show 175 more
| Product | Affected versions | Fixed in |
|---|---|---|
| shopware/platform(Packagist) | = 6.3.5.3 | No fix listed |
| shopware/platform(Packagist) | = 6.3.5.4 | No fix listed |
| shopware/platform(Packagist) | = 6.4.0.0 | No fix listed |
| shopware/platform(Packagist) | = 6.4.0.0-RC1 | No fix listed |
| shopware/platform(Packagist) | = 6.4.1.0 | No fix listed |
| shopware/platform(Packagist) | = 6.4.1.1 | No fix listed |
| shopware/platform(Packagist) | = 6.4.1.2 | No fix listed |
| shopware/platform(Packagist) | = 6.4.10.0 | No fix listed |
| shopware/platform(Packagist) | = 6.4.10.1 | No fix listed |
| shopware/platform(Packagist) | = 6.4.11.0 | No fix listed |
| shopware/platform(Packagist) | = 6.4.11.1 | No fix listed |
| shopware/platform(Packagist) | = 6.4.12.0 | No fix listed |
| shopware/platform(Packagist) | = 6.4.13.0 | No fix listed |
| shopware/platform(Packagist) | = 6.4.14.0 | No fix listed |
| shopware/platform(Packagist) | = 6.4.15.0 | No fix listed |
| shopware/platform(Packagist) | = 6.4.15.1 | No fix listed |
| shopware/platform(Packagist) | = 6.4.15.2 | No fix listed |
| shopware/platform(Packagist) | = 6.4.16.0 | No fix listed |
| shopware/platform(Packagist) | = 6.4.16.1 | No fix listed |
| shopware/platform(Packagist) | = 6.4.17.0 | No fix listed |
| shopware/platform(Packagist) | = 6.4.17.1 | No fix listed |
| shopware/platform(Packagist) | = 6.4.17.2 | No fix listed |
| shopware/platform(Packagist) | = 6.4.18.0 | No fix listed |
| shopware/platform(Packagist) | = 6.4.18.1 | No fix listed |
| shopware/platform(Packagist) | = 6.4.19.0 | No fix listed |
| shopware/platform(Packagist) | = 6.4.2.0 | No fix listed |
| shopware/platform(Packagist) | = 6.4.2.1 | No fix listed |
| shopware/platform(Packagist) | = 6.4.20.0 | No fix listed |
| shopware/platform(Packagist) | = 6.4.20.1 | No fix listed |
| shopware/platform(Packagist) | = 6.4.20.2 | No fix listed |
| shopware/platform(Packagist) | = 6.4.3.0 | No fix listed |
| shopware/platform(Packagist) | = 6.4.3.1 | No fix listed |
| shopware/platform(Packagist) | = 6.4.4.0 | No fix listed |
| shopware/platform(Packagist) | = 6.4.4.1 | No fix listed |
| shopware/platform(Packagist) | = 6.4.5.0 | No fix listed |
| shopware/platform(Packagist) | = 6.4.5.1 | No fix listed |
| shopware/platform(Packagist) | = 6.4.6.0 | No fix listed |
| shopware/platform(Packagist) | = 6.4.6.1 | No fix listed |
| shopware/platform(Packagist) | = 6.4.7.0 | No fix listed |
| shopware/platform(Packagist) | = 6.4.8.0 | No fix listed |
| shopware/platform(Packagist) | = 6.4.8.1 | No fix listed |
| shopware/platform(Packagist) | = 6.4.8.2 | No fix listed |
| shopware/platform(Packagist) | = 6.4.9.0 | No fix listed |
| shopware/platform(Packagist) | = 6.5.0.0 | No fix listed |
| shopware/platform(Packagist) | = 6.5.0.0-rc1 | No fix listed |
| shopware/platform(Packagist) | = 6.5.0.0-rc2 | No fix listed |
| shopware/platform(Packagist) | = 6.5.0.0-rc3 | No fix listed |
| shopware/platform(Packagist) | = 6.5.0.0-rc4 | No fix listed |
| shopware/platform(Packagist) | = v6.0.0+ea2 | No fix listed |
| shopware/platform(Packagist) | = v6.1.0 | No fix listed |
| shopware/platform(Packagist) | = v6.1.0-rc1 | No fix listed |
| shopware/platform(Packagist) | = v6.1.0-rc2 | No fix listed |
| shopware/platform(Packagist) | = v6.1.0-rc3 | No fix listed |
| shopware/platform(Packagist) | = v6.1.0-rc4 | No fix listed |
| shopware/platform(Packagist) | = v6.1.1 | No fix listed |
| shopware/platform(Packagist) | = v6.1.2 | No fix listed |
| shopware/platform(Packagist) | = v6.1.3 | No fix listed |
| shopware/platform(Packagist) | = v6.1.4 | No fix listed |
| shopware/platform(Packagist) | = v6.1.5 | No fix listed |
| shopware/platform(Packagist) | = v6.1.6 | No fix listed |
| shopware/platform(Packagist) | = v6.2.0 | No fix listed |
| shopware/platform(Packagist) | = v6.2.0-RC1 | No fix listed |
| shopware/platform(Packagist) | = v6.2.1 | No fix listed |
| shopware/platform(Packagist) | = v6.2.2 | No fix listed |
| shopware/platform(Packagist) | = v6.2.3 | No fix listed |
| shopware/platform(Packagist) | = v6.5.1.0 | No fix listed |
| shopware/platform(Packagist) | = v6.5.1.1 | No fix listed |
| shopware/platform(Packagist) | = v6.5.2.0 | No fix listed |
| shopware/platform(Packagist) | = v6.5.2.1 | No fix listed |
| shopware/platform(Packagist) | = v6.5.3.0 | No fix listed |
| shopware/platform(Packagist) | = v6.5.3.1 | No fix listed |
| shopware/platform(Packagist) | = v6.5.3.2 | No fix listed |
| shopware/platform(Packagist) | = v6.5.3.3 | No fix listed |
| shopware/platform(Packagist) | = v6.5.4.0 | No fix listed |
| shopware/platform(Packagist) | = v6.5.4.1 | No fix listed |
| shopware/platform(Packagist) | = v6.5.5.0 | No fix listed |
| shopware/platform(Packagist) | = v6.5.5.1 | No fix listed |
| shopware/platform(Packagist) | = v6.5.5.2 | No fix listed |
| shopware/platform(Packagist) | = v6.5.6.0 | No fix listed |
| shopware/platform(Packagist) | = v6.5.6.1 | No fix listed |
| shopware/platform(Packagist) | = v6.5.7.0 | No fix listed |
| shopware/platform(Packagist) | = v6.5.7.1 | No fix listed |
| shopware/platform(Packagist) | = v6.5.7.2 | No fix listed |
| shopware/platform(Packagist) | = v6.5.7.3 | No fix listed |
| shopware/platform(Packagist) | = v6.5.7.4 | No fix listed |
| shopware/platform(Packagist) | = v6.5.8.0 | No fix listed |
| shopware/platform(Packagist) | = v6.5.8.1 | No fix listed |
| shopware/platform(Packagist) | = v6.5.8.10 | No fix listed |
| shopware/platform(Packagist) | = v6.5.8.11 | No fix listed |
| shopware/platform(Packagist) | = v6.5.8.12 | No fix listed |
| shopware/platform(Packagist) | = v6.5.8.13 | No fix listed |
| shopware/platform(Packagist) | = v6.5.8.14 | No fix listed |
| shopware/platform(Packagist) | = v6.5.8.15 | No fix listed |
| shopware/platform(Packagist) | = v6.5.8.16 | No fix listed |
| shopware/platform(Packagist) | = v6.5.8.17 | No fix listed |
| shopware/platform(Packagist) | = v6.5.8.18 | No fix listed |
| shopware/platform(Packagist) | = v6.5.8.19 | No fix listed |
| shopware/platform(Packagist) | = v6.5.8.2 | No fix listed |
| shopware/platform(Packagist) | = v6.5.8.3 | No fix listed |
| shopware/platform(Packagist) | = v6.5.8.4 | No fix listed |
| shopware/platform(Packagist) | = v6.5.8.5 | No fix listed |
| shopware/platform(Packagist) | = v6.5.8.6 | No fix listed |
| shopware/platform(Packagist) | = v6.5.8.7 | No fix listed |
| shopware/platform(Packagist) | = v6.5.8.8 | No fix listed |
| shopware/platform(Packagist) | = v6.5.8.9 | No fix listed |
| shopware/platform(Packagist) | = v6.6.0.0 | No fix listed |
| shopware/platform(Packagist) | = v6.6.0.0-rc1 | No fix listed |
| shopware/platform(Packagist) | = v6.6.0.0-rc2 | No fix listed |
| shopware/platform(Packagist) | = v6.6.0.0-rc3 | No fix listed |
| shopware/platform(Packagist) | = v6.6.0.0-rc4 | No fix listed |
| shopware/platform(Packagist) | = v6.6.0.0-rc5 | No fix listed |
| shopware/platform(Packagist) | = v6.6.0.0-rc6 | No fix listed |
| shopware/platform(Packagist) | = v6.6.0.0-rc7 | No fix listed |
| shopware/platform(Packagist) | = v6.6.0.1 | No fix listed |
| shopware/platform(Packagist) | = v6.6.0.2 | No fix listed |
| shopware/platform(Packagist) | = v6.6.0.3 | No fix listed |
| shopware/platform(Packagist) | = v6.6.1.0 | No fix listed |
| shopware/platform(Packagist) | = v6.6.1.1 | No fix listed |
| shopware/platform(Packagist) | = v6.6.1.2 | No fix listed |
| shopware/platform(Packagist) | = v6.6.10.0 | No fix listed |
| shopware/platform(Packagist) | = v6.6.10.1 | No fix listed |
| shopware/platform(Packagist) | = v6.6.10.2 | No fix listed |
| shopware/platform(Packagist) | = v6.6.10.3 | No fix listed |
| shopware/platform(Packagist) | = v6.6.10.4 | No fix listed |
| shopware/platform(Packagist) | = v6.6.10.5 | No fix listed |
| shopware/platform(Packagist) | = v6.6.10.6 | No fix listed |
| shopware/platform(Packagist) | = v6.6.2.0 | No fix listed |
| shopware/platform(Packagist) | = v6.6.3.0 | No fix listed |
| shopware/platform(Packagist) | = v6.6.3.1 | No fix listed |
| shopware/platform(Packagist) | = v6.6.4.0 | No fix listed |
| shopware/platform(Packagist) | = v6.6.4.1 | No fix listed |
| shopware/platform(Packagist) | = v6.6.5.0 | No fix listed |
| shopware/platform(Packagist) | = v6.6.5.1 | No fix listed |
| shopware/platform(Packagist) | = v6.6.6.0 | No fix listed |
| shopware/platform(Packagist) | = v6.6.6.1 | No fix listed |
| shopware/platform(Packagist) | = v6.6.7.0 | No fix listed |
| shopware/platform(Packagist) | = v6.6.7.1 | No fix listed |
| shopware/platform(Packagist) | = v6.6.8.0 | No fix listed |
| shopware/platform(Packagist) | = v6.6.8.1 | No fix listed |
| shopware/platform(Packagist) | = v6.6.8.2 | No fix listed |
| shopware/platform(Packagist) | = v6.6.9.0 | No fix listed |
| shopware/core(Packagist) | >= 6.7.0.0, < 6.7.3.1 | 6.7.3.1 |
| shopware/core(Packagist) | = v6.7.0.0 | No fix listed |
| shopware/core(Packagist) | = v6.7.0.1 | No fix listed |
| shopware/core(Packagist) | = v6.7.1.0 | No fix listed |
| shopware/core(Packagist) | = v6.7.1.1 | No fix listed |
| shopware/core(Packagist) | = v6.7.1.2 | No fix listed |
| shopware/core(Packagist) | = v6.7.2.0 | No fix listed |
| shopware/core(Packagist) | = v6.7.2.1 | No fix listed |
| shopware/core(Packagist) | = v6.7.2.2 | No fix listed |
| shopware/core(Packagist) | = v6.7.3.0 | No fix listed |
| shopware/core(Packagist) | < 6.6.10.7 | 6.6.10.7 |
| shopware/core(Packagist) | = 6.3.0.0 | No fix listed |
| shopware/core(Packagist) | = 6.3.0.1 | No fix listed |
| shopware/core(Packagist) | = 6.3.0.2 | No fix listed |
| shopware/core(Packagist) | = 6.3.1.0 | No fix listed |
| shopware/core(Packagist) | = 6.3.1.1 | No fix listed |
| shopware/core(Packagist) | = 6.3.2.0 | No fix listed |
| shopware/core(Packagist) | = 6.3.2.1 | No fix listed |
| shopware/core(Packagist) | = 6.3.3.0 | No fix listed |
| shopware/core(Packagist) | = 6.3.3.1 | No fix listed |
| shopware/core(Packagist) | = 6.3.4.0 | No fix listed |
| shopware/core(Packagist) | = 6.3.4.1 | No fix listed |
| shopware/core(Packagist) | = 6.3.5.0 | No fix listed |
| shopware/core(Packagist) | = 6.3.5.1 | No fix listed |
| shopware/core(Packagist) | = 6.3.5.2 | No fix listed |
| shopware/core(Packagist) | = 6.3.5.3 | No fix listed |
| shopware/core(Packagist) | = 6.3.5.4 | No fix listed |
| shopware/core(Packagist) | = 6.4.0.0 | No fix listed |
| shopware/core(Packagist) | = 6.4.0.0-RC1 | No fix listed |
| shopware/core(Packagist) | = 6.4.1.0 | No fix listed |
| shopware/core(Packagist) | = 6.4.1.1 | No fix listed |
| shopware/core(Packagist) | = 6.4.1.2 | No fix listed |
| shopware/core(Packagist) | = 6.4.10.0 | No fix listed |
| shopware/core(Packagist) | = 6.4.10.1 | No fix listed |
References
- github.com vendor-advisory
- github.com patch
- github.com product
- github.com