Ruby on Rails up to 1.2.3 to_json cross site scripting

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
5.7$0-$5k0.00

Summaryinfo

A vulnerability classified as problematic has been found in Ruby on Rails up to 1.2.3. Affected by this vulnerability is the function to_json. Performing a manipulation results in cross site scripting. This vulnerability is known as CVE-2007-3227. Remote exploitation of the attack is possible. Furthermore, an exploit is available. It is preferable to disable the affected component.

Detailsinfo

A vulnerability, which was classified as critical, was found in Ruby on Rails up to 1.2.3 (Programming Language Software). This affects the function to_json. The manipulation with an unknown input leads to a cross site scripting vulnerability. CWE is classifying the issue as CWE-79. The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE is:

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.

The bug was discovered 05/15/2007. The weakness was published 06/15/2007 by BCC (Website). It is possible to read the advisory at dev.rubyonrails.org. This vulnerability is uniquely identified as CVE-2007-3227 since 06/14/2007. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. It demands that the victim is doing some kind of user interaction. Technical details and a public exploit are known. The attack technique deployed by this issue is T1059.007 according to MITRE ATT&CK.

The exploit is shared for download at securityfocus.com. It is declared as proof-of-concept. The vulnerability was handled as a non-public zero-day exploit for at least 30 days. During that time the estimated underground price was around $5k-$25k. The vulnerability scanner Nessus provides a plugin with the ID 28225 (openSUSE 10 Security Update : rubygem-activesupport (rubygem-activesupport-4568)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family SuSE Local Security Checks and running in the context l.

The best possible mitigation is suggested to be disabling the affected component. A possible mitigation has been published 6 months after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (34877), Exploit-DB (30089), Tenable (28225), SecurityFocus (BID 24161†) and OSVDB (36378†). Similar entries are available at VDB-39371 and VDB-39370. Be aware that VulDB is the high quality source for vulnerability data.

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.3
VulDB Meta Temp Score: 5.7

VulDB Base Score: 6.3
VulDB Temp Score: 5.7
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Cross site scripting
CWE: CWE-79 / CWE-94 / CWE-74
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Access: Public
Status: Proof-of-Concept
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 28225
Nessus Name: openSUSE 10 Security Update : rubygem-activesupport (rubygem-activesupport-4568)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Nessus Port: 🔍

OpenVAS ID: 59648
OpenVAS Name: FreeBSD Ports: rubygem-rails
OpenVAS File: 🔍
OpenVAS Family: 🔍

Exploit-DB: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Disable
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Timelineinfo

05/15/2007 🔍
05/15/2007 +0 days 🔍
05/25/2007 +10 days 🔍
06/14/2007 +20 days 🔍
06/14/2007 +0 days 🔍
06/15/2007 +1 days 🔍
06/15/2007 +0 days 🔍
07/02/2007 +16 days 🔍
11/15/2007 +136 days 🔍
11/15/2007 +0 days 🔍
11/19/2007 +4 days 🔍
11/28/2007 +9 days 🔍
01/17/2025 +6260 days 🔍

Sourcesinfo

Advisory: dev.rubyonrails.org
Researcher: BCC
Status: Not defined
Confirmation: 🔍

CVE: CVE-2007-3227 (🔍)
GCVE (CVE): GCVE-0-2007-3227
GCVE (VulDB): GCVE-100-3135
X-Force: 34877
SecurityFocus: 24161 - Ruby on Rails To_JSON Script Injection Vulnerability
Secunia: 27657 - Gentoo update for rails, Less Critical
OSVDB: 36378 - Ruby on Rails to_json input Value XSS
Vulnerability Center: 16886 - Ruby on Rails Vulnerability Allows Remote Attackers to Conduct Cross-Site Scripting (XSS) Attack, Medium
Vupen: ADV-2007-2216

scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍

Entryinfo

Created: 07/02/2007 18:22
Updated: 01/17/2025 04:24
Changes: 07/02/2007 18:22 (95), 07/31/2019 10:09 (1), 01/17/2025 04:24 (21)
Complete: 🔍
Cache ID: 216::103

Be aware that VulDB is the high quality source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to stay up to date on a daily basis?

Enable the mail alert feature now!