Ruby on Rails prior 0.5.0 redirect_to cross-site request forgery
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 4.1 | $0-$5k | 0.00 |
Summary
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.
Details
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.
Product
Type
Name
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 4.3VulDB Meta Temp Score: 4.1
VulDB Base Score: 4.3
VulDB Temp Score: 4.1
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Cross-site request forgeryCWE: 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-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
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 Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Upgrade: Ruby on Rails 0.5.0
Timeline
10/19/2008 🔍10/19/2008 🔍
10/20/2008 🔍
11/20/2008 🔍
11/21/2008 🔍
11/21/2008 🔍
11/22/2008 🔍
12/07/2008 🔍
07/21/2009 🔍
03/17/2015 🔍
05/25/2025 🔍
Sources
Advisory: lists.opensuse.orgStatus: 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
Entry
Created: 03/17/2015 16:11Updated: 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.
No comments yet. Languages: en.
Please log in to comment.