CVE-2016-6317: 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…
Noroxi assessment
Priority: Monitor (action score 31/100)
- Public proof-of-concept code exists (GitHub); there is no record of exploitation in the wild.
- Probability of exploitation in the next 30 days: 3.9% (FIRST EPSS); higher than 90.4% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: rails (Debian:12) 2:4.2.7.1-1; rh-ror42-rubygem-actionpack (Red Hat:rhel_software_collections:2::el7) 1:4.2.6-3.el7; rh-ror42-rubygem-actionpack-doc (Red Hat:rhel_software_collections:2::el7) 1:4.2.6-3.el7.
Low priority for now. Upgrade to rails (Debian:12) 2:4.2.7.1-1; rh-ror42-rubygem-actionpack (Red Hat:rhel_software_collections:2::el7) 1:4.2.6-3.el7; rh-ror42-rubygem-actionpack-doc (Red Hat:rhel_software_collections:2::el7) 1:4.2.6-3.el7 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Sep 7, 2016
- Updated
- Jun 16, 2026
- EPSS
- 3.9% · 90th percentile
- CWE
- CWE-284
Report tools
Action score
31
Low priority for now.
- CVSS
- 30 / 40 · 7.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 3.9%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- Proof of concept exists, no weaponized module
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| rubyonrails | rails | cpe:2.3:a:rubyonrails:rails |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- rubyonrails rails4.2.0
- rubyonrails rails4.2.1
- rubyonrails rails4.2.2
- rubyonrails rails4.2.3
- rubyonrails rails4.2.4
- rubyonrails rails4.2.5
- rubyonrails rails4.2.5.1
- rubyonrails rails4.2.5.2
- rubyonrails rails4.2.6
- rubyonrails rails4.2.7
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | rails | before 2:4.2.7.1-1 | 2:4.2.7.1-1 |
| Red Hat:rhel_software_collections:2::el7 | rh-ror42-rubygem-actionpack | before 1:4.2.6-3.el7 | 1:4.2.6-3.el7 |
| Red Hat:rhel_software_collections:2::el7 | rh-ror42-rubygem-actionpack-doc | before 1:4.2.6-3.el7 | 1:4.2.6-3.el7 |
| Red Hat:rhel_software_collections:2::el7 | rh-ror42-rubygem-actionview | before 0:4.2.6-3.el7 | 0:4.2.6-3.el7 |
| Red Hat:rhel_software_collections:2::el7 | rh-ror42-rubygem-actionview-doc | before 0:4.2.6-3.el7 | 0:4.2.6-3.el7 |
| Red Hat:rhel_software_collections:2::el7 | rh-ror42-rubygem-activerecord | before 1:4.2.6-3.el7 | 1:4.2.6-3.el7 |
| Red Hat:rhel_software_collections:2::el7 | rh-ror42-rubygem-activerecord-doc | before 1:4.2.6-3.el7 | 1:4.2.6-3.el7 |
| RubyGems | activerecord | from 4.2.0 · before 4.2.7.1 | 4.2.7.1 |
| SUSE:OpenStack Cloud 6 | rubygem-actionmailer-4_2 | before 4.2.9-3.3.1 | 4.2.9-3.3.1 |
| SUSE:OpenStack Cloud 6 | rubygem-actionpack-4_2 | before 4.2.9-7.3.1 | 4.2.9-7.3.1 |
| SUSE:OpenStack Cloud 6 | rubygem-actionview-4_2 | before 4.2.9-9.3.1 | 4.2.9-9.3.1 |
| SUSE:OpenStack Cloud 6 | rubygem-activejob-4_2 | before 4.2.9-3.3.1 | 4.2.9-3.3.1 |
| SUSE:OpenStack Cloud 6 | rubygem-activemodel-4_2 | before 4.2.9-6.3.1 | 4.2.9-6.3.1 |
| SUSE:OpenStack Cloud 6 | rubygem-activerecord-4_2 | before 4.2.9-6.3.1 | 4.2.9-6.3.1 |
| SUSE:OpenStack Cloud 6 | rubygem-activesupport-4_2 | before 4.2.9-7.3.1 | 4.2.9-7.3.1 |
| SUSE:OpenStack Cloud 6 | rubygem-rails-4_2 | before 4.2.9-3.3.1 | 4.2.9-3.3.1 |
| SUSE:OpenStack Cloud 6 | rubygem-rails-html-sanitizer | before 1.0.3-8.3.1 | 1.0.3-8.3.1 |
| SUSE:OpenStack Cloud 6 | rubygem-railties-4_2 | before 4.2.9-3.3.1 | 4.2.9-3.3.1 |
Same product
rubyonrails: all recordsOther highest-scoring records for the same primary product.
- CVE-2019-5418There is a File Content Disclosure vulnerability in Action View <5.2.2.1, <5.1.6.2, <5.0.7.2, <4.2.11.1 and v3 where specially crafted…KEV90Now
- CVE-2016-0752Directory traversal vulnerability in Action View in Ruby on Rails before 3.2.22.1, 4.0.x and 4.1.x before 4.1.14.1, 4.2.x before 4.2.5.1…KEV89Now
- CVE-2019-5420A remote code execution vulnerability in development mode Rails <5.2.2.1, <6.0.0.beta3 can allow an attacker to guess the automatically…66This week
Published before and after this one in the same product
- ← EarlierCVE-2016-2097Apr 7, 2016 · Directory traversal vulnerability in Action View in Ruby on Rails before 3.2.22.2 and 4.x before 4.1.14.2 allows remote attackers to read…22Monitor
- ← EarlierCVE-2016-6316Sep 7, 2016 · Cross-site scripting (XSS) vulnerability in Action View in Ruby on Rails 3.x before 3.2.22.3, 4.x before 4.2.7.1, and 5.x before 5.0.0.1…25Monitor
- Later →CVE-2017-17916Dec 29, 2017 · SQL injection vulnerability in the 'find_by' method in Ruby on Rails 5.1.4 and earlier allows remote attackers to execute arbitrary SQL…32Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:rails | 2:4.2.7.1-1 · Debian:12 | Package registry (OSV) |
| red hat:rh-ror42-rubygem-actionpack | 1:4.2.6-3.el7 · Red Hat:rhel_software_collections:2::el7 | Package registry (OSV) |
| red hat:rh-ror42-rubygem-actionpack-doc | 1:4.2.6-3.el7 · Red Hat:rhel_software_collections:2::el7 | Package registry (OSV) |
| red hat:rh-ror42-rubygem-actionview | 0:4.2.6-3.el7 · Red Hat:rhel_software_collections:2::el7 | Package registry (OSV) |
| red hat:rh-ror42-rubygem-actionview-doc | 0:4.2.6-3.el7 · Red Hat:rhel_software_collections:2::el7 | Package registry (OSV) |
| red hat:rh-ror42-rubygem-activerecord | 1:4.2.6-3.el7 · Red Hat:rhel_software_collections:2::el7 | Package registry (OSV) |
| red hat:rh-ror42-rubygem-activerecord-doc | 1:4.2.6-3.el7 · Red Hat:rhel_software_collections:2::el7 | Package registry (OSV) |
| RubyGems:activerecord | 4.2.7.1 | Package registry (OSV) |
| suse:rubygem-actionmailer-4_2 | 4.2.9-3.3.1 · SUSE:OpenStack Cloud 6 | Package registry (OSV) |
| suse:rubygem-actionpack-4_2 | 4.2.9-7.3.1 · SUSE:OpenStack Cloud 6 | Package registry (OSV) |
| suse:rubygem-actionview-4_2 | 4.2.9-9.3.1 · SUSE:OpenStack Cloud 6 | Package registry (OSV) |
| suse:rubygem-activejob-4_2 | 4.2.9-3.3.1 · SUSE:OpenStack Cloud 6 | Package registry (OSV) |
| suse:rubygem-activemodel-4_2 | 4.2.9-6.3.1 · SUSE:OpenStack Cloud 6 | Package registry (OSV) |
| suse:rubygem-activerecord-4_2 | 4.2.9-6.3.1 · SUSE:OpenStack Cloud 6 | Package registry (OSV) |
| suse:rubygem-activesupport-4_2 | 4.2.9-7.3.1 · SUSE:OpenStack Cloud 6 | Package registry (OSV) |
| suse:rubygem-rails-4_2 | 4.2.9-3.3.1 · SUSE:OpenStack Cloud 6 | Package registry (OSV) |
| suse:rubygem-rails-html-sanitizer | 1.0.3-8.3.1 · SUSE:OpenStack Cloud 6 | Package registry (OSV) |
| suse:rubygem-railties-4_2 | 4.2.9-3.3.1 · SUSE:OpenStack Cloud 6 | Package registry (OSV) |
Exploit status
Proof of concept available
A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.
Evidence
- Proof-of-concept repository on GitHub ×1
Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.
| Source | Kind | Date |
|---|---|---|
| Proof-of-concept repository on GitHub | stars:0 | 2017-09-26 |
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
- Published
- First PoC+383 d
- TodayNov 15, 2026+3721 d
Bug bounty scope
The product’s vendor appears in a public program. Matched by name; verify the scope text in the program.
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- high · data or configuration can be modified
- Availability
- none
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- High
- Availability impact
- None
Weakness class (CWE)
CWE-284 · Improper Access ControlCVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Embedding Scripts within ScriptsCAPEC-19likelihood: High · High
- Malicious Logic InsertionCAPEC-441likelihood: Medium · High
- Modification of Windows Service ConfigurationCAPEC-478likelihood: Low · High
- Malicious Root CertificateCAPEC-479likelihood: Low · Low
- Intent SpoofCAPEC-502
- WebView ExposureCAPEC-503
- Data Injected During ConfigurationCAPEC-536likelihood: Low · High
- Incomplete Data Deletion in a Multi-Tenant EnvironmentCAPEC-546likelihood: Low · Medium
ATT&CK techniques
- RootkitT1014
- Obfuscated Files or Information: Embedded PayloadsT1027.009
- Boot or Logon Initialization ScriptsT1037
- Taint shared contentT1080
- Server Software Component: Terminal Services DLLT1505.005
- Pre-OS Boot:BootkitT1542.003
- Create or Modify System ProcessT1543
- Create or Modify System Process: Launch AgentT1543.001
- Create or Modify System Process:Windows ServiceT1543.003
- Create or Modify System Process: Launch DaemonT1543.004
- Event Triggered Execution:Change Default File AssociationT1546.001
- Event Triggered Execution:.bash_profile and .bashrcT1546.004
- Event Triggered Execution: Accessibility FeaturesT1546.008
- Event Triggered Execution: Installer PackagesT1546.016
- Boot or Logon Autostart ExecutionT1547
- Boot or Logon Autostart Execution:Kernel Modules and ExtensionsT1547.006
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (4 more)Show less
Vendor advisories and official records. Exploit/PoC links are deliberately left out.