SecurityContext

CVE-2011-2930: Ruby on Rails - SQL Injection

  • Cve: CVE-2011-2930
  • Name: Ruby on Rails - SQL Injection
  • Description: Multiple SQL injection vulnerabilities in the quote_table_name method in the ActiveRecord adapters in activerecord/lib/active_record/connection_adapters/ in Ruby on Rails before 2.3.13, 3.0.x before 3.0.10, and 3.1.x before 3.1.0.rc5 allow remote attackers to execute arbitrary SQL commands via a crafted column name.
  • Impact: Remote attackers can execute arbitrary SQL commands, potentially leading to data theft, modification, or destruction.
  • Remediation: Update to Ruby on Rails 2.3.13, 3.0.10, 3.1.0.rc5 or later versions.
  • Vulnerability type: sql_injection
  • Vulnerability impact: information_disclosure, data_tampering
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:2.0/AV:N/AC:L/Au:N/C:P/I:P/A:P
  • Epss score: 0.02319
  • Epss percentile: 0.83885
  • Assignee: [email protected]
  • Published at: 2011-08-29T18:55:01Z
  • Age in days: 5566
  • Modified at: 2026-06-16T23:32:16Z
  • Patch available: yes
  • References total: 12
  • Products total: 2
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2011-2930
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-89Improper Neutralization of Special Elements used in an SQL Command

References

Same in every row:

  • Source: nvd
UrlTags
http://groups.google.com/group/rubyonrails-security/msg/b1a85d36b0f9dd30?dmode=source&output=gplainPatch
http://weblog.rubyonrails.org/2011/8/16/ann-rails-3-1-0-rc6Patch
http://www.openwall.com/lists/oss-security/2011/08/17/1Patch
http://www.openwall.com/lists/oss-security/2011/08/19/11Patch
http://www.openwall.com/lists/oss-security/2011/08/20/1Patch
http://www.openwall.com/lists/oss-security/2011/08/22/13Patch
http://www.openwall.com/lists/oss-security/2011/08/22/5Patch
https://bugzilla.redhat.com/show_bug.cgi?id=731438Patch
https://github.com/rails/rails/commit/8a39f411dc3c806422785b1f4d5c7c9d58e4bf85Patch
http://lists.fedoraproject.org/pipermail/package-announce/2011-September/065212.html

Products

ProductAffectedPlatform boundSourcesUrl
rubyonrails:rails= 3.0.9 rc5, = 3.0.0 beta4, = 3.0.8 rc4, = 3.0.9 rc4, = 3.1.0 rc4, = 3.1.0, = 3.1.0 beta1, = 3.1.0 rc1, = 3.1.0 rc2, = 3.1.0 rc3, = 3.0.10 rc1, = 3.0.9, = 3.0.9 rc1, = 3.0.9 rc2, = 3.0.9 rc3, = 3.0.8, = 3.0.8 rc1, = 3.0.8 rc2, = 3.0.8 rc3, = 3.0.7, = 3.0.7 rc1, = 3.0.7 rc2, = 3.0.6, = 3.0.6 rc1, = 3.0.6 rc2, = 3.0.5, = 3.0.5 rc1, = 3.0.4 rc1, = 3.0.3, = 3.0.2, = 3.0.2 pre, = 3.0.1, = 3.0.1 pre, = 3.0.0, = 3.0.0 beta, = 3.0.0 beta2, = 3.0.0 beta3, = 3.0.0 rc, = 3.0.0 rc2, = 2.3.12, = 2.3.11, = 2.3.10, = 2.3.9, = 2.3.4, = 2.3.3, = 2.3.2, = 2.2.2, = 2.2.1, = 2.2.0, = 2.1.2, = 2.1.1, = 2.1.0, = 2.0.4, = 2.0.2, = 2.0.1, = 2.0.0, = 2.0.0 rc1, = 2.0.0 rc2nonvd/v1/products/rubyonrails/rails
rubyonrails:ruby_on_rails= 3.0.4nonvd/v1/products/rubyonrails/ruby_on_rails

Projects

RepositoryLink kindsIndexedUrl
rails/railscommit, fix, packageyes/v1/repositories/rails/rails

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Exposed hosts: 2416366
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports