2 matches found
Sql injection
The Active Record component in Ruby on Rails 3.0.x before 3.0.13, 3.1.x before 3.1.5, and 3.2.x before 3.2.4 does not properly implement the passing of request data to a where method in an ActiveRecord class, which allows remote attackers to conduct certain SQL injection attacks via nested query...
SQL Injection Vulnerability in Ruby on Rails
CVE-2012-2661 Ruby on Rails是一款Web应用程序框架,构建在Ruby语言之上 存在一个SQL注入漏洞,问题存在于Active Record处理嵌套查询参数,攻击者可以使用特制请求注入SQL语句。 受影响代码直接把请求参数传递给ActiveRecord类的where方法,如Post.where:id = params:id.all。攻击者可以提交请求使params:id返回特制哈希使WHERE子句使用某些值查询任意表 Impacted code directly passes request params to the where method of an...