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

File Name: 4679.prm

Family: Web Servers

Published: 2008/09/16

Modified: 2016/01/15

Dependencies: 1442, 4246

Risk Information

Risk Factor: High

CVSSv2

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

CVSSv3

Base Score: 7.3

Temporal Score: 6.8

Vector: CVSS3#AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

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

Reference Information

CVE: CVE-2008-4094

BID: 31176

OSVDB: 48150