Spree is a complete open source e-commerce solution built with Ruby on Rails. In Spree from version 3.7 and before versions 3.7.13, 4.0.5, and 4.1.12, there is an authorization bypass vulnerability. The perpetrator could query the API v2 Order Status endpoint with an empty string passed as an Order token. This is patched in versions 3.7.11, 4.0.4, or 4.1.11 depending on your used Spree version. Users of Spree < 3.7 are not affected.
The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.
Link | Tags |
---|---|
https://github.com/spree/spree/security/advisories/GHSA-m2jr-hmc3-qmpr | third party advisory |
https://github.com/spree/spree/pull/10573 | exploit third party advisory patch |
https://guides.spreecommerce.org/api/v2/storefront#tag/Order-Status | vendor advisory |