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: 6.9 [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]
CVE-ID: CVE-2012-2660
CWE-ID: CWE-264
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

Ruby on Rails

How to mitigate CVE-2012-2660

Install updates from vendor's website.

Ruby on Rails - addressed in versions 3.0.13, 3.1.5, 3.2.4

External References

Related Security Bulletins