| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.7 | $0-$5k | 0.00 |
Summary
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.
Details
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.
Product
Type
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.3VulDB Meta Temp Score: 5.7
VulDB Base Score: 6.3
VulDB Temp Score: 5.7
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Cross site scriptingCWE: 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-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
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 Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: DisableStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Timeline
05/15/2007 🔍05/15/2007 🔍
05/25/2007 🔍
06/14/2007 🔍
06/14/2007 🔍
06/15/2007 🔍
06/15/2007 🔍
07/02/2007 🔍
11/15/2007 🔍
11/15/2007 🔍
11/19/2007 🔍
11/28/2007 🔍
01/17/2025 🔍
Sources
Advisory: dev.rubyonrails.orgResearcher: 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: 🔍
Entry
Created: 07/02/2007 18:22Updated: 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.
No comments yet. Languages: en.
Please log in to comment.