Permissions, Privileges, and Access Controls in Ruby on Rails - CVE-2012-2660

 

Permissions, Privileges, and Access Controls in Ruby on Rails - CVE-2012-2660

Published: September 29, 2025


Vulnerability identifier: #VU116167
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2012-2660
CWE-ID: CWE-264
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Rails
Affected software:
Ruby on Rails

Detailed vulnerability description

The vulnerability allows a remote attacker to escalate privileges on the system.

The vulnerability exists due to actionpack/lib/action_dispatch/http/request.rb in Ruby on Rails does not properly consider differences in parameter handling between the Active Record component and the Rack interface. A remote attacker can bypass intended database-query restrictions and perform NULL checks via a specially crafted request.


How to mitigate CVE-2012-2660

Install updates from vendor's website.

Sources