CVE Vulnerabilities

CVE-2015-7577

Improper Access Control

Published: Feb 16, 2016 | Modified: Aug 08, 2019
CVSS 3.x
5.3
MEDIUM
Source:
NVD
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
CVSS 2.x
5 MEDIUM
AV:N/AC:L/Au:N/C:N/I:P/A:N
RedHat/V2
4.3 MODERATE
AV:N/AC:M/Au:N/C:N/I:P/A:N
RedHat/V3
Ubuntu
MEDIUM

activerecord/lib/active_record/nested_attributes.rb in Active Record in Ruby on Rails 3.1.x and 3.2.x 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, and 5.x before 5.0.0.beta1.1 does not properly implement a certain destroy option, which allows remote attackers to bypass intended change restrictions by leveraging use of the nested attributes feature.

Weakness

The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.

Affected Software

Name Vendor Start Version End Version
Rails Rubyonrails 4.0.0 (including) 4.0.0 (including)
Rails Rubyonrails 4.0.0-beta (including) 4.0.0-beta (including)
Rails Rubyonrails 4.0.0-rc1 (including) 4.0.0-rc1 (including)
Rails Rubyonrails 4.0.0-rc2 (including) 4.0.0-rc2 (including)
Rails Rubyonrails 4.0.1 (including) 4.0.1 (including)
Rails Rubyonrails 4.0.1-rc1 (including) 4.0.1-rc1 (including)
Rails Rubyonrails 4.0.1-rc2 (including) 4.0.1-rc2 (including)
Rails Rubyonrails 4.0.1-rc3 (including) 4.0.1-rc3 (including)
Rails Rubyonrails 4.0.1-rc4 (including) 4.0.1-rc4 (including)
Rails Rubyonrails 4.0.2 (including) 4.0.2 (including)
Rails Rubyonrails 4.0.3 (including) 4.0.3 (including)
Rails Rubyonrails 4.0.4 (including) 4.0.4 (including)
Rails Rubyonrails 4.0.4-rc1 (including) 4.0.4-rc1 (including)
Rails Rubyonrails 4.0.5 (including) 4.0.5 (including)
Rails Rubyonrails 4.0.6 (including) 4.0.6 (including)
Rails Rubyonrails 4.0.6-rc1 (including) 4.0.6-rc1 (including)
Rails Rubyonrails 4.0.6-rc2 (including) 4.0.6-rc2 (including)
Rails Rubyonrails 4.0.6-rc3 (including) 4.0.6-rc3 (including)
Rails Rubyonrails 4.0.7 (including) 4.0.7 (including)
Rails Rubyonrails 4.0.8 (including) 4.0.8 (including)
Rails Rubyonrails 4.0.9 (including) 4.0.9 (including)
Rails Rubyonrails 4.0.10 (including) 4.0.10 (including)
Rails Rubyonrails 4.0.10-rc1 (including) 4.0.10-rc1 (including)
Rails Rubyonrails 4.1.0 (including) 4.1.0 (including)
Rails Rubyonrails 4.1.0-beta1 (including) 4.1.0-beta1 (including)
Rails Rubyonrails 4.1.0-beta2 (including) 4.1.0-beta2 (including)
Rails Rubyonrails 4.1.0-rc1 (including) 4.1.0-rc1 (including)
Rails Rubyonrails 4.1.0-rc2 (including) 4.1.0-rc2 (including)
Rails Rubyonrails 4.1.1 (including) 4.1.1 (including)
Rails Rubyonrails 4.1.2 (including) 4.1.2 (including)
Rails Rubyonrails 4.1.2-rc1 (including) 4.1.2-rc1 (including)
Rails Rubyonrails 4.1.2-rc2 (including) 4.1.2-rc2 (including)
Rails Rubyonrails 4.1.2-rc3 (including) 4.1.2-rc3 (including)
Rails Rubyonrails 4.1.3 (including) 4.1.3 (including)
Rails Rubyonrails 4.1.4 (including) 4.1.4 (including)
Rails Rubyonrails 4.1.5 (including) 4.1.5 (including)
Rails Rubyonrails 4.1.6 (including) 4.1.6 (including)
Rails Rubyonrails 4.1.6-rc1 (including) 4.1.6-rc1 (including)
Rails Rubyonrails 4.1.6-rc2 (including) 4.1.6-rc2 (including)
Rails Rubyonrails 4.1.7 (including) 4.1.7 (including)
Rails Rubyonrails 4.1.7.1 (including) 4.1.7.1 (including)
Rails Rubyonrails 4.1.8 (including) 4.1.8 (including)
Rails Rubyonrails 4.1.9 (including) 4.1.9 (including)
Rails Rubyonrails 4.1.9-rc1 (including) 4.1.9-rc1 (including)
Rails Rubyonrails 4.1.10 (including) 4.1.10 (including)
Rails Rubyonrails 4.1.10-rc1 (including) 4.1.10-rc1 (including)
Rails Rubyonrails 4.1.10-rc2 (including) 4.1.10-rc2 (including)
Rails Rubyonrails 4.1.10-rc3 (including) 4.1.10-rc3 (including)
Rails Rubyonrails 4.1.10-rc4 (including) 4.1.10-rc4 (including)
Rails Rubyonrails 4.1.12 (including) 4.1.12 (including)
Rails Rubyonrails 4.1.12-rc1 (including) 4.1.12-rc1 (including)
Rails Rubyonrails 4.1.13 (including) 4.1.13 (including)
Rails Rubyonrails 4.1.13-rc1 (including) 4.1.13-rc1 (including)
Rails Rubyonrails 4.1.14 (including) 4.1.14 (including)
Rails Rubyonrails 4.1.14-rc1 (including) 4.1.14-rc1 (including)
Rails Rubyonrails 4.1.14-rc2 (including) 4.1.14-rc2 (including)
Rails Rubyonrails 4.2.0 (including) 4.2.0 (including)
Rails Rubyonrails 4.2.0-beta1 (including) 4.2.0-beta1 (including)
Rails Rubyonrails 4.2.0-beta2 (including) 4.2.0-beta2 (including)
Rails Rubyonrails 4.2.0-beta3 (including) 4.2.0-beta3 (including)
Rails Rubyonrails 4.2.0-beta4 (including) 4.2.0-beta4 (including)
Rails Rubyonrails 4.2.0-rc1 (including) 4.2.0-rc1 (including)
Rails Rubyonrails 4.2.0-rc2 (including) 4.2.0-rc2 (including)
Rails Rubyonrails 4.2.0-rc3 (including) 4.2.0-rc3 (including)
Rails Rubyonrails 4.2.1 (including) 4.2.1 (including)
Rails Rubyonrails 4.2.1-rc1 (including) 4.2.1-rc1 (including)
Rails Rubyonrails 4.2.1-rc2 (including) 4.2.1-rc2 (including)
Rails Rubyonrails 4.2.1-rc3 (including) 4.2.1-rc3 (including)
Rails Rubyonrails 4.2.1-rc4 (including) 4.2.1-rc4 (including)
Rails Rubyonrails 4.2.2 (including) 4.2.2 (including)
Rails Rubyonrails 4.2.3 (including) 4.2.3 (including)
Rails Rubyonrails 4.2.3-rc1 (including) 4.2.3-rc1 (including)
Rails Rubyonrails 4.2.4 (including) 4.2.4 (including)
Rails Rubyonrails 4.2.4-rc1 (including) 4.2.4-rc1 (including)
Rails Rubyonrails 4.2.5 (including) 4.2.5 (including)
Rails Rubyonrails 4.2.5-rc1 (including) 4.2.5-rc1 (including)
Rails Rubyonrails 4.2.5-rc2 (including) 4.2.5-rc2 (including)
Rails Rubyonrails 5.0.0-beta1 (including) 5.0.0-beta1 (including)
Ruby_on_rails Rubyonrails * 3.2.22 (including)
Ruby_on_rails Rubyonrails 4.0.10-rc2 (including) 4.0.10-rc2 (including)
Ruby_on_rails Rubyonrails 4.0.11 (including) 4.0.11 (including)
Ruby_on_rails Rubyonrails 4.0.11.1 (including) 4.0.11.1 (including)
Ruby_on_rails Rubyonrails 4.0.12 (including) 4.0.12 (including)
Ruby_on_rails Rubyonrails 4.0.13 (including) 4.0.13 (including)
Ruby_on_rails Rubyonrails 4.0.13-rc1 (including) 4.0.13-rc1 (including)
Ruby_on_rails Rubyonrails 4.1.11 (including) 4.1.11 (including)
Red Hat Software Collections for Red Hat Enterprise Linux 6 RedHat rh-ror41-rubygem-actionpack-1:4.1.5-3.el6 *
Red Hat Software Collections for Red Hat Enterprise Linux 6 RedHat rh-ror41-rubygem-actionview-0:4.1.5-4.el6 *
Red Hat Software Collections for Red Hat Enterprise Linux 6 RedHat rh-ror41-rubygem-activemodel-0:4.1.5-2.el6 *
Red Hat Software Collections for Red Hat Enterprise Linux 6 RedHat rh-ror41-rubygem-activerecord-1:4.1.5-2.el6 *
Red Hat Software Collections for Red Hat Enterprise Linux 6 RedHat rh-ror41-rubygem-activesupport-1:4.1.5-3.el6 *
Red Hat Software Collections for Red Hat Enterprise Linux 6 RedHat ror40-rubygem-actionpack-1:4.0.2-7.el6 *
Red Hat Software Collections for Red Hat Enterprise Linux 6 RedHat ror40-rubygem-activerecord-1:4.0.2-6.el6 *
Red Hat Software Collections for Red Hat Enterprise Linux 6 RedHat ror40-rubygem-activesupport-1:4.0.2-4.el6 *
Red Hat Software Collections for Red Hat Enterprise Linux 6 RedHat ruby193-rubygem-actionpack-1:3.2.8-16.el6 *
Red Hat Software Collections for Red Hat Enterprise Linux 6 RedHat ruby193-rubygem-activerecord-1:3.2.8-11.el6 *
Red Hat Software Collections for Red Hat Enterprise Linux 6 RedHat ruby193-rubygem-activesupport-1:3.2.8-6.el6 *
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS RedHat rh-ror41-rubygem-actionpack-1:4.1.5-3.el6 *
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS RedHat rh-ror41-rubygem-actionview-0:4.1.5-4.el6 *
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS RedHat rh-ror41-rubygem-activemodel-0:4.1.5-2.el6 *
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS RedHat rh-ror41-rubygem-activerecord-1:4.1.5-2.el6 *
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS RedHat rh-ror41-rubygem-activesupport-1:4.1.5-3.el6 *
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS RedHat ror40-rubygem-actionpack-1:4.0.2-7.el6 *
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS RedHat ror40-rubygem-activerecord-1:4.0.2-6.el6 *
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS RedHat ror40-rubygem-activesupport-1:4.0.2-4.el6 *
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS RedHat ruby193-rubygem-actionpack-1:3.2.8-16.el6 *
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS RedHat ruby193-rubygem-activerecord-1:3.2.8-11.el6 *
Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS RedHat ruby193-rubygem-activesupport-1:3.2.8-6.el6 *
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS RedHat rh-ror41-rubygem-actionpack-1:4.1.5-3.el6 *
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS RedHat rh-ror41-rubygem-actionview-0:4.1.5-4.el6 *
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS RedHat rh-ror41-rubygem-activemodel-0:4.1.5-2.el6 *
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS RedHat rh-ror41-rubygem-activerecord-1:4.1.5-2.el6 *
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS RedHat rh-ror41-rubygem-activesupport-1:4.1.5-3.el6 *
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS RedHat ror40-rubygem-actionpack-1:4.0.2-7.el6 *
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS RedHat ror40-rubygem-activerecord-1:4.0.2-6.el6 *
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS RedHat ror40-rubygem-activesupport-1:4.0.2-4.el6 *
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS RedHat ruby193-rubygem-actionpack-1:3.2.8-16.el6 *
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS RedHat ruby193-rubygem-activerecord-1:3.2.8-11.el6 *
Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS RedHat ruby193-rubygem-activesupport-1:3.2.8-6.el6 *
Red Hat Software Collections for Red Hat Enterprise Linux 7 RedHat rh-ror41-rubygem-actionpack-1:4.1.5-3.el7 *
Red Hat Software Collections for Red Hat Enterprise Linux 7 RedHat rh-ror41-rubygem-actionview-0:4.1.5-4.el7 *
Red Hat Software Collections for Red Hat Enterprise Linux 7 RedHat rh-ror41-rubygem-activemodel-0:4.1.5-2.el7 *
Red Hat Software Collections for Red Hat Enterprise Linux 7 RedHat rh-ror41-rubygem-activerecord-1:4.1.5-2.el7 *
Red Hat Software Collections for Red Hat Enterprise Linux 7 RedHat rh-ror41-rubygem-activesupport-1:4.1.5-3.el7 *
Red Hat Software Collections for Red Hat Enterprise Linux 7 RedHat ror40-rubygem-actionpack-1:4.0.2-7.el7 *
Red Hat Software Collections for Red Hat Enterprise Linux 7 RedHat ror40-rubygem-activerecord-1:4.0.2-6.el7 *
Red Hat Software Collections for Red Hat Enterprise Linux 7 RedHat ror40-rubygem-activesupport-1:4.0.2-4.el7 *
Red Hat Software Collections for Red Hat Enterprise Linux 7 RedHat ruby193-rubygem-actionpack-1:3.2.8-16.el7 *
Red Hat Software Collections for Red Hat Enterprise Linux 7 RedHat ruby193-rubygem-activerecord-1:3.2.8-11.el7 *
Red Hat Software Collections for Red Hat Enterprise Linux 7 RedHat ruby193-rubygem-activesupport-1:3.2.8-6.el7 *
Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUS RedHat rh-ror41-rubygem-actionpack-1:4.1.5-3.el7 *
Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUS RedHat rh-ror41-rubygem-actionview-0:4.1.5-4.el7 *
Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUS RedHat rh-ror41-rubygem-activemodel-0:4.1.5-2.el7 *
Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUS RedHat rh-ror41-rubygem-activerecord-1:4.1.5-2.el7 *
Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUS RedHat rh-ror41-rubygem-activesupport-1:4.1.5-3.el7 *
Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUS RedHat ror40-rubygem-actionpack-1:4.0.2-7.el7 *
Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUS RedHat ror40-rubygem-activerecord-1:4.0.2-6.el7 *
Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUS RedHat ror40-rubygem-activesupport-1:4.0.2-4.el7 *
Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUS RedHat ruby193-rubygem-actionpack-1:3.2.8-16.el7 *
Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUS RedHat ruby193-rubygem-activerecord-1:3.2.8-11.el7 *
Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUS RedHat ruby193-rubygem-activesupport-1:3.2.8-6.el7 *
Red Hat Software Collections for Red Hat Enterprise Linux 7.2 EUS RedHat rh-ror41-rubygem-actionpack-1:4.1.5-3.el7 *
Red Hat Software Collections for Red Hat Enterprise Linux 7.2 EUS RedHat rh-ror41-rubygem-actionview-0:4.1.5-4.el7 *
Red Hat Software Collections for Red Hat Enterprise Linux 7.2 EUS RedHat rh-ror41-rubygem-activemodel-0:4.1.5-2.el7 *
Red Hat Software Collections for Red Hat Enterprise Linux 7.2 EUS RedHat rh-ror41-rubygem-activerecord-1:4.1.5-2.el7 *
Red Hat Software Collections for Red Hat Enterprise Linux 7.2 EUS RedHat rh-ror41-rubygem-activesupport-1:4.1.5-3.el7 *
Red Hat Software Collections for Red Hat Enterprise Linux 7.2 EUS RedHat ror40-rubygem-actionpack-1:4.0.2-7.el7 *
Red Hat Software Collections for Red Hat Enterprise Linux 7.2 EUS RedHat ror40-rubygem-activerecord-1:4.0.2-6.el7 *
Red Hat Software Collections for Red Hat Enterprise Linux 7.2 EUS RedHat ror40-rubygem-activesupport-1:4.0.2-4.el7 *
Red Hat Software Collections for Red Hat Enterprise Linux 7.2 EUS RedHat ruby193-rubygem-actionpack-1:3.2.8-16.el7 *
Red Hat Software Collections for Red Hat Enterprise Linux 7.2 EUS RedHat ruby193-rubygem-activerecord-1:3.2.8-11.el7 *
Red Hat Software Collections for Red Hat Enterprise Linux 7.2 EUS RedHat ruby193-rubygem-activesupport-1:3.2.8-6.el7 *
Rails Ubuntu artful *
Rails Ubuntu upstream *
Rails Ubuntu vivid *
Rails Ubuntu wily *
Rails Ubuntu yakkety *
Rails Ubuntu zesty *
Rails-4.0 Ubuntu trusty *
Rails-4.0 Ubuntu upstream *
Ruby-actionpack-2.3 Ubuntu upstream *
Ruby-activerecord-2.3 Ubuntu upstream *
Ruby-activerecord-3.2 Ubuntu trusty *
Ruby-activerecord-3.2 Ubuntu upstream *
Ruby-activesupport-2.3 Ubuntu upstream *
Ruby-rails-2.3 Ubuntu upstream *
Ruby-rails-3.2 Ubuntu trusty *
Ruby-rails-3.2 Ubuntu upstream *

Extended Description

Access control involves the use of several protection mechanisms such as:

When any mechanism is not applied or otherwise fails, attackers can compromise the security of the product by gaining privileges, reading sensitive information, executing commands, evading detection, etc. There are two distinct behaviors that can introduce access control weaknesses:

Potential Mitigations

  • Compartmentalize the system to have “safe” areas where trust boundaries can be unambiguously drawn. Do not allow sensitive data to go outside of the trust boundary and always be careful when interfacing with a compartment outside of the safe area.
  • Ensure that appropriate compartmentalization is built into the system design, and the compartmentalization allows for and reinforces privilege separation functionality. Architects and designers should rely on the principle of least privilege to decide the appropriate time to use privileges and the time to drop privileges.

References