Ruby on Rails up to 3.2.10 JSON Parameter Par access control

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

Summaryinfo

A vulnerability classified as critical was found in Ruby on Rails up to 3.2.10. This issue affects some unknown processing of the component JSON Parameter Par. The manipulation of the argument JSON results in access control. This vulnerability was named CVE-2013-0155. In addition, an exploit is available. Upgrading the affected component is advised.

Detailsinfo

A vulnerability classified as critical has been found in Ruby on Rails up to 3.2.10 (Programming Language Software). Affected is an unknown function of the component JSON Parameter Par. The manipulation of the argument JSON with an unknown input leads to a access control vulnerability. CWE is classifying the issue as CWE-264. This is going to have an impact on confidentiality, and integrity. CVE summarizes:

Ruby on Rails 3.0.x before 3.0.19, 3.1.x before 3.1.10, and 3.2.x before 3.2.11 does not properly consider differences in parameter handling between the Active Record component and the JSON implementation, which allows remote attackers to bypass intended database-query restrictions and perform NULL checks or trigger missing WHERE clauses via a crafted request, as demonstrated by certain "[nil]" values, a related issue to CVE-2012-2660 and CVE-2012-2694.

The weakness was presented 01/08/2013 by aaron as confirmed posting (Website). The advisory is shared for download at isc.sans.edu. This vulnerability is traded as CVE-2013-0155 since 12/06/2012. It is possible to launch the attack remotely. The exploitation doesn't require any form of authentication. Technical details and a public exploit are known. The MITRE ATT&CK project declares the attack technique as T1068.

After before and not just, there has been an exploit disclosed. The exploit is shared for download at blog.phusion.nl. It is declared as proof-of-concept. The vulnerability was handled as a non-public zero-day exploit for at least 5 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 75237 (openSUSE Security Update : rubygem-actionpack-3_2 (openSUSE-SU-2013:1906-1)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family SuSE Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 121907 (Fedora Security Update for rubygem-actionpack (FEDORA-2013-2363)).

Upgrading to version 3.2.11 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 Tenable (75237), SecurityFocus (BID 57192†), OSVDB (89025†), Secunia (SA51753†) and SecurityTracker (ID 1027960†). Further details are available at isc.sans.edu. See VDB-7309, VDB-9005 and VDB-9008 for similar entries. Once again VulDB remains the best 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.5
VulDB Meta Temp Score: 5.9

VulDB Base Score: 6.5
VulDB Temp Score: 5.9
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

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

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

NVD Base Score: 🔍

Exploitinginfo

Class: Access control
CWE: CWE-264
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: 75237
Nessus Name: openSUSE Security Update : rubygem-actionpack-3_2 (openSUSE-SU-2013:1906-1)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍

OpenVAS ID: 892609
OpenVAS Name: Debian Security Advisory DSA 2609-1 (rails - SQL query manipulation
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: 🔍

Upgrade: Ruby on Rails 3.2.11
PaloAlto IPS: 🔍

Timelineinfo

12/06/2012 🔍
01/03/2013 +28 days 🔍
01/08/2013 +5 days 🔍
01/08/2013 +0 days 🔍
01/08/2013 +0 days 🔍
01/08/2013 +0 days 🔍
01/09/2013 +1 days 🔍
01/09/2013 +0 days 🔍
01/10/2013 +1 days 🔍
01/13/2013 +3 days 🔍
01/13/2013 +0 days 🔍
06/13/2014 +516 days 🔍
04/22/2021 +2505 days 🔍

Sourcesinfo

Advisory: isc.sans.edu
Researcher: aaron
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2013-0155 (🔍)
GCVE (CVE): GCVE-0-2013-0155
GCVE (VulDB): GCVE-100-7308

OVAL: 🔍

SecurityFocus: 57192 - Ruby on Rails CVE-2013-0155 Unsafe SQL Query Generation Vulnerability
Secunia: 51753 - Ruby on Rails XML Parameter Parsing Vulnerability, Highly Critical
OSVDB: 89025
SecurityTracker: 1027960 - Ruby on Rails Active Record Bug Lets Remote Users Generate Unsafe Queries
Vulnerability Center: 38008 - Ruby on Rails Remote Limited DB Write due to Improper Parsing of Parameters, Medium

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

Entryinfo

Created: 01/10/2013 17:51
Updated: 04/22/2021 06:45
Changes: 01/10/2013 17:51 (83), 08/26/2017 06:40 (12), 04/22/2021 06:45 (3)
Complete: 🔍
Committer:
Cache ID: 216::103

Once again VulDB remains the best source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to know what is going to be exploited?

We predict KEV entries!