CVE-2007-6077 json
session fixation protection mechanism in cgi_process.rb in Rails
published 2007-11-21 18 y ago modified 2026-06-16 4 mo ago also GHSA-p4c6-77gc-694x , EUVD-2017-0277
- cvss
- 6.8
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.5%
- EPSS 2.5% chance of exploitation in 30 days, percentile 84%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- rubygems rails 1.2.6
- rails Debian 14, Debian 13, Debian 12 1.2.6-1
debian advisories DEBIAN-CVE-2007-6077
Exploit prediction
2.51% chance of exploitation in the next 30 days, higher than 84% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | rails | <1.2.6 |
1.2.6 |
Classification
- Weakness
-
- CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization
- Technology feeds
References
-
dev.rubyonrails.org
/ticket/10048
web, patch
-
lists.apple.com
/archives/security-announce/2007/Dec/msg00002.html
vendor-advisory, web
-
vupen.com
/english/advisories/2007/4238
vdb-entry, web, vendor-advisory
-
secunia.com
/advisories/28136
third-party-advisory, web, vendor-advisory
-
secunia.com
/advisories/27781
third-party-advisory, web, vendor-advisory
-
vupen.com
/english/advisories/2007/4009
vdb-entry, web, vendor-advisory
-
us-cert.gov
/cas/techalerts/TA07-352A.html
third-party-advisory, web, us-government-resource
-
dev.rubyonrails.org
/changeset/8177
web
-
securityfocus.com
/bid/26598
vdb-entry, web
-
docs.info.apple.com
/article.html?artnum=307179
web
-
weblog.rubyonrails.org
/2007/11/24/ruby-on-rails-1-2-6-security-and-maintenance-release
web
-
nvd.nist.gov
/vuln/detail/CVE-2007-6077
advisory
-
github.com
/advisories/GHSA-p4c6-77gc-694x
advisory
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/rails/CVE-2007-6077.yml
web
-
rubyonrails.org
/2007/11/24/ruby-on-rails-1-2-6-security-and-maintenance-release
web
Sources
- CVE List CVE-2007-6077
- GitHub Advisory GHSA-p4c6-77gc-694x
- NVD CVE-2007-6077
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.