PT-2012-4187 · Ruby+1 · Ruby On Rails+1

Egor Homakov

+1

·

Published

2012-06-22

·

Updated

2019-08-08

·

CVE-2012-2694

CVSS v2.0

4.3

Medium

VectorAV:N/AC:M/Au:N/C:P/I:N/A:N
Name of the Vulnerable Software and Affected Versions Ruby on Rails versions 3.0.0 through 3.0.13 Ruby on Rails versions 3.1.0 through 3.1.5 Ruby on Rails versions 3.2.0 through 3.2.5
Description The issue arises from improper consideration of differences in parameter handling between the Active Record component and the Rack interface in Ruby on Rails. This allows remote attackers to bypass intended database-query restrictions and perform NULL checks via a crafted request. For example, certain values like ['xyz', nil] can be used to demonstrate this issue.
Recommendations For Ruby on Rails versions 3.0.0 through 3.0.13, update to version 3.0.14 or later. For Ruby on Rails versions 3.1.0 through 3.1.5, update to version 3.1.6 or later. For Ruby on Rails versions 3.2.0 through 3.2.5, update to version 3.2.6 or later.

Exploit

Fix

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2012-2694
GHSA-Q34C-48GC-M9G8
RHSA-2013:0582

Affected Products

Ruby On Rails
Suse