6.8med

CVE-2007-6077

session fixation protection mechanism in cgi_process.rb in Rails

Also known as GHSA-p4c6-77gc-694x

Published 18 y ago · modified 4 mo ago · JSON

CVSS
6.8
v2.0 · NVD
CISA KEV
No
not known exploited
EPSS
2.5%
percentile 85%
Public exploits
0
none known

Summary

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.

Exploit prediction (EPSS)

2.51% probability of exploitation in the next 30 days, higher than 85% of all scored CVEs.

CVSS scores

Assigned byVersionScoreVector
NVD2.06.8AV:N/AC:M/Au:N/C:P/I:P/A:P

Affected packages

EcosystemPackageAffectedFixed in
rubygemsrails
<1.2.6
1.2.6

Classification

Weakness
  • CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization
Technology feeds
Ruby on Rails (RSS, critical only)

References

  • vupen.com /english/advisories/2007/4238 · vdb-entry, x_refsource_VUPEN, x_transferred
  • us-cert.gov /cas/techalerts/TA07-352A.html · third-party-advisory, x_refsource_CERT, x_transferred
  • secunia.com /advisories/28136 · third-party-advisory, x_refsource_SECUNIA, x_transferred
  • secunia.com /advisories/27781 · third-party-advisory, x_refsource_SECUNIA, x_transferred
  • dev.rubyonrails.org /changeset/8177 · x_refsource_CONFIRM, x_transferred
  • lists.apple.com /archives/security-announce/2007/Dec/msg00002.html · vendor-advisory, x_refsource_APPLE, x_transferred
  • securityfocus.com /bid/26598 · vdb-entry, x_refsource_BID, x_transferred
  • docs.info.apple.com /article.html?artnum=307179 · x_refsource_CONFIRM, x_transferred
  • dev.rubyonrails.org /ticket/10048 · x_refsource_CONFIRM, x_transferred
  • vupen.com /english/advisories/2007/4009 · vdb-entry, x_refsource_VUPEN, x_transferred
  • weblog.rubyonrails.org /2007/11/24/ruby-on-rails-1-2-6-security-and-maintenance-release · x_refsource_CONFIRM, x_transferred
  • nvd.nist.gov /vuln/detail/CVE-2007-6077 · advisory
  • github.com /advisories/GHSA-p4c6-77gc-694x · advisory
  • github.com /rubysec/ruby-advisory-db/blob/master/gems/rails/CVE-2007-6077.yml · web
  • rubyonrails.org /2007/11/24/ruby-on-rails-1-2-6-security-and-maintenance-release · web

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.