Advisory

GHSA-p4c6-77gc-694x

Also known as: CVE-2007-6077

Summary

session fixation protection mechanism in cgi_process.rb in Rails

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2017-10-24 18:33 UTC
Modified
2025-04-09 15:55 UTC

Affected packages and fixes

rails

RubyGems · All systems

Affected

  • introduced 0, fixed 1.2.6 (ecosystem)

Fixed versions

1.2.6

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences