CVE-2007-6077
MEDIUM 6.8CVSS 2.0session fixation protection mechanism in cgi_process.rb in Rails
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.
- Published
- 21 Nov 2007
- Last modified
- 16 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-362
- Also known as
- GHSA-p4c6-77gc-694x
- Sources
- NVDJSONOSV GHSA-p4c6-77gc-694xJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | rubyonrails | railscpe:2.3:a:rubyonrails:rails:1.2.4:*:*:*:*:*:*:* |
= 1.2.4 | |
| OSV | RubyGems | rails | < 1.2.6 | 1.2.6 |
References
- http://dev.rubyonrails.org/changeset/8177 · WEB
- http://dev.rubyonrails.org/ticket/10048 · Patch, 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 · Vendor Advisory, WEB
- http://secunia.com/advisories/28136 · Vendor Advisory, 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 · US Government Resource, WEB
- http://www.vupen.com/english/advisories/2007/4009 · Vendor Advisory, WEB
- http://www.vupen.com/english/advisories/2007/4238 · Vendor Advisory, WEB
- 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
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 24 Oct 2017)
- 25 Nov 2026 20:14 UTC · NVD: first stored (published 21 Nov 2007)