GHSA-87fh-rc96-6fr6: Unauthenticated Spree Commerce users can access all guest addresses
A critical IDOR vulnerability exists in Spree Commerce’s guest checkout flow that allows any guest user to bind arbitrary guest addresses to their order by manipulating address ID parameters. This enables unauthorized access to other guests’ personally identifiable information (PII) including names, addresses and phone numbers. The vulnerability bypasses existing ownership validation checks and affects all guest checkout transactions.
References
- github.com/advisories/GHSA-87fh-rc96-6fr6
- github.com/spree/spree
- github.com/spree/spree/blob/1341623f2ae92685cdbe232885bf5808fc8f9ca8/core/app/models/spree/order/address_book.rb
- github.com/spree/spree/blob/1341623f2ae92685cdbe232885bf5808fc8f9ca8/core/app/models/spree/order/checkout.rb
- github.com/spree/spree/blob/1341623f2ae92685cdbe232885bf5808fc8f9ca8/core/app/services/spree/checkout/update.rb
- github.com/spree/spree/blob/1341623f2ae92685cdbe232885bf5808fc8f9ca8/core/lib/spree/permitted_attributes.rb
- github.com/spree/spree/commit/15619618e43b367617ec8d2d4aafc5e54fa7b734
- github.com/spree/spree/commit/29282d1565ba4f7bc2bbc47d550e2c0c6d0ae59f
- github.com/spree/spree/commit/6650f96356faa0d16c05bcb516f1ffd5641741b8
- github.com/spree/spree/commit/902d301ac83fd2047db1b9a3a99545162860f748
- github.com/spree/spree/commit/ff7cfcfcfe0c40c60d03317e1d0ee361c6a6b054
- github.com/spree/spree/security/advisories/GHSA-87fh-rc96-6fr6
Code Behaviors & Features
Detect and mitigate GHSA-87fh-rc96-6fr6 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →