CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2012 · Rubyonrails

CVE-2012-2661
Rubyonrails Rails vulnerability

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 parameters that leverage unintended recursion, a related issue to CVE-2012-2695.

Affected products

Rails, Ruby On Rails. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Rubyonrails Rails runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Rubyonrails products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.