Ruby on Rails prior 0.5.0 redirect_to cross-site request forgery

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
4.1$0-$5k0.00

Summaryinfo

A vulnerability has been found in Ruby on Rails and classified as problematic. The affected element is the function redirect_to. This manipulation causes cross-site request forgery. The identification of this vulnerability is CVE-2008-5189. It is possible to initiate the attack remotely. There is no exploit available. The affected component should be upgraded.

Detailsinfo

A vulnerability has been found in Ruby on Rails (Programming Language Software) and classified as problematic. Affected by this vulnerability is the function redirect_to. The manipulation with an unknown input leads to a cross-site request forgery vulnerability. The CWE definition for the vulnerability is CWE-352. The web application does not, or can not, sufficiently verify whether a well-formed, valid, consistent request was intentionally provided by the user who submitted the request. As an impact it is known to affect integrity. The summary by CVE is:

CRLF injection vulnerability in Ruby on Rails before 2.0.5 allows remote attackers to inject arbitrary HTTP headers and conduct HTTP response splitting attacks via a crafted URL to the redirect_to function.

The bug was discovered 10/20/2008. The weakness was shared 11/21/2008 (Website). It is possible to read the advisory at lists.opensuse.org. This vulnerability is known as CVE-2008-5189 since 11/20/2008. The exploitation appears to be easy. The attack can be launched remotely. The exploitation doesn't need any form of authentication. It demands that the victim is doing some kind of user interaction. Technical details of the vulnerability are known, but there is no available exploit.

The vulnerability was handled as a non-public zero-day exploit for at least 32 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 40123 (openSUSE Security Update : rubygem-actionpack (rubygem-actionpack-327)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family SuSE Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 116259 (Fedora Update for rubygem-actionpack (FEDORA-2009-2179)).

Upgrading to version 0.5.0 eliminates this vulnerability. A possible mitigation has been published 1 days after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (46737), Tenable (40123), SecurityFocus (BID 32359†), OSVDB (50017†) and Vulnerability Center (SBV-20132†). Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Productinfo

Type

Name

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 4.3
VulDB Meta Temp Score: 4.1

VulDB Base Score: 4.3
VulDB Temp Score: 4.1
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Cross-site request forgery
CWE: CWE-352 / CWE-862 / CWE-863
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 40123
Nessus Name: openSUSE Security Update : rubygem-actionpack (rubygem-actionpack-327)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Nessus Port: 🔍

OpenVAS ID: 66496
OpenVAS Name: Fedora Core 10 FEDORA-2009-12966 (rubygem-actionpack)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Upgrade: Ruby on Rails 0.5.0

Timelineinfo

10/19/2008 🔍
10/19/2008 +0 days 🔍
10/20/2008 +1 days 🔍
11/20/2008 +31 days 🔍
11/21/2008 +1 days 🔍
11/21/2008 +0 days 🔍
11/22/2008 +1 days 🔍
12/07/2008 +15 days 🔍
07/21/2009 +226 days 🔍
03/17/2015 +2065 days 🔍
05/25/2025 +3722 days 🔍

Sourcesinfo

Advisory: lists.opensuse.org
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2008-5189 (🔍)
GCVE (CVE): GCVE-0-2008-5189
GCVE (VulDB): GCVE-100-45139
X-Force: 46737
SecurityFocus: 32359 - Ruby on Rails 'redirect_to()' HTTP Header Injection Vulnerability
OSVDB: 50017 - CVE-2008-5189 - Ruby On Rails - HTTP Header Injection Issue
Vulnerability Center: 20132 - Ruby on Rails < 2.0.5 CRLF Injection Vulnerability, Medium

Entryinfo

Created: 03/17/2015 16:11
Updated: 05/25/2025 05:00
Changes: 03/17/2015 16:11 (74), 08/21/2019 12:22 (4), 05/25/2025 05:00 (20)
Complete: 🔍
Cache ID: 216::103

Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you want to use VulDB in your project?

Use the official API to access entries easily!