GitHub Advisoryadvisory · RubyGems
GHSA-jxx8-v83v-rhw3 Spree Improper Input Validation vulnerability
MEDIUM
Official page ↗
- Aliases
- CVE-2013-1656
- Ecosystem
- RubyGems
- Packages
- spree
- Severity
- Moderate
- Weaknesses
- CWE-20
- Reviewed
- 2020-06-16
Affected packages
• RubyGems spree: >= 1.0.0, < 2.0.0.rc1 → fixed in 2.0.0.rc1
Description
Spree Commerce 1.0.x before 2.0.0.rc1 allows remote authenticated administrators to instantiate arbitrary Ruby objects and execute arbitrary commands via the (1) `payment_method` parameter to `core/app/controllers/spree/admin/payment_methods_controller.rb`; and the (2) `promotion_action parameter` to `promotion_actions_controller.rb`, (3) `promotion_rule parameter` to `promotion_rules_controller.rb`, and (4) `calculator_type` parameter to `promotions_controller.rb` in `promo/app/controllers/spree/admin/`, related to unsafe use of the constantize function.
Related
Alias · CVE (1)
- CVE-2013-1656 Spree Commerce 1.0.x through 1.3.2 allows remote authenticated administrators to instantiate arbitrary Ruby objects and execute arbitrary… vulnerability
Weakness · CWE (1)
- CWE-20 Improper Input Validation weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2013-1656 advisory
- https://github.com/spree/spree/commit/70092eb55b8be8fe5d21a7658b62da658612fba7 web
- https://blog.convisoappsec.com/en/spree-commerce-multiple-unsafe-reflection-vulnerabilities-cve-2013-1656 web
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/spree/CVE-2013-1656.yml web
- https://github.com/spree/spree package
- https://web.archive.org/web/20130907044454/https://www.conviso.com.br/advisories/CVE-2013-1656.txt web
- https://web.archive.org/web/20140329142330/http://spreecommerce.com/blog/multiple-security-vulnerabilities-fixed web
- https://web.archive.org/web/20140618100330/http://blog.conviso.com.br/2013/03/spree-commerce-multiple-unsafe.html web