7.5
HIGH
CVE-2016-6317
Ruby on Rails Active Record JSON Bypass Vulnerability
Description

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.

INFO

Published Date :

Sept. 7, 2016, 7:28 p.m.

Last Modified :

Nov. 7, 2023, 2:33 a.m.

Remotely Exploitable :

Yes !

Impact Score :

3.6

Exploitability Score :

3.9
Public PoC/Exploit Available at Github

CVE-2016-6317 has a 2 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2016-6317 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Rubyonrails rails
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2016-6317.

URL Resource
http://rhn.redhat.com/errata/RHSA-2016-1855.html
http://weblog.rubyonrails.org/2016/8/11/Rails-5-0-0-1-4-2-7-2-and-3-2-22-3-have-been-released/ Release Notes
http://www.openwall.com/lists/oss-security/2016/08/11/4 Mailing List Third Party Advisory
http://www.securityfocus.com/bid/92434
https://groups.google.com/forum/#%21topic/ruby-security-ann/WccgKSKiPZA

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Ruby

Updated: 7 years, 1 month ago
0 stars 0 fork 0 watcher
Born at : Sept. 26, 2017, 4:42 p.m. This repo has been linked 4 different CVEs too.

None

Ruby Shell

Updated: 6 years, 10 months ago
3 stars 0 fork 0 watcher
Born at : Dec. 14, 2016, 9:40 p.m. This repo has been linked 2 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2016-6317 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2016-6317 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Nov. 07, 2023

    Action Type Old Value New Value
    Added Reference Red Hat, Inc. https://groups.google.com/forum/#%21topic/ruby-security-ann/WccgKSKiPZA [No types assigned]
    Removed Reference Red Hat, Inc. https://groups.google.com/forum/#!topic/ruby-security-ann/WccgKSKiPZA
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.5.2:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:4.2.5.2:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.5.1:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:4.2.5.1:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.2:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:4.2.2:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.7:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:4.2.7:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.7:rc1:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:4.2.7:rc1:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.6:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:4.2.6:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.6:rc1:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:4.2.6:rc1:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.5:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:4.2.5:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.5:rc2:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:4.2.5:rc2:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.5:rc1:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:4.2.5:rc1:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.4:rc1:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:4.2.4:rc1:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.4:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:4.2.4:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.3:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:4.2.3:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.3:rc1:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:4.2.3:rc1:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.1:rc4:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:4.2.1:rc4:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.1:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:4.2.1:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.1:rc3:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:4.2.1:rc3:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.1:rc2:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:4.2.1:rc2:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.1:rc1:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:4.2.1:rc1:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.0:*:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:4.2.0:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.0:rc3:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:4.2.0:rc3:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.0:rc2:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:4.2.0:rc2:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.0:rc1:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:4.2.0:rc1:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.0:beta4:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:4.2.0:beta4:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.0:beta3:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:4.2.0:beta3:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.0:beta2:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:4.2.0:beta2:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Aug. 08, 2019

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.0:beta1:*:*:*:*:*:* OR *cpe:2.3:a:rubyonrails:rails:4.2.0:beta1:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Aug. 13, 2018

    Action Type Old Value New Value
    Removed Reference https://groups.google.com/forum/#%21topic/ruby-security-ann/WccgKSKiPZA [Mailing List, Third Party Advisory]
    Added Reference https://groups.google.com/forum/#!topic/ruby-security-ann/WccgKSKiPZA [No Types Assigned]
  • CVE Modified by [email protected]

    Nov. 28, 2016

    Action Type Old Value New Value
    Added Reference http://www.securityfocus.com/bid/92434 [No Types Assigned]
    Added Reference http://rhn.redhat.com/errata/RHSA-2016-1855.html [No Types Assigned]
  • Modified Analysis by [email protected]

    Sep. 09, 2016

    Action Type Old Value New Value
    Changed Reference Type https://groups.google.com/forum/#%21topic/ruby-security-ann/WccgKSKiPZA No Types Assigned https://groups.google.com/forum/#%21topic/ruby-security-ann/WccgKSKiPZA Third Party Advisory, Mailing List
  • CVE Modified by [email protected]

    Sep. 09, 2016

    Action Type Old Value New Value
    Removed Reference https://groups.google.com/forum/#!topic/ruby-security-ann/WccgKSKiPZA
    Added Reference https://groups.google.com/forum/#%21topic/ruby-security-ann/WccgKSKiPZA
  • Modified Analysis by [email protected]

    Sep. 08, 2016

    Action Type Old Value New Value
    Added CPE Configuration Configuration 1 OR *cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.4:*:*:*:*:*:*:* *cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.3:*:*:*:*:*:*:* *cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.3:rc1:*:*:*:*:*:* *cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.4:rc1:*:*:*:*:*:* *cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.6:rc1:*:*:*:*:*:* *cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.1:rc1:*:*:*:*:*:* *cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.1:rc2:*:*:*:*:*:* *cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.1:rc3:*:*:*:*:*:* *cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.1:rc4:*:*:*:*:*:* *cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.1:*:*:*:*:*:*:* *cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.2:*:*:*:*:*:*:* *cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.5:*:*:*:*:*:*:* *cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.5:rc1:*:*:*:*:*:* *cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.5:rc2:*:*:*:*:*:* *cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.0:beta4:*:*:*:*:*:* *cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.0:beta3:*:*:*:*:*:* *cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.0:beta2:*:*:*:*:*:* *cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.0:rc1:*:*:*:*:*:* *cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.0:beta1:*:*:*:*:*:* *cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.0:rc2:*:*:*:*:*:* *cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.0:rc3:*:*:*:*:*:* *cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.5.1:*:*:*:*:*:*:* *cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.5.2:*:*:*:*:*:*:* *cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.6:*:*:*:*:*:*:* *cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.7:rc1:*:*:*:*:*:* *cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.7:*:*:*:*:*:*:* *cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.0:*:*:*:*:*:*:*
    Added CVSS V2 (AV:N/AC:L/Au:N/C:N/I:P/A:N)
    Added CVSS V3 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
    Changed Reference Type https://groups.google.com/forum/#!topic/ruby-security-ann/WccgKSKiPZA No Types Assigned https://groups.google.com/forum/#!topic/ruby-security-ann/WccgKSKiPZA Third Party Advisory
    Changed Reference Type http://www.openwall.com/lists/oss-security/2016/08/11/4 No Types Assigned http://www.openwall.com/lists/oss-security/2016/08/11/4 Third Party Advisory, Mailing List
    Changed Reference Type http://weblog.rubyonrails.org/2016/8/11/Rails-5-0-0-1-4-2-7-2-and-3-2-22-3-have-been-released/ No Types Assigned http://weblog.rubyonrails.org/2016/8/11/Rails-5-0-0-1-4-2-7-2-and-3-2-22-3-have-been-released/ Release Notes
    Added CWE CWE-284
    Added CWE CWE-476
  • Initial Analysis by [email protected]

    Sep. 08, 2016

    Action Type Old Value New Value
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2016-6317 is associated with the following CWEs:

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.37 }} 0.07%

score

0.73013

percentile

CVSS30 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability