5.0med

CVE-2008-7310

Spree does not properly restrict the use of a hash to provide values for a model's attributes

Also known as GHSA-7h48-m3rw-vr27

Published 14 y ago · modified 4 mo ago · JSON

CVSS
5.0
v2.0 · NVD
CISA KEV
No
not known exploited
EPSS
1.2%
percentile 69%
Public exploits
0
none known

Summary

Spree 0.2.0 does not properly restrict the use of a hash to provide values for a model's attributes, which allows remote attackers to set the Order state value and bypass the intended payment step via a modified URL, related to a "mass assignment" vulnerability.

Exploit prediction (EPSS)

1.23% probability of exploitation in the next 30 days, higher than 69% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
NVD2.05.0AV:N/AC:L/Au:N/C:N/I:P/A:N

Affected packages

EcosystemPackageAffectedFixed in
rubygemsspree
<0.4.0
0.4.0

Classification

Weakness
  • CWE-255 Credentials Management Errors

References

  • spreecommerce.com /blog/2008/09/16/security-vulnerability-mass-assignment-of-order-params/ · x_refsource_CONFIRM, x_transferred
  • railspikes.com /2008/9/22/is-your-rails-application-safe-from-mass-assignment · x_refsource_MISC, x_transferred
  • nvd.nist.gov /vuln/detail/CVE-2008-7310 · advisory
  • github.com /rubysec/ruby-advisory-db/blob/master/gems/spree/CVE-2008-7310.yml · web
  • github.com /spree/spree · package
  • spreecommerce.com /blog/security-vulnerability-mass-assignment · web
  • web.archive.org /web/20080925003904/http://railspikes.com/2008/9/22/is-your-rails-application-safe-from-ma · web
  • web.archive.org /web/20101128024717/http://spreecommerce.com/blog/2008/09/16/security-vulnerability-mass-a · web
  • spreecommerce.com /blog/2008/09/16/security-vulnerability-mass-assignment-of-order-params · web

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.