Ruby on Rails up to 3.x/4.1.10/4.2.1 JSON Encoding json/encoding.rb 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.
4.1$0-$5k0.00

Summaryinfo

A vulnerability labeled as problematic has been found in Ruby on Rails up to 3.x/4.1.10/4.2.1. Affected by this issue is some unknown functionality of the file json/encoding.rb of the component JSON Encoding Handler. Such manipulation leads to cross site scripting. This vulnerability is traded as CVE-2015-3226. The attack may be launched remotely. There is no exploit available. The affected component should be upgraded.

Detailsinfo

A vulnerability was found in Ruby on Rails up to 3.x/4.1.10/4.2.1 (Programming Language Software). It has been rated as problematic. Affected by this issue is an unknown part of the file json/encoding.rb of the component JSON Encoding Handler. The manipulation with an unknown input leads to a cross site scripting vulnerability. Using CWE to declare the problem leads to 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. Impacted is integrity. CVE summarizes:

Cross-site scripting (XSS) vulnerability in json/encoding.rb in Active Support in Ruby on Rails 3.x and 4.1.x before 4.1.11 and 4.2.x before 4.2.2 allows remote attackers to inject arbitrary web script or HTML via a crafted Hash that is mishandled during JSON encoding.

The weakness was shared 07/26/2015 (Website). The advisory is available at groups.google.com. This vulnerability is handled as CVE-2015-3226 since 04/10/2015. The exploitation is known to be easy. The attack may be launched remotely. No form of authentication is required for exploitation. Successful exploitation requires user interaction by the victim. Technical details are known, but there is no available exploit. This vulnerability is assigned to T1059.007 by the MITRE ATT&CK project.

The vulnerability scanner Nessus provides a plugin with the ID 84255 (FreeBSD : rubygem-rails -- multiple vulnerabilities (eb8a8978-8dd5-49ce-87f4-49667b2166dd)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family FreeBSD Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 175618 (Debian Security Update for rails (DSA 3464-1)).

Upgrading to version 4.1.11 or 4.2.2 eliminates this vulnerability.

The vulnerability is also documented in the databases at Tenable (84255), SecurityFocus (BID 75231†) and Vulnerability Center (SBV-51629†). The entries VDB-76806, VDB-76812, VDB-76813 and VDB-76815 are related to this item. If you want to get best quality of vulnerability data, you may have to visit VulDB.

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 4.3
VulDB Meta Temp Score: 4.1

VulDB Base Score: 4.3
VulDB Temp Score: 4.1
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: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 84255
Nessus Name: FreeBSD : rubygem-rails -- multiple vulnerabilities (eb8a8978-8dd5-49ce-87f4-49667b2166dd)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍

OpenVAS ID: 703464
OpenVAS Name: Debian Security Advisory DSA 3464-1 (rails - security update)
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: Ruby on Rails 4.1.11/4.2.2

Timelineinfo

04/10/2015 🔍
06/16/2015 +67 days 🔍
06/17/2015 +1 days 🔍
07/26/2015 +39 days 🔍
07/26/2015 +0 days 🔍
07/28/2015 +2 days 🔍
07/28/2015 +0 days 🔍
06/03/2022 +2502 days 🔍

Sourcesinfo

Advisory: groups.google.com
Status: Not defined

CVE: CVE-2015-3226 (🔍)
GCVE (CVE): GCVE-0-2015-3226
GCVE (VulDB): GCVE-100-76814
SecurityFocus: 75231 - JSON 'ActiveSupport::JSON.encode()' Function Cross Site Scripting Vulnerability
SecurityTracker: 1033755
Vulnerability Center: 51629 - Ruby on Rails 4.0-4.1.10, 4.2-4.2.1 Remote XSS in ActiveSupport::JSON.encode, Medium

See also: 🔍

Entryinfo

Created: 07/28/2015 10:18
Updated: 06/03/2022 21:20
Changes: 07/28/2015 10:18 (57), 08/03/2017 03:23 (13), 06/03/2022 21:06 (3), 06/03/2022 21:20 (1)
Complete: 🔍
Cache ID: 216:963:103

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!