PT-2013-1960 · Ruby · Ruby On Rails

Aaron Patterson

+1

·

Published

2013-01-04

·

Updated

2019-08-08

·

CVE-2012-6496

CVSS v2.0

7.5

High

VectorAV:N/AC:L/Au:N/C:P/I:P/A:P
Name of the Vulnerable Software and Affected Versions Ruby on Rails versions prior to 2.3.15 Ruby on Rails versions 3.0.x through 3.0.17 Ruby on Rails versions 3.1.x through 3.1.8 Ruby on Rails versions 3.2.x through 3.2.9
Description The issue allows remote attackers to execute arbitrary SQL commands via a crafted request, leveraging incorrect behavior of dynamic finders in applications that can use unexpected data types in certain find by method calls.
Recommendations For Ruby on Rails versions prior to 2.3.15, update to version 2.3.15 or later. For Ruby on Rails versions 3.0.x through 3.0.17, update to version 3.0.18 or later. For Ruby on Rails versions 3.1.x through 3.1.8, update to version 3.1.9 or later. For Ruby on Rails versions 3.2.x through 3.2.9, update to version 3.2.10 or later.

Exploit

Fix

RCE

SQL injection

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

Weakness Enumeration

Related Identifiers

CVE-2012-6496
DSA-2597-1
GHSA-GH2W-J7CX-2664
RHSA-2013:0220

Affected Products

Ruby On Rails