GHSA-7vvp-j573-5584
Shopware: Unauthenticated data extraction possible through store-api.order endpoint
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Packagist | shopware/core | >= 6.7.0.0, < 6.7.8.1 | 6.7.8.1 |
| Packagist | shopware/core | < 6.6.10.15 | 6.6.10.15 |
| Packagist | shopware/platform | >= 6.7.0.0, < 6.7.8.1 | 6.7.8.1 |
| Packagist | shopware/platform | < 6.6.10.15 | 6.6.10.15 |
Details
As written in the advisory (Markdown source, shown as plain text).
### Summary
An insufficient check on the filter types for unauthenticated customers allows access to orders of other customers. This is part of the `deepLinkCode` support on the `store-api.order` endpoint.
### Details
#### Data Exposure
Depending on the order payload configuration, attackers may retrieve:
- Customer names
- Billing address
- Shipping address
- Email addresses
- Ordered products
- Order values
- Order numbers
- Order dates
- Payment method information
- Shipping method information
- More customs, depending on the given associations in the request
#### Security Impact
This vulnerability allows:
- Unauthorized access to foreign customer order data
- Mass enumeration of recent orders
- Potential scraping of customer personal information
#### Limitation
No limitation, but only orders from the past 30 days are checked for changeable means of payment (unrelated).
### Impact
The code is present since ~2021. Likely every version since then is impacted for every store.
References
External links from the advisory. They lead to third-party sites.