Ruby on Rails < 2.0.5 Multiple Vulnerabilities

medium Nessus Network Monitor Plugin ID 4764

Synopsis

The remote host is vulnerable to multiple attack vectors.

Description

The remote server is running the Ruby on Rails web application.
This version of Rails is reported to be vulnerable to a flaw in the way that it handles user-supplied input to the 'redirect_to()' function in the 'ActionController::Base' class. An attacker exploiting this flaw would be able to inject arbitrary HTTP headers that could lead to cross-site request forgery (CSRF), cross-site scripting (XSS) and other attacks.

Solution

Upgrade to version 2.0.5 or higher.

See Also

http://weblog.rubyonrails.org/2008/10/19/rails-2-0-5-redirect_to-and-offset-limit-sanitizing

Plugin Details

Severity: Medium

ID: 4764

Family: Web Servers

Published: 11/21/2008

Updated: 3/6/2019

Risk Information

VPR

Risk Factor: Low

Score: 2.7

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.6

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P

CVSS v3

Risk Factor: Medium

Base Score: 5.6

Temporal Score: 5.2

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L

Temporal Vector: CVSS:3.0/E:F/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:rubyonrails:ruby_on_rails

Reference Information

CVE: CVE-2008-5189

BID: 32359