Spree: Broken Access Control in `PATCH /api/v3/store/carts/:id/associate` (IDOR)
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| spree | spree | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Spree | Spree |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-4825-p4xm-pcf2 | Spree: Broken Access Control in `PATCH /api/v3/store/carts/:id/associate` (IDOR) |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.384% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Spree
Spree spree |
|
| Vendors & Products |
Spree
Spree spree |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Spree is an open source e-commerce solution built with Ruby on Rails. From 5.4.0 until 5.4.4 and 5.5.4, PATCH /api/v3/store/carts/:id/associate in Spree::Api::V3::Store::CartsController#associate uses find_cart_for_association to locate a cart by prefixed_id but does not require a cart token or otherwise verify possession of the selected guest cart. An authenticated customer can derive reversible prefixed cart IDs, associate an eligible guest cart with the attacker's account, and receive billing and shipping address data from the cart. Exploitation requires a guest cart with address data on a store that does not require login for checkout, and reassignment can also disrupt the guest's in-progress cart. This issue is fixed in versions 5.4.4 and 5.5.4. | |
| Title | Spree: Broken Access Control in `PATCH /api/v3/store/carts/:id/associate` (IDOR) | |
| Weaknesses | CWE-639 | |
| References |
|
|
| Metrics |
cvssV3_1
|