{"id":"CVE-2013-1656","aliases":["EUVD-2017-0268","GHSA-jxx8-v83v-rhw3"],"status":"published","title":"Spree Improper Input Validation vulnerability","description":"Spree Commerce 1.0.x through 1.3.2 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.","severity":{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.01531,"percentile":0.74954,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-20"],"published":"2013-03-08T18:00:00Z","modified":"2026-06-16T23:51:51Z","fixes":[{"ecosystem":"RubyGems","package":"spree","fixed_in":["2.0.0.rc1"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"RubyGems","package":"spree","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.0"},{"fixed":"2.0.0.rc1"}]}]},{"source":"osv","ecosystem":"RubyGems","package":"spree","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.0.0"},{"fixed":"2.0.0.rc1"}]}],"versions":["1.0.0","1.0.1","1.0.2","1.0.3","1.0.4","1.0.6","1.0.7","1.1.0","1.1.0.rc1","1.1.0.rc2","1.1.1","1.1.2","1.1.2.rc1","1.1.3","1.1.4","1.1.5","1.1.6","1.2.0","1.2.0.rc1","1.2.0.rc2","1.2.2","1.2.3","1.2.4","1.2.5","1.3.0","1.3.0.rc1","1.3.0.rc2","1.3.1","1.3.2","1.3.3","1.3.4","1.3.5"]}],"products":[{"vendor":"spreecommerce","product":"spree"}],"references":[{"url":"http://blog.conviso.com.br/2013/03/spree-commerce-multiple-unsafe.html","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://spreecommerce.com/blog/multiple-security-vulnerabilities-fixed","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory"]},{"url":"https://www.conviso.com.br/advisories/CVE-2013-1656.txt","tags":["x_refsource_MISC","x_transferred","Exploit"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2013-1656","tags":["advisory"]},{"url":"https://web.archive.org/web/20130907044454/https://www.conviso.com.br/advisories/CVE-2013-1656.txt","tags":["web"]},{"url":"https://web.archive.org/web/20140329142330/http://spreecommerce.com/blog/multiple-security-vulnerabilities-fixed","tags":["web"]},{"url":"https://web.archive.org/web/20140618100330/http://blog.conviso.com.br/2013/03/spree-commerce-multiple-unsafe.html","tags":["web"]},{"url":"https://github.com/spree/spree/commit/70092eb55b8be8fe5d21a7658b62da658612fba7","tags":["web"]},{"url":"https://blog.convisoappsec.com/en/spree-commerce-multiple-unsafe-reflection-vulnerabilities-cve-2013-1656","tags":["web"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/spree/CVE-2013-1656.yml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-jxx8-v83v-rhw3"},{"url":"https://github.com/spree/spree","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2013-1656","description":"Spree Commerce 1.0.x through 1.3.2 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.","status":"published","published":"2013-03-08T18:00:00Z","modified":"2024-08-06T15:13:32.736Z","updated_at":"2026-11-02T14:34:58.882751Z"}],"euvd":[{"id":"EUVD-2017-0268","description":"Spree Commerce 1.0.x through 1.3.2 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.","status":"published","published":"2013-03-08T18:00:00Z","modified":"2024-08-06T15:13:32Z","updated_at":"2026-11-03T01:56:41.063727Z"}],"ghsa":[{"id":"GHSA-jxx8-v83v-rhw3","title":"Spree Improper Input Validation vulnerability","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.","status":"published","published":"2017-10-24T18:33:37Z","modified":"2023-11-05T05:05:40Z","cwes":["CWE-20"],"updated_at":"2026-11-02T14:37:13.301199Z"}],"nvd":[{"id":"CVE-2013-1656","description":"Spree Commerce 1.0.x through 1.3.2 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.","status":"published","published":"2013-03-08T18:55:01.637Z","modified":"2026-06-16T23:51:51.28Z","cvss":[{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:02:24.091325Z"}],"osv":[{"id":"GHSA-jxx8-v83v-rhw3","title":"Spree Improper Input Validation vulnerability","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.","status":"published","published":"2017-10-24T18:33:37Z","modified":"2024-12-05T05:39:10.762524Z","cwes":["CWE-20"],"updated_at":"2026-11-02T15:46:51.10002Z"}]}}
