Ruby on Rails < 2.1.1 Active Record Multiple Parameter SQL Injection

High Nessus Network Monitor Plugin ID 4679


The remote host is vulnerable to a SQL injection attack.


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.


Upgrade to version 2.1.1 or higher.

See Also

Plugin Details

Severity: High

ID: 4679

File Name: 4679.prm

Family: Web Servers

Published: 2008/09/16

Modified: 2016/01/15

Dependencies: 1442, 4246

Risk Information

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

Temporal Vector: CVSS2#E:F/RL:OF/RC:C


Base Score: 7.3

Temporal Score: 6.8


Temporal Vector: CVSS3#E:F/RL:O/RC:C

Reference Information

CVE: CVE-2008-4094

BID: 31176

OSVDB: 48150