Ruby on Rails ':offset' And ':limit' Parameters SQL Injection Vulnerabilities

BID:31176

Info

Ruby on Rails ':offset' And ':limit' Parameters SQL Injection Vulnerabilities

Bugtraq ID: 31176
Class: Input Validation Error
CVE: CVE-2008-4094
Remote: Yes
Local: No
Published: Jun 01 2008 12:00AM
Updated: Apr 13 2015 09:13PM
Credit: Tobias Schlottke
Vulnerable: SuSE SUSE Linux Enterprise Server 10
S.u.S.E. openSUSE 11.0
S.u.S.E. openSUSE 10.3
S.u.S.E. openSUSE 10.2
Ruby on Rails Ruby on Rails 2.1
Ruby on Rails Ruby on Rails 1.2.6
Ruby on Rails Ruby on Rails 1.2.5
Ruby on Rails Ruby on Rails 1.2.3
Ruby on Rails Ruby on Rails 1.1.6
Ruby on Rails Ruby on Rails 1.1.5
Ruby on Rails Ruby on Rails 1.1.4
Ruby on Rails Ruby on Rails 1.1.3
Ruby on Rails Ruby on Rails 1.1.2
Ruby on Rails Ruby on Rails 1.1.1
rPath rPath Linux 2
rPath rPath Linux 1
rPath Appliance Platform Linux Service 2
rPath Appliance Platform Linux Service 1
Gentoo Linux
Not Vulnerable: Ruby on Rails Ruby on Rails 2.1.1

Discussion

Ruby on Rails ':offset' And ':limit' Parameters SQL Injection Vulnerabilities

Ruby on Rails is prone to multiple SQL-injection vulnerabilities because the application fails to properly sanitize user-supplied input before using it in SQL queries.

A successful exploit could allow an attacker to compromise the application, access or modify data, or exploit vulnerabilities in the underlying database.

Versions prior to Ruby on Rails 2.1.1 are affected.

Exploit / POC

Ruby on Rails ':offset' And ':limit' Parameters SQL Injection Vulnerabilities

Attackers can exploit the issues via a browser.

Solution / Fix

Ruby on Rails ':offset' And ':limit' Parameters SQL Injection Vulnerabilities

Solution:
Updates are available. Please see the references for more information.

References

Ruby on Rails ':offset' And ':limit' Parameters SQL Injection Vulnerabilities

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report