Ruby on Rails up to 1.7.6 JSON Gem input validation

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.
7.5$0-$5k0.00

A vulnerability was found in Ruby on Rails up to 1.7.6 (Programming Language Software). It has been classified as critical. This affects an unknown code of the component JSON Gem. The manipulation with an unknown input leads to a input validation vulnerability. CWE is classifying the issue as CWE-20. The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE is:

The JSON gem before 1.5.5, 1.6.x before 1.6.8, and 1.7.x before 1.7.7 for Ruby allows remote attackers to cause a denial of service (resource consumption) or bypass the mass assignment protection mechanism via a crafted JSON document that triggers the creation of arbitrary Ruby symbols or certain internal objects, as demonstrated by conducting a SQL injection attack against Ruby on Rails, aka "Unsafe Object Creation Vulnerability."

The weakness was presented 02/11/2013 by Thomas Hollstegge and Ben Murphy with Zweitag as confirmed mailinglist post (oss-sec mailing list). It is possible to read the advisory at seclists.org. The public release was coordinated in cooperation with the project team. This vulnerability is uniquely identified as CVE-2013-0269 since 12/06/2012. The exploitability is told to be easy. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. Technical details are unknown but a public exploit is available.

A public exploit has been developed in Ruby and been published immediately after the advisory. The exploit is shared for download at seclists.org. It is declared as proof-of-concept. The vulnerability scanner Nessus provides a plugin with the ID 74955 (openSUSE Security Update : ruby (openSUSE-SU-2013:0603-1)), 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 commercial vulnerability scanner Qualys is able to test this issue with plugin 166127 (SUSE Security Update for Ruby (openSUSE-SU-2013:0603-1)).

Upgrading to version 1.7.7 eliminates this vulnerability. A possible mitigation has been published immediately after the disclosure of the vulnerability.

The vulnerability is also documented in the databases at X-Force (82010) and Tenable (74955). See 7681, 7682 and 10949 for similar entries.

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB CVSS-B Score: 🔍
VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 8.6
VulDB Meta Temp Score: 7.5

VulDB Base Score: 8.6
VulDB Temp Score: 7.5
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock

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

NVD Base Score: 🔍

Exploitinginfo

Class: Input validation
CWE: CWE-20
ATT&CK: Unknown

Local: No
Remote: Yes

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

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-Dayunlockunlockunlockunlock
Todayunlockunlockunlockunlock

Nessus ID: 74955
Nessus Name: openSUSE Security Update : ruby (openSUSE-SU-2013:0603-1)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
Nessus Port: 🔍

OpenVAS ID: 865436
OpenVAS Name: Fedora Update for rubygem-json FEDORA-2013-3050
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

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

Upgrade: Ruby on Rails 1.7.7

Timelineinfo

12/06/2012 🔍
02/11/2013 +67 days 🔍
02/11/2013 +0 days 🔍
02/11/2013 +0 days 🔍
02/11/2013 +0 days 🔍
02/12/2013 +1 days 🔍
02/12/2013 +0 days 🔍
02/13/2013 +1 days 🔍
06/13/2014 +485 days 🔍
04/29/2019 +1781 days 🔍

Sourcesinfo

Advisory: seclists.org
Researcher: Thomas Hollstegge, Ben Murphy
Organization: Zweitag
Status: Confirmed
Confirmation: 🔍
Coordinated: 🔍

CVE: CVE-2013-0269 (🔍)
OVAL: 🔍

X-Force: 82010 - json gem for Ruby security bypass, Medium Risk
SecurityFocus: 57899 - JSON Denial of Service and Security Bypass Vulnerabilities
Secunia: 52075 - Ruby json Gem Document Parsing Vulnerability, Moderately Critical
OSVDB: 90074

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

Entryinfo

Created: 02/13/2013 10:36
Updated: 04/29/2019 12:30
Changes: 02/13/2013 10:36 (87), 04/29/2019 12:30 (2)
Complete: 🔍
Committer:

Discussion

No comments yet. Languages: en.

Please log in to comment.

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!