CVE-2007-5380 Session fixation vulnerability in Rails

Medium 6.8 Published Updated

Remote attackers can hijack web sessions in Ruby on Rails applications via URL-based session fixation, requiring user interaction to exploit.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2007-5380?

CVE-2007-5380 is a medium-severity authentication bypass vulnerability in n/a, published on 19 Oct 2007. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Session fixation vulnerability in Rails before 1.2.4, as used for Ruby on Rails, allows remote attackers to hijack web sessions via unspecified vectors related to "URL-based sessions."

Which versions are affected by CVE-2007-5380?

2 open source packages ship an affected version, including rails. It affects 1 product.

PackageAffectedFixed in
rails RubyGemsAll versions1.2.4
rails RubyGemsAll versions1.2.4

Products include David Hansson Ruby on Rails.

How do I fix CVE-2007-5380?

Upgrade rails to 1.2.4 or later.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2007-5380 being exploited?

There is no known exploitation of CVE-2007-5380 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2007-5380, GHSA-jwhv-rgqc-fqj5.

Is CVE-2007-5380 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free