← Vulnerability feed

Vulnerability record · CVE-2008-4094 · published 30 September 2008

CVE-2008-4094: Rubyonrails rails sql injection vulnerability

Rubyonrails · Rails

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.

7.5 CVSS 2.0 High EPSS 3.0% · top 12.2% CWE-89 · SQL injection
7.5CVSS 2.0 base score
3.0%EPSS exploitation probability, 30 days
NoNot in CISA KEV
2Affected product versions listed by NVD
30References, 10 tagged exploit
16 Jun 2026Last modified by NVD

Description

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.

AV:N/AC:L/Au:N/C:P/I:P/A:P

Affected products

2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://blog.innerewut.de/2008/6/16/why-you-should-upgrade-to-rails-2-1 Exploit
http://gist.github.com/8946
http://lists.opensuse.org/opensuse-security-announce/2008-12/msg00002.html
http://rails.lighthouseapp.com/projects/8994/tickets/288 Patch
http://rails.lighthouseapp.com/projects/8994/tickets/964 Patch
http://secunia.com/advisories/31875 ExploitVendor Advisory
http://secunia.com/advisories/31909 ExploitVendor Advisory
http://secunia.com/advisories/31910 ExploitVendor Advisory
http://www.openwall.com/lists/oss-security/2008/09/13/2
http://www.openwall.com/lists/oss-security/2008/09/16/1
http://www.rorsecurity.info/2008/09/08/sql-injection-issue-in-limit-and-offset-parameter/ Exploit
http://www.securityfocus.com/bid/31176
http://www.securitytracker.com/id?1020871
http://www.vupen.com/english/advisories/2008/2562 Vendor Advisory
https://exchange.xforce.ibmcloud.com/vulnerabilities/45109
http://blog.innerewut.de/2008/6/16/why-you-should-upgrade-to-rails-2-1 Exploit
http://gist.github.com/8946
http://lists.opensuse.org/opensuse-security-announce/2008-12/msg00002.html
http://rails.lighthouseapp.com/projects/8994/tickets/288 Patch
http://rails.lighthouseapp.com/projects/8994/tickets/964 Patch
http://secunia.com/advisories/31875 ExploitVendor Advisory
http://secunia.com/advisories/31909 ExploitVendor Advisory
http://secunia.com/advisories/31910 ExploitVendor Advisory
http://www.openwall.com/lists/oss-security/2008/09/13/2
http://www.openwall.com/lists/oss-security/2008/09/16/1
http://www.rorsecurity.info/2008/09/08/sql-injection-issue-in-limit-and-offset-parameter/ Exploit
http://www.securityfocus.com/bid/31176
http://www.securitytracker.com/id?1020871
http://www.vupen.com/english/advisories/2008/2562 Vendor Advisory
https://exchange.xforce.ibmcloud.com/vulnerabilities/45109

Track CVE-2008-4094 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

7.5CVE-2019-5418Ruby on Rails Action View file content disclosure via crafted Accept headersAction View in Ruby on Rails fails to properly handle specially crafted Accept headers, allowing arbitrary files on the target filesystem to be read.…KEVEPSS 99%analysed7.5CVE-2016-0752Ruby on Rails Action View render method directory traversalAction View in Ruby on Rails fails to properly sanitize pathnames passed to the render method, allowing directory traversal via '..' sequences. An ap…KEVEPSS 96%analysed7.5CVE-2014-0130Ruby on Rails implicit-render directory traversal allows arbitrary file readRuby on Rails versions before 3.2.18, 4.0.x before 4.0.5, and 4.1.x before 4.1.1 contain a directory traversal flaw in the implicit-render implementa…KEVEPSS 54%analysed10.0CVE-2013-0277Rubyonrails rails vulnerabilityActiveRecord in Ruby on Rails before 2.3.17 and 3.x before 3.1.0 allows remote attackers to cause a denial of service or execute arbitrary code via c…EPSS 7.5%9.8CVE-2024-28103Rubyonrails rails improper input validation vulnerabilityAction Pack is a framework for handling and responding to web requests. Since 6.1.0, the application configurable Permissions-Policy is only served o…EPSS 0.66%9.8CVE-2020-8165Ruby on Rails cache store deserialization leads to RCERuby on Rails before 5.2.4.3 and before 6.0.3.1 deserializes untrusted data in MemCacheStore and RedisCacheStore, allowing attacker-supplied objects …EPSS 46%analysed9.8CVE-2019-5420Ruby on Rails development mode secret token guess leads to RCERails versions before 5.2.2.1 and before 6.0.0.beta3 generate a predictable development mode secret token. An attacker who guesses this token can com…EPSS 89%analysed9.8CVE-2009-2422Rubyonrails ruby on rails improper authentication vulnerabilityThe example code for the digest authentication functionality (http_authentication.rb) in Ruby on Rails before 2.3.3 defines an authenticate_or_reques…EPSS 3.4%

Source: NIST National Vulnerability Database (record CVE-2008-4094), CISA KEV, FIRST EPSS (scores of 2026-11-19). This page is refreshed as NVD updates the record.