SB2012062224 - SQL injection in Ruby on Rails



SB2012062224 - SQL injection in Ruby on Rails

Published: June 22, 2012 Updated: September 29, 2025

Security Bulletin ID SB2012062224
Severity
Medium
Patch available
YES
Number of vulnerabilities 1
Exploitation vector Remote access
Highest impact Data manipulation

Breakdown by Severity

Medium 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 1 security vulnerability.


1) SQL injection (CVE-ID: CVE-2012-2695)

The vulnerability allows a remote attacker to execute arbitrary SQL queries in database.

The vulnerability exists due to Active Record component in Ruby on Rails does not properly implement the passing of request data to a where method in an ActiveRecord class. A remote attacker can send a specially crafted request to the affected application and execute arbitrary SQL commands within the application database.

Successful exploitation of this vulnerability may allow a remote attacker to read, delete, modify data in database and gain complete control over the affected application.


Remediation

Install update from vendor's website.