5.0med
CVE-2008-7311
Spree uses a hardcoded hash value
Also known as GHSA-g466-57gh-cqfw
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
The session cookie store implementation in Spree 0.2.0 uses a hardcoded config.action_controller_session hash value (aka secret key), which makes it easier for remote attackers to bypass cryptographic protection mechanisms by leveraging an application that contains this value within the config/environment.rb file.
Exploit prediction (EPSS)
1.23% probability of exploitation in the next 30 days, higher than 69% of all scored CVEs.
CVSS scores
| Assigned by | Version | Score | Vector |
|---|---|---|---|
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| rubygems | spree | <0.4.0 | 0.4.0 |
Classification
- Weakness
- CWE-255 Credentials Management Errors
References
- support.spreehq.org /issues/show/63 · x_refsource_CONFIRM, x_transferred
- spreecommerce.com /blog/2008/08/12/security-vulernability-session-cookie-store/ · x_refsource_CONFIRM, x_transferred
- nvd.nist.gov /vuln/detail/CVE-2008-7311 · advisory
- github.com /rubysec/ruby-advisory-db/blob/master/gems/spree/CVE-2008-7311.yml · web
- github.com /spree/spree · package
- spreecommerce.com /blog/security-vulernability-session-cookie-store · web
- web.archive.org /web/20090306033106/http://support.spreehq.org/issues/show/63 · web
- web.archive.org /web/20100309050152/http://rubygems.org/gems/spree/versions · web
- web.archive.org /web/20101128024939/http://spreecommerce.com/blog/2008/08/12/security-vulernability-sessio · web
- spreecommerce.com /blog/2008/08/12/security-vulernability-session-cookie-store · web
Sources
- CVE List: CVE-2008-7311
- GitHub Advisory: GHSA-g466-57gh-cqfw
- NVD: CVE-2008-7311
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.