SQL Injection in Rubyonrails Rails
CVE-2008-4094
Multiple SQL injection vulnerabilities in Ruby on Rails before 2.1.1 allow remote attackers to execute arbitrary SQL commands via the (1) :limit and (2) :offset parameters, related to ActiveRecord, ActiveSupport, ActiveResource, ActionPack, and ActionMailer.
Vulnerability class: SQL Injection
Published · last modified .
CVSS v2 metric
CVSS v2 base score 7.5 (High). Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.030, 87.7th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Rubyonrails Rails — versions 0.9.1, 0.9.2, 0.9.3
- Rubyonrails Ruby On Rails — versions 0.5.0, 0.5.5, 0.5.6
Weakness classification (CWE)
References
- gist.github.com/8946
- rubyonrails-activerecord-sql-injection(45109) (vdb-entry)
- [oss-security] 20080913 CVE request: Ruby on Rails <2.1.1 :limit and :offset SQL injection (mailing-list)
- rails.lighthouseapp.com/projects/8994/tickets/964 (Patch)
- rails.lighthouseapp.com/projects/8994/tickets/288 (Patch)
- secunia.com/advisories/31875 (Exploit, third-party-advisory, Vendor Advisory)
- SUSE-SR:2008:027 (vendor-advisory)
- secunia.com/advisories/31910 (Exploit, third-party-advisory, Vendor Advisory)
- blog.innerewut.de/2008/6/16/why-you-should-upgrade-to-rails-2-1 (Exploit)
- www.securitytracker.com/id (vdb-entry)