PT-2012-4165 · Ruby+1 · Ruby On Rails+1
Ben Murphy
·
Published
2012-06-22
·
Updated
2019-08-08
·
CVE-2012-2660
CVSS v2.0
6.4
Medium
| Vector | AV:N/AC:L/Au:N/C:P/I:P/A:N |
Name of the Vulnerable Software and Affected Versions
Ruby on Rails versions prior to 2.3.16
Ruby on Rails versions 3.0.x through 3.0.12
Ruby on Rails versions 3.1.x through 3.1.4
Ruby on Rails versions 3.2.x through 3.2.3
Description
The issue allows remote attackers to bypass intended database-query restrictions and perform NULL checks via a crafted request. This is due to improper consideration of differences in parameter handling between the Active Record component and the Rack interface. The vulnerability can be exploited by sending certain "[nil]" values in a request.
Recommendations
For Ruby on Rails versions prior to 2.3.16, update to version 2.3.16 or later.
For Ruby on Rails versions 3.0.x through 3.0.12, update to version 3.0.13 or later.
For Ruby on Rails versions 3.1.x through 3.1.4, update to version 3.1.5 or later.
For Ruby on Rails versions 3.2.x through 3.2.3, update to version 3.2.4 or later.
Exploit
Fix
Improper Access Control
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Ruby On Rails
Suse