NetSight
high7.5

CVE-2012-6496

Active Record contains SQL Injection

Impact

SQL injection vulnerability in the Active Record component in Ruby on Rails before 2.3.15, 3.0.x before 3.0.18, 3.1.x before 3.1.9, and 3.2.x before 3.2.10 allows remote attackers to execute arbitrary SQL commands via a crafted request that leverages incorrect behavior of dynamic finders in applications that can use unexpected data types in certain find_by_ method calls.

Affected packages

EcosystemPackageAffectedFixed in
rubygemsactiverecord>= 3.1.0, < 3.1.93.1.9

Affected products

VendorProductAffected versions
RubyonrailsRails
Versions 3.1.0, 3.1.1, 3.1.2, 3.1.3, 3.1.4, 3.1.5
RubyonrailsRuby On Rails
through 3.0.17
Version 3.0.4

Weakness classification

References