spree_api is vulnerable to Insecure Direct Object Reference (IDOR)
71
CVE Score
High
Insecure Direct Object Reference (IDOR)
The Store API v3 cart associate endpoint in spree_api binds a guest cart to the authenticated caller without verifying possession of that cart. It locates the cart by a reversible prefixed identifier and skips the authorize! cart-token check that its sibling actions enforce. An authenticated low-privilege customer can enumerate guest cart identifiers, take over arbitrary guest carts, and read the checkout addresses stored on them. The fix requires a valid cart token header and returns a 403 when it is missing or does not match the cart.
Upgrade the spree_api library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and your store is not running in login-required mode.
5.4.0 - 5.4.3
Fixed in 5.4.45.5.0 - 5.5.3
Fixed in 5.5.4spree_api is vulnerable to Insecure Direct Object Reference (IDOR) in versions 5.4.0 - 5.4.3 and 5.5.0 - 5.5.3.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.