Session Fixation Affecting rails package, versions <1.2.6


0.0
medium

Snyk CVSS

    Attack Complexity Low
    User Interaction Required

    Threat Intelligence

    EPSS 2.07% (89th percentile)
Expand this section
NVD
6.3 medium

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-RUBY-RAILS-455952
  • published 31 Jul 2019
  • disclosed 21 Nov 2007
  • credit Unknown

How to fix?

Upgrade rails to version 1.2.6 or higher.

Overview

rails is an opensource MVC web framework.

Affected versions of this package are vulnerable to Session Fixation. The session fixation protection mechanism in cgi_process.rb in 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.