GHSA-p4c6-77gc-694x

    Dashboard / Vulnerabilities / GHSA-p4c6-77gc-694x

    GHSA-p4c6-77gc-694x

    Published: 24 Oct 2017Last Modified: 9 Apr 2025
    Aliases:

    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.

    Affected packages

    Package

    Name: rails

    Purl: pkg:gem/rails

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -1.2.6

    Affected versions

    0.10.0
    0.10.1

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High