Live threats

All CVEs / Rubyonrails

CVE-2007-6077Rubyonrails Rails

Medium 6.8 No auth needed

Priority
56
CVSS 2.0
6.8
EPSS
2.5%
probability of exploitation in 30 days · percentile 86
Auth required
No
Published
Nov 21, 2007
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-362
Vector
AV:N/AC:M/Au:N/C:P/I:P/A:P

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Rails.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
RubyGems rails < 1.2.6 1.2.6 gem "rails", ">= 1.2.6"

Per OSV / GitHub Advisories (GHSA-p4c6-77gc-694x). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
rubyonrailsrails1.2.4

Official sources

References

Links published by the sources. Open them with care.