7.5
HIGH
CVE-2008-4094
Ruby on Rails SQL Injection Vulnerabilities
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.

INFO

Published Date :

Sept. 30, 2008, 5:22 p.m.

Last Modified :

April 9, 2025, 12:30 a.m.

Remotely Exploitable :

Yes !

Impact Score :

6.4

Exploitability Score :

10.0
Affected Products

The following products are affected by CVE-2008-4094 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Rubyonrails rails
2 Rubyonrails ruby_on_rails
1 Activerecord_project activerecord
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2008-4094.

URL Resource
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 Exploit Vendor Advisory
http://secunia.com/advisories/31909 Exploit Vendor Advisory
http://secunia.com/advisories/31910 Exploit Vendor 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 Exploit Vendor Advisory
http://secunia.com/advisories/31909 Exploit Vendor Advisory
http://secunia.com/advisories/31910 Exploit Vendor 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

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2008-4094 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2008-4094 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference http://blog.innerewut.de/2008/6/16/why-you-should-upgrade-to-rails-2-1
    Added Reference http://gist.github.com/8946
    Added Reference http://lists.opensuse.org/opensuse-security-announce/2008-12/msg00002.html
    Added Reference http://rails.lighthouseapp.com/projects/8994/tickets/288
    Added Reference http://rails.lighthouseapp.com/projects/8994/tickets/964
    Added Reference http://secunia.com/advisories/31875
    Added Reference http://secunia.com/advisories/31909
    Added Reference http://secunia.com/advisories/31910
    Added Reference http://www.openwall.com/lists/oss-security/2008/09/13/2
    Added Reference http://www.openwall.com/lists/oss-security/2008/09/16/1
    Added Reference http://www.rorsecurity.info/2008/09/08/sql-injection-issue-in-limit-and-offset-parameter/
    Added Reference http://www.securityfocus.com/bid/31176
    Added Reference http://www.securitytracker.com/id?1020871
    Added Reference http://www.vupen.com/english/advisories/2008/2562
    Added Reference https://exchange.xforce.ibmcloud.com/vulnerabilities/45109
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:2.0.0:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:2.0.0:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:2.0.0:rc2:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:2.0.0:rc2:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:2.0.0:rc1:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:2.0.0:rc1:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:2.1.0:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:2.1.0:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:2.0.4:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:2.0.4:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:2.0.2:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:2.0.2:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:2.0.1:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:2.0.1:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:1.2.0:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:1.2.0:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:1.1.0:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:1.1.0:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:2.1:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:ruby_on_rails:2.1.0:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:1.9.5:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:1.9.5:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:1.2.6:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:1.2.6:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:1.2.5:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:1.2.5:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:1.2.4:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:1.2.4:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:1.2.3:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:1.2.3:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:1.2.2:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:1.2.2:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:1.2.1:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:1.2.1:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:1.1.6:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:1.1.6:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:1.1.5:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:1.1.5:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:1.1.4:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:1.1.4:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:1.1.3:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:1.1.3:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:1.1.2:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:1.1.2:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:1.1.1:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:1.1.1:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:1.0.0:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:1.0.0:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:0.14.4:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:0.14.4:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:0.14.3:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:0.14.3:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:0.14.2:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:0.14.2:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:0.14.1:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:0.14.1:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:0.13.1:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:0.13.1:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:0.13.0:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:0.13.0:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:0.12.1:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:0.12.1:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:0.12.0:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:0.12.0:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:0.11.1:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:0.11.1:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:0.11.0:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:0.11.0:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:0.10.1:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:0.10.1:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:0.10.0:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:0.10.0:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:0.9.4.1:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:0.9.4.1:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:0.9.4:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:0.9.4:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:0.9.3:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:0.9.3:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:0.9.2:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:0.9.2:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:0.9.1:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:0.9.1:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Aug. 08, 2017

    Action Type Old Value New Value
    Removed Reference http://xforce.iss.net/xforce/xfdb/45109 [No Types Assigned]
    Added Reference https://exchange.xforce.ibmcloud.com/vulnerabilities/45109 [No Types Assigned]
  • Initial Analysis by [email protected]

    Sep. 30, 2008

    Action Type Old Value New Value
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2008-4094 is associated with the following CWEs:

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

2.90 }} -2.82%

score

0.85106

percentile

CVSS2 - Vulnerability Scoring System
Access Vector
Access Complexity
Authentication
Confidentiality
Integrity
Availability