ghsa-g466-57gh-cqfw
Vulnerability from github
Published
2022-05-17 05:30
Modified
2023-01-27 00:09
Summary
Spree uses a hardcoded hash value
Details

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.

Show details on source website


{
  "affected": [
    {
      "package": {
        "ecosystem": "RubyGems",
        "name": "spree"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0.4.0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2008-7311"
  ],
  "database_specific": {
    "cwe_ids": [],
    "github_reviewed": true,
    "github_reviewed_at": "2023-01-27T00:09:31Z",
    "nvd_published_at": "2012-04-05T13:25:00Z",
    "severity": "MODERATE"
  },
  "details": "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.",
  "id": "GHSA-g466-57gh-cqfw",
  "modified": "2023-01-27T00:09:31Z",
  "published": "2022-05-17T05:30:58Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2008-7311"
    },
    {
      "type": "WEB",
      "url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/spree/CVE-2008-7311.yml"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/spree/spree"
    },
    {
      "type": "WEB",
      "url": "https://spreecommerce.com/blog/security-vulernability-session-cookie-store"
    },
    {
      "type": "WEB",
      "url": "https://web.archive.org/web/20090306033106/http://support.spreehq.org/issues/show/63"
    },
    {
      "type": "WEB",
      "url": "https://web.archive.org/web/20100309050152/http://rubygems.org/gems/spree/versions"
    },
    {
      "type": "WEB",
      "url": "https://web.archive.org/web/20101128024939/http://spreecommerce.com/blog/2008/08/12/security-vulernability-session-cookie-store"
    },
    {
      "type": "WEB",
      "url": "http://spreecommerce.com/blog/2008/08/12/security-vulernability-session-cookie-store"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [],
  "summary": "Spree uses a hardcoded hash value"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…