Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Rubyonrails | Rails | 0.9.1 |
| Rubyonrails | Ruby On Rails | 0.5.0 |
Related Weaknesses (CWE)
References
- http://dev.rubyonrails.org/changeset/8177
- http://dev.rubyonrails.org/ticket/10048Patch
- http://docs.info.apple.com/article.html?artnum=307179
- http://lists.apple.com/archives/security-announce/2007/Dec/msg00002.html
- http://secunia.com/advisories/27781Vendor Advisory
- http://secunia.com/advisories/28136Vendor Advisory
- http://weblog.rubyonrails.org/2007/11/24/ruby-on-rails-1-2-6-security-and-mainte
- http://www.securityfocus.com/bid/26598
- http://www.us-cert.gov/cas/techalerts/TA07-352A.htmlUS Government Resource
- http://www.vupen.com/english/advisories/2007/4009Vendor Advisory
- http://www.vupen.com/english/advisories/2007/4238Vendor Advisory
- http://dev.rubyonrails.org/changeset/8177
- http://dev.rubyonrails.org/ticket/10048Patch
- http://docs.info.apple.com/article.html?artnum=307179
- http://lists.apple.com/archives/security-announce/2007/Dec/msg00002.html
FAQ
What is CVE-2007-6077?
CVE-2007-6077 is a vulnerability with a CVSS score of 6.8 (MEDIUM). 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 ca...
How severe is CVE-2007-6077?
CVE-2007-6077 has been rated MEDIUM with a CVSS base score of 6.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2007-6077?
Check the references section above for vendor advisories and patch information. Affected products include: Rubyonrails Rails, Rubyonrails Ruby On Rails.