CVE-2007-6077

CVE-2007-6077 is a medium-severity vulnerability in Rubyonrails Rails with a CVSS 2.0 base score of 6.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-362.

Key facts

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.

Frequently asked questions

What is 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 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.
How severe is CVE-2007-6077?
CVE-2007-6077 has a CVSS 2.0 base score of 6.8, rated medium severity.
Is CVE-2007-6077 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 3% (83rd percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2007-6077?
CVE-2007-6077 affects Rubyonrails Rails. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2007-6077?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
When was CVE-2007-6077 published?
CVE-2007-6077 was published on 2007-11-21 and last updated on 2026-06-16.

References

Affected products (1)

More vulnerabilities in Rubyonrails Rails

All CVEs affecting Rubyonrails Rails →

Other CWE-362 (Race Condition) vulnerabilities

Browse all CWE-362 (Race Condition) vulnerabilities →