Ruby on Rails up to 4.2.7.0 Action Record Query access control
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.3 | $0-$5k | 0.00 |
Summary
A vulnerability, which was classified as critical, has been found in Ruby on Rails up to 4.2.7.0. Affected is an unknown function of the component Action Record. Performing a manipulation results in access control (Query). This vulnerability is known as CVE-2016-6317. Remote exploitation of the attack is possible. No exploit is available. It is advisable to upgrade the affected component.
Details
A vulnerability was found in Ruby on Rails up to 4.2.7.0 (Programming Language Software). It has been classified as critical. This affects an unknown functionality of the component Action Record. The manipulation with an unknown input leads to a access control vulnerability (Query). CWE is classifying the issue as CWE-284. The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor. This is going to have an impact on confidentiality, integrity, and availability. The summary by CVE is:
Action Record in Ruby on Rails 4.2.x before 4.2.7.1 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, CVE-2012-2694, and CVE-2013-0155.
The weakness was published 09/07/2016 by joernchen with Phenoelit (Website). The advisory is shared at weblog.rubyonrails.org. This vulnerability is uniquely identified as CVE-2016-6317 since 07/26/2016. The exploitability is told to be easy. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. Neither technical details nor an exploit are publicly available. MITRE ATT&CK project uses the attack technique T1068 for this issue.
The vulnerability scanner Nessus provides a plugin with the ID 94808 (Fedora 25 : 1:rubygem-actionmailer / 1:rubygem-actionpack / etc (2016-5760339e76)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Fedora Local Security Checks and running in the context l.
Upgrading to version 4.2.7.1 eliminates this vulnerability. A possible mitigation has been published even before and not after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at Tenable (94808) and SecurityFocus (BID 92434†). Similar entry is available at VDB-91364. If you want to get the best quality for vulnerability data then you always have to consider VulDB.
Product
Type
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.5VulDB Meta Temp Score: 7.3
VulDB Base Score: 7.5
VulDB Temp Score: 7.2
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 7.5
NVD Vector: 🔍
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
Name: QueryClass: Access control / Query
CWE: CWE-284 / CWE-266
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 94808
Nessus Name: Fedora 25 : 1:rubygem-actionmailer / 1:rubygem-actionpack / etc (2016-5760339e76)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
OpenVAS ID: 866863
OpenVAS Name: Fedora Update for rubygem-actioncable FEDORA-2016-5760339e76
OpenVAS File: 🔍
OpenVAS Family: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: Ruby on Rails 4.2.7.1
Timeline
07/26/2016 🔍08/08/2016 🔍
08/27/2016 🔍
09/07/2016 🔍
09/07/2016 🔍
09/08/2016 🔍
11/15/2016 🔍
09/15/2022 🔍
Sources
Advisory: FEDORA-2016-5760339e76Researcher: joernchen
Organization: Phenoelit
Status: Not defined
Confirmation: 🔍
CVE: CVE-2016-6317 (🔍)
GCVE (CVE): GCVE-0-2016-6317
GCVE (VulDB): GCVE-100-91365
SecurityFocus: 92434 - Ruby on Rails Active Record CVE-2016-6317 SQL Injection Vulnerability
See also: 🔍
Entry
Created: 09/08/2016 21:58Updated: 09/15/2022 09:09
Changes: 09/08/2016 21:58 (63), 04/12/2019 06:15 (15), 09/15/2022 09:04 (3), 09/15/2022 09:09 (1)
Complete: 🔍
Cache ID: 216::103
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
No comments yet. Languages: en.
Please log in to comment.