{"id":"GHSA-p4c6-77gc-694x","summary":"session fixation protection mechanism in cgi_process.rb in Rails","details":"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.","aliases":["CVE-2007-6077"],"modified":"2025-04-09T15:55:51.425352Z","published":"2017-10-24T18:33:38Z","database_specific":{"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2020-06-16T21:47:57Z","nvd_published_at":"2007-11-21T21:46:00Z","cwe_ids":["CWE-362"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2007-6077"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-p4c6-77gc-694x"},{"type":"WEB","url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rails/CVE-2007-6077.yml"},{"type":"WEB","url":"https://rubyonrails.org/2007/11/24/ruby-on-rails-1-2-6-security-and-maintenance-release"},{"type":"WEB","url":"http://dev.rubyonrails.org/changeset/8177"},{"type":"WEB","url":"http://dev.rubyonrails.org/ticket/10048"},{"type":"WEB","url":"http://docs.info.apple.com/article.html?artnum=307179"},{"type":"WEB","url":"http://lists.apple.com/archives/security-announce/2007/Dec/msg00002.html"},{"type":"WEB","url":"http://secunia.com/advisories/27781"},{"type":"WEB","url":"http://secunia.com/advisories/28136"},{"type":"WEB","url":"http://weblog.rubyonrails.org/2007/11/24/ruby-on-rails-1-2-6-security-and-maintenance-release"},{"type":"WEB","url":"http://www.securityfocus.com/bid/26598"},{"type":"WEB","url":"http://www.us-cert.gov/cas/techalerts/TA07-352A.html"},{"type":"WEB","url":"http://www.vupen.com/english/advisories/2007/4009"},{"type":"WEB","url":"http://www.vupen.com/english/advisories/2007/4238"}],"affected":[{"package":{"name":"rails","ecosystem":"RubyGems","purl":"pkg:gem/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"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2017/10/GHSA-p4c6-77gc-694x/GHSA-p4c6-77gc-694x.json"}}],"schema_version":"1.9.0"}