CVE-2012-6497Rubyonrails Rails
Media 5.0 Sin autenticación
- Prioridad
- 45
- CVSS 2.0
- 5.0
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 4 ene 2013
- Actualizada
- 16 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-89
- Vector
AV:N/AC:L/Au:N/C:P/I:N/A:N
Qué pasa
The Authlogic gem for Ruby on Rails, when used with certain versions before 3.2.10, makes potentially unsafe find_by_id method calls, which might allow remote attackers to conduct CVE-2012-6496 SQL injection attacks via a crafted parameter in environments that have a known secret_token value, as demonstrated by a value contained in secret_token.rb in an open-source product.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Rails.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| RubyGems | authlogic |
< 3.3.0 |
3.3.0 |
gem "authlogic", ">= 3.3.0" |
Según OSV / GitHub Advisories (GHSA-rx7j-mw4c-76g9). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| rubyonrails | rails | < 3.2.10 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- blog.phusion.nl Exploit
- openwall.com Mailing List Third Party Advisory
- phenoelit.org Broken Link Exploit
- www.securityfocus.com Broken Link Third Party Advisory VDB Entry