Session Fixation Affecting rails package, versions <1.2.6


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
5.5% (94th percentile)

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 Learn

Learn about Session Fixation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUBY-RAILS-455952
  • published31 Jul 2019
  • disclosed21 Nov 2007
  • creditUnknown

Introduced: 21 Nov 2007

CVE-2007-6077  (opens in a new tab)
CWE-362  (opens in a new tab)

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.

CVSS Scores

version 3.1