Vulnerabilities · 2012 · Rubyonrails
CVE-2012-6496
Rubyonrails Rails vulnerability
SQL injection vulnerability in the Active Record component in Ruby on Rails 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 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
- bugzilla.redhat.com/show_bug.cgi?id=889649 · Exploit
- blog.phusion.nl/2013/01/03/rails-sql-injection-vulnerability-hold-your-horses-here-are-the
- rhn.redhat.com/errata/RHSA-2013-0154.html
- rhn.redhat.com/errata/RHSA-2013-0155.html
- rhn.redhat.com/errata/RHSA-2013-0220.html
- rhn.redhat.com/errata/RHSA-2013-0544.html
- security.gentoo.org/glsa/glsa-201401-22.xml
- www.securityfocus.com/bid/57084
- nvd.nist.gov/vuln/detail/CVE-2012-6496
- cve.org/CVERecord?id=CVE-2012-6496
More vulnerabilities in Rubyonrails products
CVE-2024-53989CVE-2024-53988CVE-2024-53987CVE-2024-53986CVE-2024-53985CVE-2024-32464CVE-2024-28103CVE-2024-26144All 134
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.