Description
Spree 0.11.x before 0.11.2 and 0.30.x before 0.30.0 exchanges data using JavaScript Object Notation (JSON) without a mechanism for validating requests, which allows remote attackers to obtain sensitive information via vectors involving (1) admin/products.json, (2) admin/users.json, or (3) admin/overview/get_report_data, related to a "JSON hijacking" issue.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| RubyGems | spree | >= 0.11.0, < 0.11.2 | 0.11.2 | GHSA-hwrx-wc75-mgh7 |
| RubyGems | spree | >= 0.30.0.beta1, < 0.30.0 | 0.30.0 | GHSA-hwrx-wc75-mgh7 |
References
- http://www.conviso.com.br/json-hijacking-vulnerability/
- http://spreecommerce.com/blog/2010/11/02/json-hijacking-vulnerability/
- https://github.com/railsdog/spree/commit/19944bd999c310d9b10d16a41f48ebac97dc4fac
- http://spreecommerce.com/blog/2010/11/09/spree-0-30-0-released/
- https://github.com/railsdog/spree/commit/d881b2bb610ea33e2364ff16feb8e702dfeda135
- http://www.conviso.com.br/security-advisory-spree-e-commerce-json-v-0-11x/
- http://twitter.com/conviso/statuses/29555076248
- 20101108 Spree e-commerce JSON Hijacking Vulnerabilities - CVE-2010-3978 mailing-list