CVE-2007-6077

Rails 1.2.4 - Session Fixation via Incomplete Cookie Protection

Title source: llm
STIX 2.1

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.

References (11)

Core 11
Core References
Vendor Advisory vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2007/4238
US Government Resource third-party-advisory x_refsource_cert
http://www.us-cert.gov/cas/techalerts/TA07-352A.html
Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/28136
Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/27781
Various Sources x_refsource_confirm
http://dev.rubyonrails.org/changeset/8177
Mailing List vendor-advisory x_refsource_apple
http://lists.apple.com/archives/security-announce/2007/Dec/msg00002.html
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/26598
Vendor Advisory x_refsource_confirm
http://docs.info.apple.com/article.html?artnum=307179
Patch x_refsource_confirm
http://dev.rubyonrails.org/ticket/10048
Vendor Advisory vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2007/4009

Scores

EPSS 0.0326
EPSS Percentile 87.3%

Details

CWE
CWE-362
Status published
Products (2)
rubygems/rails 0 - 1.2.6RubyGems
rubyonrails/rails 1.2.4
Published Nov 21, 2007
Tracked Since Feb 18, 2026