{"id":"CVE-2007-6077","aliases":["DEBIAN-CVE-2007-6077","EUVD-2017-0277","GHSA-p4c6-77gc-694x"],"status":"published","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-5380.","severity":{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.02512,"percentile":0.84893,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-362"],"published":"2007-11-21T21:00:00Z","modified":"2026-10-21T17:47:34Z","fixes":[{"ecosystem":"RubyGems","package":"rails","fixed_in":["1.2.6"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"rails","fixed_in":["1.2.6-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"rails","fixed_in":["1.2.6-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"rails","fixed_in":["1.2.6-1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"RubyGems","package":"rails","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.6"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"rails","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.6-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"rails","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.6-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"rails","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.6-1"}]}]},{"source":"osv","ecosystem":"RubyGems","package":"rails","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.2.6"}]}],"versions":["0.10.0","0.10.1","0.11.0","0.11.1","0.12.0","0.12.1","0.13.0","0.13.1","0.14.1","0.14.2","0.14.3","0.14.4","0.8.0","0.8.5","0.9.0","0.9.1","0.9.2","0.9.3","0.9.4","0.9.4.1","0.9.5","1.0.0","1.1.0","1.1.1","1.1.2","1.1.3","1.1.4","1.1.5","1.1.6","1.2.0","1.2.1","1.2.2","1.2.3","1.2.4","1.2.5"]}],"products":[{"vendor":"rubyonrails","product":"rails"}],"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"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2007-6077","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2007-6077","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-5380.","status":"published","published":"2007-11-21T21:00:00Z","modified":"2024-08-07T15:54:26.389Z","updated_at":"2026-11-02T13:33:07.91528Z"}],"euvd":[{"id":"EUVD-2017-0277","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-5380.","status":"published","published":"2007-11-21T21:00:00Z","modified":"2024-08-07T15:54:26Z","updated_at":"2026-11-03T01:16:14.290993Z"}],"ghsa":[{"id":"GHSA-p4c6-77gc-694x","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-5380.","status":"published","published":"2017-10-24T18:33:38Z","modified":"2023-11-09T05:02:02Z","cwes":["CWE-362"],"updated_at":"2026-11-02T14:37:17.64478Z"}],"nvd":[{"id":"CVE-2007-6077","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-5380.","status":"published","published":"2007-11-21T21:46:00Z","modified":"2026-06-16T22:47:21.647Z","cvss":[{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-362"],"updated_at":"2026-11-02T14:01:23.208914Z"}],"osv":[{"id":"CVE-2007-6077","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-5380.","status":"published","published":"2007-11-21T21:46:00Z","modified":"2026-04-10T03:39:24.892636Z","updated_at":"2026-11-02T15:43:57.178433Z"},{"id":"DEBIAN-CVE-2007-6077","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-5380.","status":"published","published":"2007-11-21T21:46:00Z","modified":"2026-10-21T17:47:34.262535913Z","updated_at":"2026-11-02T15:45:23.411908Z"},{"id":"GHSA-p4c6-77gc-694x","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-5380.","status":"published","published":"2017-10-24T18:33:38Z","modified":"2025-04-09T15:55:51.425352Z","cwes":["CWE-362"],"updated_at":"2026-11-02T15:46:52.534897Z"}]}}
