CVE-2013-1656
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 1.5% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 1.5% in the next 30 days (EPSS).
- Severity: 4.3 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 1.5% · EPSS, next 30 days
- Weakness
- CWE-20 · Improper input validation
- Record status
- Modified
Affected
- Spreecommerce Spree ≤ 1.3.2
- Spreecommerce Spree 1.0.0
- Spreecommerce Spree 1.0.1
- Spreecommerce Spree 1.0.2
- Spreecommerce Spree 1.0.3
- Spreecommerce Spree 1.0.4
- Spreecommerce Spree 1.0.5
- Spreecommerce Spree 1.0.6
Attack profile CVSS 2.0 · 4.3
- Attack vector
- Network
- Complexity
- Medium
- Authentication
- None
- Confidentiality
- None
- Integrity
- Partial
- Availability
- None
Raw vector
AV:N/AC:M/Au:N/C:N/I:P/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2013-1656.md and follow it. Check whether this project is affected by CVE-2013-1656. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://spreecommerce.com/blog/multiple-security-vulnerabilities-fixed
- http://spreecommerce.com/blog/multiple-security-vulnerabilities-fixed
References
- http://blog.conviso.com.br/2013/03/spree-commerce-multiple-unsafe.html
- http://spreecommerce.com/blog/multiple-security-vulnerabilities-fixed
- https://www.conviso.com.br/advisories/CVE-2013-1656.txt
- http://blog.conviso.com.br/2013/03/spree-commerce-multiple-unsafe.html
- http://spreecommerce.com/blog/multiple-security-vulnerabilities-fixed
- https://www.conviso.com.br/advisories/CVE-2013-1656.txt