Ruby on Rails < 2.1.1 Active Record Multiple Parameter SQL Injection

high Nessus Network Monitor Plugin ID 4679

Synopsis

The remote host is vulnerable to a SQL injection attack.

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 ':offset' and ':limit' parameters. An attacker exploiting these flaws would only require the ability to send malformed requests to the application. Successful exploitation would result in the attacker executing arbitrary SQL commands on the database used by Ruby on Rails.

Solution

Upgrade to version 2.1.1 or higher.

See Also

http://weblog.rubyonrails.org/2008/9/5/rails-2-1-1-lots-of-bug-fixes

Plugin Details

Severity: High

ID: 4679

Family: Web Servers

Published: 9/16/2008

Updated: 3/6/2019

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.2

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

CVSS v3

Risk Factor: High

Base Score: 7.3

Temporal Score: 6.8

Vector: CVSS:3.0/AV:N/AC:L/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-4094

BID: 31176