Description

Cross-site scripting (XSS) vulnerability in the to_json (ActiveRecord::Base#to_json) function in Ruby on Rails before edge 9606 allows remote attackers to inject arbitrary web script via the input values.

INFO

Published Date :

June 14, 2007, 11:30 p.m.

Last Modified :

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

Remotely Exploitable :

Yes !

Impact Score :

2.9

Exploitability Score :

8.6
Affected Products

The following products are affected by CVE-2007-3227 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
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-2007-3227.

URL Resource
http://bugs.gentoo.org/show_bug.cgi?id=195315
http://dev.rubyonrails.org/ticket/8371
http://osvdb.org/36378
http://pastie.caboo.se/65550.txt
http://secunia.com/advisories/25699 Vendor Advisory
http://secunia.com/advisories/27657 Vendor Advisory
http://secunia.com/advisories/27756 Vendor Advisory
http://security.gentoo.org/glsa/glsa-200711-17.xml
http://weblog.rubyonrails.org/2007/10/12/rails-1-2-5-maintenance-release
http://weblog.rubyonrails.org/2007/10/5/rails-1-2-4-maintenance-release
http://www.novell.com/linux/security/advisories/2007_24_sr.html
http://www.securityfocus.com/bid/24161 Exploit
http://www.vupen.com/english/advisories/2007/2216 Vendor Advisory
http://bugs.gentoo.org/show_bug.cgi?id=195315
http://dev.rubyonrails.org/ticket/8371
http://osvdb.org/36378
http://pastie.caboo.se/65550.txt
http://secunia.com/advisories/25699 Vendor Advisory
http://secunia.com/advisories/27657 Vendor Advisory
http://secunia.com/advisories/27756 Vendor Advisory
http://security.gentoo.org/glsa/glsa-200711-17.xml
http://weblog.rubyonrails.org/2007/10/12/rails-1-2-5-maintenance-release
http://weblog.rubyonrails.org/2007/10/5/rails-1-2-4-maintenance-release
http://www.novell.com/linux/security/advisories/2007_24_sr.html
http://www.securityfocus.com/bid/24161 Exploit
http://www.vupen.com/english/advisories/2007/2216 Vendor Advisory

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-2007-3227 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2007-3227 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://bugs.gentoo.org/show_bug.cgi?id=195315
    Added Reference http://dev.rubyonrails.org/ticket/8371
    Added Reference http://osvdb.org/36378
    Added Reference http://pastie.caboo.se/65550.txt
    Added Reference http://secunia.com/advisories/25699
    Added Reference http://secunia.com/advisories/27657
    Added Reference http://secunia.com/advisories/27756
    Added Reference http://security.gentoo.org/glsa/glsa-200711-17.xml
    Added Reference http://weblog.rubyonrails.org/2007/10/12/rails-1-2-5-maintenance-release
    Added Reference http://weblog.rubyonrails.org/2007/10/5/rails-1-2-4-maintenance-release
    Added Reference http://www.novell.com/linux/security/advisories/2007_24_sr.html
    Added Reference http://www.securityfocus.com/bid/24161
    Added Reference http://www.vupen.com/english/advisories/2007/2216
  • 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:1.1.5:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:1.1.5:*:*:*:*:*:*:*
  • Initial Analysis by [email protected]

    Jun. 18, 2007

    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-2007-3227 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2007-3227 weaknesses.

Exploit Prediction

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

13.78 }} -8.93%

score

0.93678

percentile

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