MEDIUM
GHSA-p4c6-77gc-694x
session fixation protection mechanism in cgi_process.rb in Rails
Quick fix
GHSA-p4c6-77gc-694x — rails: upgrade to the fixed version with the command below.
bundle update railsDetails
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2007-6077[ADVISORY]
- https://github.com/advisories/GHSA-p4c6-77gc-694x[ADVISORY]
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rails/CVE-2007-6077.yml[WEB]
- https://rubyonrails.org/2007/11/24/ruby-on-rails-1-2-6-security-and-maintenance-release[WEB]
- http://dev.rubyonrails.org/changeset/8177[WEB]
- http://dev.rubyonrails.org/ticket/10048[WEB]
- http://docs.info.apple.com/article.html?artnum=307179[WEB]
- http://lists.apple.com/archives/security-announce/2007/Dec/msg00002.html[WEB]
- http://secunia.com/advisories/27781[WEB]
- http://secunia.com/advisories/28136[WEB]
- http://weblog.rubyonrails.org/2007/11/24/ruby-on-rails-1-2-6-security-and-maintenance-release[WEB]
- http://www.securityfocus.com/bid/26598[WEB]
- http://www.us-cert.gov/cas/techalerts/TA07-352A.html[WEB]
- http://www.vupen.com/english/advisories/2007/4009[WEB]
- http://www.vupen.com/english/advisories/2007/4238[WEB]