ID CVE-2015-7577
Summary 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.
References
Vulnerable Configurations
  • Ruby on Rails 5.0.0 Beta 1
    cpe:2.3:a:rubyonrails:ruby_on_rails:5.0.0:beta1
  • Ruby On Rails 4.2.5 Release Candidate 2
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.5:rc2
  • Ruby On Rails 4.2.5 Release Candidate 1
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.5:rc1
  • Ruby on Rails 4.2.5
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.5
  • Ruby On Rails 4.2.4 Release Candidate 1
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.4:rc1
  • Ruby on Rails 4.2.4
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.4
  • Ruby on Rails 4.2.3 Release Candidate 1
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.3:rc1
  • Ruby on Rails 4.2.3
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.3
  • Ruby on Rails 4.2.2
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.2
  • Ruby on Rails 4.2.1
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.1
  • Ruby on Rails 4.2.1 Release Candidate 4
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.1:rc4
  • Ruby on Rails 4.2.1 Release Candidate 3
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.1:rc3
  • Ruby on Rails 4.2.1 Release Candidate 2
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.1:rc2
  • Ruby on Rails 4.2.1 Release Candidate 1
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.1:rc1
  • cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.0
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.0
  • Ruby on Rails 4.2.0 Release Candidate 3
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.0:rc3
  • Ruby on Rails 4.2.0 Release Candidate 2
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.0:rc2
  • Ruby on Rails 4.2.0 Release Candidate 1
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.0:rc1
  • Ruby on Rails 4.2.0 Beta 4
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.0:beta4
  • Ruby on Rails 4.2.0 Beta 3
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.0:beta3
  • Ruby on Rails 4.2.0 Beta 2
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.0:beta2
  • Ruby on Rails 4.2.0 beta 1
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.2.0:beta1
  • cpe:2.3:a:rubyonrails:ruby_on_rails:4.1.14
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.1.14
  • Ruby On Rails 4.1.14 Release Candidate 2
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.1.14:rc2
  • Ruby On Rails 4.1.14 Release Candidate 1
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.1.14:rc1
  • cpe:2.3:a:rubyonrails:ruby_on_rails:4.1.13
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.1.13
  • Ruby On Rails 4.1.13 Release Candidate 1
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.1.13:rc1
  • Ruby On Rails 4.1.12 Release Candidate 1
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.1.12:rc1
  • cpe:2.3:a:rubyonrails:ruby_on_rails:4.1.12
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.1.12
  • cpe:2.3:a:rubyonrails:ruby_on_rails:4.1.11
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.1.11
  • cpe:2.3:a:rubyonrails:ruby_on_rails:4.1.10
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.1.10
  • Ruby On Rails 4.1.10 Release Candidate 4
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.1.10:rc4
  • Ruby On Rails 4.1.10 Release Candidate 3
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.1.10:rc3
  • Ruby On Rails 4.1.10 Release Candidate 2
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.1.10:rc2
  • Ruby On Rails 4.1.10 Release Candidate 1
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.1.10:rc1
  • cpe:2.3:a:rubyonrails:ruby_on_rails:4.1.9
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.1.9
  • Ruby On Rails 4.1.9 Release Candidate 1
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.1.9:rc1
  • Ruby on Rails 4.1.8
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.1.8
  • Ruby On Rails 4.1.7.1
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.1.7.1
  • Ruby on Rails Ruby on Rails 4.1.7
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.1.7
  • cpe:2.3:a:rubyonrails:ruby_on_rails:4.1.6
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.1.6
  • Ruby On Rails 4.1.6 Release Candidate 2
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.1.6:rc2
  • Ruby on Rails 4.1.6 Release Candidate 1
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.1.6:rc1
  • Ruby on Rails 4.1.5
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.1.5
  • Ruby on Rails 4.1.4
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.1.4
  • Ruby on Rails 4.1.3
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.1.3
  • Ruby on Rails 4.1.2 Release Candidate 3
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.1.2:rc3
  • Ruby on Rails 4.1.2 Release Candidate 2
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.1.2:rc2
  • Ruby on Rails 4.1.2 Release Candidate 1
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.1.2:rc1
  • Ruby on Rails 4.1.2
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.1.2
  • Ruby on Rails 4.1.1
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.1.1
  • Ruby on Rails 4.1.0
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.1.0
  • Ruby On Rails 4.1.0 Release Candidate 2
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.1.0:rc2
  • Ruby On Rails 4.1.0 Release Candidate 1
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.1.0:rc1
  • Ruby On Rails 4.1.0 Beta 2
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.1.0:beta2
  • Ruby on Rails 4.1.0 beta 1
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.1.0:beta1
  • cpe:2.3:a:rubyonrails:ruby_on_rails:4.0.13:rc1
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.0.13:rc1
  • cpe:2.3:a:rubyonrails:ruby_on_rails:4.0.13
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.0.13
  • cpe:2.3:a:rubyonrails:ruby_on_rails:4.0.12
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.0.12
  • cpe:2.3:a:rubyonrails:ruby_on_rails:4.0.11.1
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.0.11.1
  • cpe:2.3:a:rubyonrails:ruby_on_rails:4.0.11
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.0.11
  • cpe:2.3:a:rubyonrails:ruby_on_rails:4.0.10
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.0.10
  • cpe:2.3:a:rubyonrails:ruby_on_rails:4.0.10:rc2
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.0.10:rc2
  • Ruby on Rails 4.0.10 Release Candidate 1
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.0.10:rc1
  • Ruby on Rails 4.0.9
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.0.9
  • Ruby on Rails 4.0.8
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.0.8
  • Ruby on Rails 4.0.7
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.0.7
  • Ruby on Rails 4.0.6 Release Candidate 3
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.0.6:rc3
  • Ruby on Rails 4.0.6 Release Candidate 2
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.0.6:rc2
  • Ruby on Rails 4.0.6 Release Candidate 1
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.0.6:rc1
  • Ruby on Rails 4.0.6
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.0.6
  • Ruby on Rails 4.0.5
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.0.5
  • Ruby On Rails 4.0.4 Release Candidate 1
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.0.4:rc1
  • Ruby on Rails 4.0.4
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.0.4
  • Ruby on Rails 4.0.3
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.0.3
  • Ruby on Rails 4.0.2
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.0.2
  • Ruby on Rails 4.0.1
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.0.1
  • Ruby on Rails 4.0.1 Release Candidate 4
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.0.1:rc4
  • Ruby on Rails 4.0.1 Release Candidate 3
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.0.1:rc3
  • Ruby on Rails 4.0.1 Release Candidate 2
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.0.1:rc2
  • Ruby on Rails 4.0.1 Release Candidate 1
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.0.1:rc1
  • Ruby on Rails 4.0.0
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.0.0
  • Ruby on Rails 4.0.0 Release Candidate 2
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.0.0:rc2
  • Ruby on Rails 4.0.0 Release Candidate 1
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.0.0:rc1
  • Ruby on Rails 4.0.0 Beta
    cpe:2.3:a:rubyonrails:ruby_on_rails:4.0.0:beta
  • cpe:2.3:a:rubyonrails:ruby_on_rails:3.2.22
    cpe:2.3:a:rubyonrails:ruby_on_rails:3.2.22
CVSS
Base: 5.0 (as of 11-03-2016 - 15:11)
Impact:
Exploitability:
CWE CWE-284
CAPEC
  • Embedding Scripts within Scripts
    An attack of this type exploits a programs' vulnerabilities that are brought on by allowing remote hosts to execute scripts. The attacker leverages this capability to execute scripts to execute his/her own script by embedding it within other scripts that the target software is likely to execute. The attacker must have the ability to inject script into script that is likely to be executed. If this is done, then the attacker can potentially launch a variety of probes and attacks against the web server's local environment, in many cases the so-called DMZ, back end resources the web server can communicate with, and other hosts. With the proliferation of intermediaries, such as Web App Firewalls, network devices, and even printers having JVMs and Web servers, there are many locales where an attacker can inject malicious scripts. Since this attack pattern defines scripts within scripts, there are likely privileges to execute said attack on the host. Of course, these attacks are not solely limited to the server side, client side scripts like Ajax and client side JavaScript can contain malicious scripts as well. In general all that is required is for there to be sufficient privileges to execute a script, but not protected against writing.
  • Signature Spoofing by Key Theft
    An attacker obtains an authoritative or reputable signer's private signature key by theft and then uses this key to forge signatures from the original signer to mislead a victim into performing actions that benefit the attacker.
Access
VectorComplexityAuthentication
NETWORK LOW NONE
Impact
ConfidentialityIntegrityAvailability
NONE PARTIAL NONE
nessus via4
  • NASL family Debian Local Security Checks
    NASL id DEBIAN_DSA-3464.NASL
    description Multiple security issues have been discovered in the Ruby on Rails web application development framework, which may result in denial of service, cross-site scripting, information disclosure or bypass of input validation.
    last seen 2019-02-21
    modified 2018-11-10
    plugin id 88499
    published 2016-02-01
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=88499
    title Debian DSA-3464-1 : rails - security update
  • NASL family Debian Local Security Checks
    NASL id DEBIAN_DLA-496.NASL
    description CVE-2015-7577 activerecord/lib/active_record/nested_attributes.rb in Active Record 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. For Debian 7 'Wheezy', this problem have been fixed in version 3.2.6-5+deb7u2. We recommend that you upgrade your ruby-activerecord-3.2 packages. NOTE: Tenable Network Security has extracted the preceding description block directly from the DLA security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2018-07-06
    plugin id 91363
    published 2016-05-31
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=91363
    title Debian DLA-496-1 : ruby-activerecord-3.2 security update
  • NASL family SuSE Local Security Checks
    NASL id OPENSUSE-2016-159.NASL
    description This update for rubygem-actionpack-4_2, rubygem-actionview-4_2, rubygem-activemodel-4_2, rubygem-activerecord-4_2, rubygem-activesupport-4_2 fixes the following issues : - CVE-2015-7576: Timing attack vulnerability in basic authentication in Action Controller (boo#963329) - CVE-2016-0752: directory traversal and information leak in Action View (boo#963332) - CVE-2015-7581: unbounded memory growth DoS via wildcard controller routes (boo#963335) - CVE-2016-0751: rubygem-actionpack: Object Leak DoS (boo#963331) - CVE-2016-0753: Input Validation Circumvention (boo#963334) - CVE-2015-7577: Nested attributes rejection proc bypass (boo#963330)
    last seen 2019-02-21
    modified 2016-12-07
    plugin id 88612
    published 2016-02-08
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=88612
    title openSUSE Security Update : rubygem-actionpack-4_2 / rubygem-actionview-4_2 / rubygem-activemodel-4_2 / etc (openSUSE-2016-159)
  • NASL family FreeBSD Local Security Checks
    NASL id FREEBSD_PKG_BB0EF21D0E1B461BBC3D9CBA39948888.NASL
    description Ruby on Rails blog : Rails 5.0.0.beta1.1, 4.2.5.1, 4.1.14.1, and 3.2.22.1 have been released! These contain important security fixes, and it is recommended that users upgrade as soon as possible.
    last seen 2019-02-21
    modified 2018-12-19
    plugin id 88532
    published 2016-02-03
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=88532
    title FreeBSD : rails -- multiple vulnerabilities (bb0ef21d-0e1b-461b-bc3d-9cba39948888)
  • NASL family SuSE Local Security Checks
    NASL id OPENSUSE-2016-160.NASL
    description This update for rubygem-actionpack-3_2, rubygem-activesupport-3_2 fixes the following issues : - CVE-2015-7576: Timing attack vulnerability in basic authentication in Action Controller (boo#963329) - CVE-2016-0752: directory traversal and information leak in Action View (boo#963332) - CVE-2016-0751: rubygem-actionpack: Object Leak DoS (boo#963331) - CVE-2015-7577: Nested attributes rejection proc bypass (boo#963330)
    last seen 2019-02-21
    modified 2016-12-07
    plugin id 88613
    published 2016-02-08
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=88613
    title openSUSE Security Update : rubygem-actionpack-3_2 / rubygem-activesupport-3_2 (openSUSE-2016-160)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2016-CC465A34DF.NASL
    description Security fix for CVE-2015-7577 Security fix for CVE-2016-0753 Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2016-10-18
    plugin id 89616
    published 2016-03-04
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=89616
    title Fedora 23 : rubygem-activerecord-4.2.3-2.fc23 (2016-cc465a34df)
  • NASL family Fedora Local Security Checks
    NASL id FEDORA_2016-73FE05D878.NASL
    description Security fix for CVE-2015-7577 CVE-2016-0753 Note that Tenable Network Security has extracted the preceding description block directly from the Fedora security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen 2019-02-21
    modified 2016-10-18
    plugin id 89567
    published 2016-03-04
    reporter Tenable
    source https://www.tenable.com/plugins/index.php?view=single&id=89567
    title Fedora 22 : rubygem-activerecord-4.2.0-2.fc22 (2016-73fe05d878)
redhat via4
advisories
rhsa
id RHSA-2016:0296
refmap via4
bid 81806
debian DSA-3464
fedora
  • FEDORA-2016-73fe05d878
  • FEDORA-2016-cc465a34df
mlist
  • [oss-security] 20160125 [CVE-2015-7577] Nested attributes rejection proc bypass in Active Record.
  • [ruby-security-ann] 20160125 [CVE-2015-7577] Nested attributes rejection proc bypass in Active Record.
sectrack 1034816
suse
  • SUSE-SU-2016:1146
  • openSUSE-SU-2016:0363
  • openSUSE-SU-2016:0372
Last major update 05-12-2016 - 22:03
Published 15-02-2016 - 21:59
Last modified 09-09-2017 - 21:29
Back to Top