{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2007-6077","id":"CVE-2007-6077","title":"session fixation protection mechanism in cgi_process.rb in Rails","description":"The session fixation protection mechanism in cgi_process.rb in Rails 1.2.4, as used in Ruby on Rails, removes the :cookie_only attribute from the DEFAULT_SESSION_OPTIONS constant, which effectively causes cookie_only to be applied only to the first instantiation of CgiRequest, which allows remote attackers to conduct session fixation attacks.  NOTE: this is due to an incomplete fix for CVE-2007-53","descriptionLong":"The session fixation protection mechanism in cgi_process.rb in Rails 1.2.4, as used in Ruby on Rails, removes the :cookie_only attribute from the DEFAULT_SESSION_OPTIONS constant, which effectively causes cookie_only to be applied only to the first instantiation of CgiRequest, which allows remote attackers to conduct session fixation attacks.  NOTE: this is due to an incomplete fix for CVE-2007-5380.","published":"2007-11-21T21:00:00.000Z","updated":"2026-06-16T22:47:21.647Z","reserved":"2007-11-21T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","rating":"medium","source":"NVD"},"metrics":[{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","rating":"medium","source":"NVD"}],"rating":"medium","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"RubyGems","name":"rails","purl":"pkg:gem/rails","ranges":["<1.2.6"],"fixed":["1.2.6"],"advisory":"GHSA-p4c6-77gc-694x"}],"cwes":["CWE-362"],"aliases":["GHSA-p4c6-77gc-694x"],"references":[{"url":"http://www.vupen.com/english/advisories/2007/4238","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","Vendor Advisory","advisory","web"]},{"url":"http://www.us-cert.gov/cas/techalerts/TA07-352A.html","tags":["third-party-advisory","x_refsource_CERT","x_transferred","US Government Resource","web"]},{"url":"http://secunia.com/advisories/28136","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory","web"]},{"url":"http://secunia.com/advisories/27781","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory","advisory","web"]},{"url":"http://dev.rubyonrails.org/changeset/8177","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://lists.apple.com/archives/security-announce/2007/Dec/msg00002.html","tags":["vendor-advisory","x_refsource_APPLE","x_transferred","web"]},{"url":"http://www.securityfocus.com/bid/26598","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"http://docs.info.apple.com/article.html?artnum=307179","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://dev.rubyonrails.org/ticket/10048","tags":["x_refsource_CONFIRM","x_transferred","Patch","fix","web"]},{"url":"http://www.vupen.com/english/advisories/2007/4009","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","Vendor Advisory","advisory","web"]},{"url":"http://weblog.rubyonrails.org/2007/11/24/ruby-on-rails-1-2-6-security-and-maintenance-release","tags":["x_refsource_CONFIRM","x_transferred","article","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-6077","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-p4c6-77gc-694x","tags":["advisory"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rails/CVE-2007-6077.yml","tags":["web"]},{"url":"https://rubyonrails.org/2007/11/24/ruby-on-rails-1-2-6-security-and-maintenance-release","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.02512,"epssPercentile":0.85107,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2007-6077","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2007-6077","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2007-6077","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-p4c6-77gc-694x","ok":true,"note":"GHSA-p4c6-77gc-694x"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2007-6077","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":["ruby"],"critical":[],"attention":null}