CVE-2012-6496
EPSS 1.0%Active Record contains SQL Injection
發布日:2017/10/24修改日:2026/4/28
描述
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.
受影響套件(3)
- Debian/railsfrom 0, < 2.3.14.1
- Debian/railsfrom 0, < 2.3.5-1.2+squeeze4
- RubyGems/activerecord>= 3.0.0.beta, < 3.0.18
參考連結(11)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2012-6496
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2012-6496
- PATCHhttps://github.com/rails/rails
- WEBhttp://blog.phusion.nl/2013/01/03/rails-sql-injection-vulnerability-hold-your-horses-here-are-the-facts
- WEBhttp://rhn.redhat.com/errata/RHSA-2013-0154.html
- WEBhttp://rhn.redhat.com/errata/RHSA-2013-0220.html
- WEBhttp://rhn.redhat.com/errata/RHSA-2013-0544.html
- WEBhttps://bugzilla.redhat.com/show_bug.cgi?id=889649
- WEBhttp://security.gentoo.org/glsa/glsa-201401-22.xml
- WEBhttps://github.com/rails/rails/commit/9de9b359d0d24f70f0f6c5c58a7ad8750684d456
- WEBhttps://groups.google.com/group/rubyonrails-security/msg/23daa048baf28b64?dmode=source&output=gplain