PT-2012-4188 · Ruby+1 · Ruby On Rails+1
Ernie Miller
+3
·
Publicado
2012-06-22
·
Atualizado
2019-08-08
·
CVE-2012-2695
CVSS v2.0
7.5
Alta
| Vetor | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Name of the Vulnerable Software and Affected Versions
Ruby on Rails versions prior to 2.3.15
Ruby on Rails versions 3.0.x through 3.0.14
Ruby on Rails versions 3.1.x through 3.1.6
Ruby on Rails versions 3.2.x through 3.2.6
Description
The Active Record component in Ruby on Rails does not properly implement the passing of request data to a where method in an ActiveRecord class. This allows remote attackers to conduct certain SQL injection attacks via nested query parameters that leverage improper handling of nested hashes.
Recommendations
For Ruby on Rails versions prior to 2.3.15, update to version 2.3.15 or later.
For Ruby on Rails versions 3.0.x through 3.0.14, update to version 3.0.14 or later.
For Ruby on Rails versions 3.1.x through 3.1.6, update to version 3.1.6 or later.
For Ruby on Rails versions 3.2.x through 3.2.6, update to version 3.2.6 or later.
Exploit
Correção
SQL injection
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾
Enumeração de Fraquezas
Identificadores relacionados
Produtos afetados
Ruby On Rails
Suse