Vulnerabilities · 2012 · Rubyonrails
CVE-2012-2694
Rubyonrails Rails vulnerability
actionpack/lib/action_dispatch/http/request.rb in Ruby on Rails before 3.0.14, 3.1.x before 3.1.6, and 3.2.x before 3.2.6 does not properly consider differences in parameter handling between the Active Record component and the Rack interface, which allows remote attackers to bypass intended database-query restrictions and perform NULL checks via a crafted request, as demonstrated by certain "['xyz', nil]" values, a related issue to CVE-2012-2660.
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
- groups.google.com/group/rubyonrails-security/msg/e2d3a87f2c211def?dmode=source&output=gpla · Exploit
- lists.opensuse.org/opensuse-security-announce/2012-08/msg00002.html
- lists.opensuse.org/opensuse-security-announce/2012-08/msg00014.html
- lists.opensuse.org/opensuse-security-announce/2012-08/msg00016.html
- lists.opensuse.org/opensuse-security-announce/2012-08/msg00017.html
- lists.opensuse.org/opensuse-updates/2012-08/msg00046.html
- rhn.redhat.com/errata/RHSA-2013-0154.html
- nvd.nist.gov/vuln/detail/CVE-2012-2694
- nvd.nist.gov/vuln/detail/CVE-2012-2694
- cve.org/CVERecord?id=CVE-2012-2694
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.