Home    |    View Topics    |    Search    |    Contact Us    |   



Category:   Application (Generic)  >   Rails Vendors:
Ruby on Rails Input Validation Flaw in ':limit' and ':offset' Parameters Lets Remote Users Inject SQL Commands
SecurityTracker Alert ID:  1020871
SecurityTracker URL:
CVE Reference:   CVE-2008-4094   (Links to External Site)
Updated:  Aug 20 2009
Original Entry Date:  Sep 15 2008
Impact:   Disclosure of system information, Disclosure of user information, User access via network
Fix Available:  Yes  Vendor Confirmed:  Yes  
Version(s): prior to 2.1.1
Description:   A vulnerability was reported in Rails. A remote user can inject SQL commands.

The software does not properly validate user-supplied input in the ':limit' and ':offset' parameters. If an application uses unfiltered user-supplied input in making calls with those parameters, a remote user can supply a specially crafted parameter value to execute SQL commands on the underlying database.

The original advisory is available at:

Jonathan Weiss reported this vulnerability.

Impact:   A remote user can execute SQL commands on the underlying database.
Solution:   The vendor has issued a fix (2.1.1), available at:

Patches for 1.2 and 2.0 are available at:

Vendor URL: (Links to External Site)
Cause:   Input validation error
Underlying OS:  Linux (Any), UNIX (Any), Windows (Any)

Message History:   None.

 Source Message Contents

[Original Message Not Available for Viewing]

Go to the Top of This SecurityTracker Archive Page

Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2021, LLC