// For flags

CVE-2012-6496

rubygem-activerecord: find_by_* SQL Injection

Severity Score

7.5
*CVSS v2

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

1
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

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.

Vulnerabilidad de inyección SQL en el componente Active Record en Ruby on Rails antes de v3.0.18, v3.1.x antes de v3.1.9, y v3.2.x antes de v3.2.10, permite a atacantes remotos ejecutar comandos SQL a través de una solicitud modificada que aprovecha el comportamiento incorrecto de buscadores dinámicos en aplicaciones que pueden utilizar los tipos de datos inesperados en ciertas llamadas al método find_by_.

*Credits: N/A
CVSS Scores
Attack Vector
Network
Attack Complexity
Low
Authentication
None
Confidentiality
Partial
Integrity
Partial
Availability
Partial
Attack Vector
Network
Attack Complexity
Low
Authentication
None
Confidentiality
None
Integrity
Partial
Availability
Partial
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2013-01-03 CVE Reserved
  • 2013-01-04 CVE Published
  • 2024-08-06 CVE Updated
  • 2024-08-06 First Exploit
  • 2024-10-03 EPSS Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
CWE
  • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.1.0
Search vendor "Rubyonrails" for product "Rails" and version "3.1.0"
-
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.1.0
Search vendor "Rubyonrails" for product "Rails" and version "3.1.0"
beta1
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.1.0
Search vendor "Rubyonrails" for product "Rails" and version "3.1.0"
rc1
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.1.0
Search vendor "Rubyonrails" for product "Rails" and version "3.1.0"
rc2
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.1.0
Search vendor "Rubyonrails" for product "Rails" and version "3.1.0"
rc3
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.1.0
Search vendor "Rubyonrails" for product "Rails" and version "3.1.0"
rc4
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.1.0
Search vendor "Rubyonrails" for product "Rails" and version "3.1.0"
rc5
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.1.0
Search vendor "Rubyonrails" for product "Rails" and version "3.1.0"
rc6
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.1.0
Search vendor "Rubyonrails" for product "Rails" and version "3.1.0"
rc7
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.1.0
Search vendor "Rubyonrails" for product "Rails" and version "3.1.0"
rc8
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.1.1
Search vendor "Rubyonrails" for product "Rails" and version "3.1.1"
-
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.1.1
Search vendor "Rubyonrails" for product "Rails" and version "3.1.1"
rc1
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.1.1
Search vendor "Rubyonrails" for product "Rails" and version "3.1.1"
rc2
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.1.1
Search vendor "Rubyonrails" for product "Rails" and version "3.1.1"
rc3
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.1.2
Search vendor "Rubyonrails" for product "Rails" and version "3.1.2"
-
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.1.2
Search vendor "Rubyonrails" for product "Rails" and version "3.1.2"
rc1
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.1.2
Search vendor "Rubyonrails" for product "Rails" and version "3.1.2"
rc2
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.1.3
Search vendor "Rubyonrails" for product "Rails" and version "3.1.3"
-
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.1.4
Search vendor "Rubyonrails" for product "Rails" and version "3.1.4"
-
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.1.4
Search vendor "Rubyonrails" for product "Rails" and version "3.1.4"
rc1
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.1.5
Search vendor "Rubyonrails" for product "Rails" and version "3.1.5"
-
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.1.5
Search vendor "Rubyonrails" for product "Rails" and version "3.1.5"
rc1
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.1.6
Search vendor "Rubyonrails" for product "Rails" and version "3.1.6"
-
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.1.7
Search vendor "Rubyonrails" for product "Rails" and version "3.1.7"
-
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.1.8
Search vendor "Rubyonrails" for product "Rails" and version "3.1.8"
-
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.0.0
Search vendor "Rubyonrails" for product "Rails" and version "3.0.0"
-
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.0.0
Search vendor "Rubyonrails" for product "Rails" and version "3.0.0"
beta
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.0.0
Search vendor "Rubyonrails" for product "Rails" and version "3.0.0"
beta2
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.0.0
Search vendor "Rubyonrails" for product "Rails" and version "3.0.0"
beta3
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.0.0
Search vendor "Rubyonrails" for product "Rails" and version "3.0.0"
beta4
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.0.0
Search vendor "Rubyonrails" for product "Rails" and version "3.0.0"
rc
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.0.0
Search vendor "Rubyonrails" for product "Rails" and version "3.0.0"
rc2
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.0.1
Search vendor "Rubyonrails" for product "Rails" and version "3.0.1"
-
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.0.1
Search vendor "Rubyonrails" for product "Rails" and version "3.0.1"
pre
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.0.2
Search vendor "Rubyonrails" for product "Rails" and version "3.0.2"
-
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.0.2
Search vendor "Rubyonrails" for product "Rails" and version "3.0.2"
pre
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.0.3
Search vendor "Rubyonrails" for product "Rails" and version "3.0.3"
-
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.0.4
Search vendor "Rubyonrails" for product "Rails" and version "3.0.4"
rc1
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.0.5
Search vendor "Rubyonrails" for product "Rails" and version "3.0.5"
-
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.0.5
Search vendor "Rubyonrails" for product "Rails" and version "3.0.5"
rc1
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.0.6
Search vendor "Rubyonrails" for product "Rails" and version "3.0.6"
-
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.0.6
Search vendor "Rubyonrails" for product "Rails" and version "3.0.6"
rc1
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.0.6
Search vendor "Rubyonrails" for product "Rails" and version "3.0.6"
rc2
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.0.7
Search vendor "Rubyonrails" for product "Rails" and version "3.0.7"
-
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.0.7
Search vendor "Rubyonrails" for product "Rails" and version "3.0.7"
rc1
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.0.7
Search vendor "Rubyonrails" for product "Rails" and version "3.0.7"
rc2
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.0.8
Search vendor "Rubyonrails" for product "Rails" and version "3.0.8"
-
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.0.8
Search vendor "Rubyonrails" for product "Rails" and version "3.0.8"
rc1
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.0.8
Search vendor "Rubyonrails" for product "Rails" and version "3.0.8"
rc2
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.0.8
Search vendor "Rubyonrails" for product "Rails" and version "3.0.8"
rc3
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.0.8
Search vendor "Rubyonrails" for product "Rails" and version "3.0.8"
rc4
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.0.9
Search vendor "Rubyonrails" for product "Rails" and version "3.0.9"
-
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.0.9
Search vendor "Rubyonrails" for product "Rails" and version "3.0.9"
rc1
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.0.9
Search vendor "Rubyonrails" for product "Rails" and version "3.0.9"
rc2
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.0.9
Search vendor "Rubyonrails" for product "Rails" and version "3.0.9"
rc3
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.0.9
Search vendor "Rubyonrails" for product "Rails" and version "3.0.9"
rc4
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.0.9
Search vendor "Rubyonrails" for product "Rails" and version "3.0.9"
rc5
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.0.10
Search vendor "Rubyonrails" for product "Rails" and version "3.0.10"
-
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.0.10
Search vendor "Rubyonrails" for product "Rails" and version "3.0.10"
rc1
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.0.11
Search vendor "Rubyonrails" for product "Rails" and version "3.0.11"
-
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.0.12
Search vendor "Rubyonrails" for product "Rails" and version "3.0.12"
-
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.0.12
Search vendor "Rubyonrails" for product "Rails" and version "3.0.12"
rc1
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.0.13
Search vendor "Rubyonrails" for product "Rails" and version "3.0.13"
-
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.0.13
Search vendor "Rubyonrails" for product "Rails" and version "3.0.13"
rc1
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.0.14
Search vendor "Rubyonrails" for product "Rails" and version "3.0.14"
-
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.0.16
Search vendor "Rubyonrails" for product "Rails" and version "3.0.16"
-
Affected
Rubyonrails
Search vendor "Rubyonrails"
Ruby On Rails
Search vendor "Rubyonrails" for product "Ruby On Rails"
<= 3.0.17
Search vendor "Rubyonrails" for product "Ruby On Rails" and version " <= 3.0.17"
-
Affected
Rubyonrails
Search vendor "Rubyonrails"
Ruby On Rails
Search vendor "Rubyonrails" for product "Ruby On Rails"
3.0.4
Search vendor "Rubyonrails" for product "Ruby On Rails" and version "3.0.4"
-
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.2.0
Search vendor "Rubyonrails" for product "Rails" and version "3.2.0"
-
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.2.0
Search vendor "Rubyonrails" for product "Rails" and version "3.2.0"
rc1
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.2.0
Search vendor "Rubyonrails" for product "Rails" and version "3.2.0"
rc2
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.2.1
Search vendor "Rubyonrails" for product "Rails" and version "3.2.1"
-
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.2.2
Search vendor "Rubyonrails" for product "Rails" and version "3.2.2"
-
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.2.2
Search vendor "Rubyonrails" for product "Rails" and version "3.2.2"
rc1
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.2.3
Search vendor "Rubyonrails" for product "Rails" and version "3.2.3"
-
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.2.3
Search vendor "Rubyonrails" for product "Rails" and version "3.2.3"
rc1
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.2.3
Search vendor "Rubyonrails" for product "Rails" and version "3.2.3"
rc2
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.2.4
Search vendor "Rubyonrails" for product "Rails" and version "3.2.4"
-
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.2.4
Search vendor "Rubyonrails" for product "Rails" and version "3.2.4"
rc1
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.2.5
Search vendor "Rubyonrails" for product "Rails" and version "3.2.5"
-
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.2.6
Search vendor "Rubyonrails" for product "Rails" and version "3.2.6"
-
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.2.7
Search vendor "Rubyonrails" for product "Rails" and version "3.2.7"
-
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.2.8
Search vendor "Rubyonrails" for product "Rails" and version "3.2.8"
-
Affected
Rubyonrails
Search vendor "Rubyonrails"
Rails
Search vendor "Rubyonrails" for product "Rails"
3.2.9
Search vendor "Rubyonrails" for product "Rails" and version "3.2.9"
-
Affected