GitHub Advisoryadvisory · RubyGems
GHSA-p4c6-77gc-694x session fixation protection mechanism in cgi_process.rb in Rails
MEDIUM
Official page ↗
- Aliases
- CVE-2007-6077
- Ecosystem
- RubyGems
- Packages
- rails
- Severity
- Moderate
- Weaknesses
- CWE-362
- Reviewed
- 2020-06-16
Affected packages
• RubyGems rails: < 1.2.6 → fixed in 1.2.6
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.
Related
Alias · CVE (1)
- CVE-2007-6077 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… vulnerability
Weakness · CWE (1)
- CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization weakness
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