CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2012 · Rubyonrails

CVE-2012-6497
Rubyonrails Rails vulnerability

The Authlogic gem for Ruby on Rails, when used with certain versions before 3.2.10, makes potentially unsafe find_by_id method calls, which might allow remote attackers to conduct CVE-2012-6496 SQL injection attacks via a crafted parameter in environments that have a known secret_token value, as demonstrated by a value contained in secret_token.rb in an open-source product.

Affected products

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.