CVE-2016-0752 kev in the critical feed json
Directory traversal vulnerability in Action View in Ruby on Rails
published 2016-02-16 10 y ago modified 2026-06-17 4 mo ago also GHSA-xrr4-p6fq-hjg7 , EUVD-2017-0333
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Exploited
- added 2022-03-25
- epss
- 95.5%
- EPSS 95.5% chance of exploitation in 30 days, percentile 99.8%
- public exploits
- 2
- Metasploit, Exploit-DB
Summary
Directory 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, and 5.x before 5.0.0.beta1.1 allows remote attackers to read arbitrary files by leveraging an application's unrestricted use of the render method and providing a .. (dot dot) in a pathname.
Patch / fix
cisa required action Apply updates per vendor instructions.
- rubygems actionview 4.1.14.1, 4.2.5.1
- rubygems actionpack 3.2.22.1, 4.1.14.1, 4.2.5.1
- rubyonrails rails 3.2.22.1, 4.1.14.1, 4.2.5.1
- rails Debian 14, Debian 13, Debian 12 2:4.2.5.1-1
debian advisories DEBIAN-CVE-2016-0752
- ruby193-rubygem-actionpack RHEL 2 SOFTWARE_COLLECTIONS 1:3.2.8-16.el6
- ruby193-rubygem-actionpack RHEL 2 SOFTWARE_COLLECTIONS 1:3.2.8-16.el7
- ruby193-rubygem-activerecord RHEL 2 SOFTWARE_COLLECTIONS 1:3.2.8-11.el6
- ruby193-rubygem-activerecord RHEL 2 SOFTWARE_COLLECTIONS 1:3.2.8-11.el7
- ruby193-rubygem-activesupport RHEL 2 SOFTWARE_COLLECTIONS 1:3.2.8-6.el6
- ruby193-rubygem-activesupport RHEL 2 SOFTWARE_COLLECTIONS 1:3.2.8-6.el7
- ror40-rubygem-actionpack RHEL 2 SOFTWARE_COLLECTIONS 1:4.0.2-7.el6
- ror40-rubygem-actionpack RHEL 2 SOFTWARE_COLLECTIONS 1:4.0.2-7.el7
red hat advisories RHSA-2016:0455RHSA-2016:0454RHSA-2016:0296
- susestudio Studio Onsite Runner 1.3, Studio Onsite 1.3 1.3.14-52.1
- qemu-ext2 Studio Onsite Runner 1.3, Studio Onsite 1.3 0.1.1-0.9.4.19
- libjansson Studio Onsite Runner 1.3, Studio Onsite 1.3 2.2.1-0.9.11.6
- studio-help Studio Onsite Runner 1.3, Studio Onsite 1.3 1.3.20-0.6.9
- rubygem-bundler19 Studio Onsite Runner 1.3, Studio Onsite 1.3 1.7.0-0.13.10
- portus SLE Module for Containers 12 2.0.3-2.4
- rubygem-actionpack-4_1 OpenStack Cloud 5 4.1.9-9.1
- rubygem-actionpack-3_2 WebYast 1.3, Studio Onsite 1.3, SLE Software Development Kit 11 SP4 +1 more 3.2.12-0.23.1
suse advisories SUSE-SU-2017:0475-1SUSE-SU-2016:1146-1SUSE-SU-2016:0858-1SUSE-SU-2016:0618-1SUSE-SU-2016:0599-1SUSE-SU-2016:0457-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2016-0752 updated cvss 6.8
rubygem-actionpack: directory traversal flaw in Action View
-
Red Hat CloudForms Management Engine 5 ruby193-rubygem-actionpack Red Hat Subscription Asset Manager rubygem-actionpack, ruby193-rubygem-actionpackaffected: workaround, no fix planned “Will not fix”
-
Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) ror40-rubygem-actionpack 4.0.2-7.el6, ror40-rubygem-activerecord 4.0.2-6.el6, rh-ror41-rubygem-actionpack 4.1.5-3.el6, rh-ror41-rubygem-actionview 4.1.5-4.el6, ror40-rubygem-activesupport 4.0.2-4.el6, ruby193-rubygem-actionpack 3.2.8-16.el6, +5 more Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) ror40-rubygem-actionpack 4.0.2-7.el7, ror40-rubygem-activerecord 4.0.2-6.el7, rh-ror41-rubygem-actionpack 4.1.5-3.el7, rh-ror41-rubygem-actionview 4.1.5-4.el7, ror40-rubygem-activesupport 4.0.2-4.el7, ruby193-rubygem-actionpack 3.2.8-16.el7, +5 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.6) ror40-rubygem-actionpack 4.0.2-7.el6, ror40-rubygem-activerecord 4.0.2-6.el6, rh-ror41-rubygem-actionpack 4.1.5-3.el6, rh-ror41-rubygem-actionview 4.1.5-4.el6, ror40-rubygem-activesupport 4.0.2-4.el6, ruby193-rubygem-actionpack 3.2.8-16.el6, +5 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.7) ror40-rubygem-actionpack 4.0.2-7.el6, ror40-rubygem-activerecord 4.0.2-6.el6, rh-ror41-rubygem-actionpack 4.1.5-3.el6, rh-ror41-rubygem-actionview 4.1.5-4.el6, ror40-rubygem-activesupport 4.0.2-4.el6, ruby193-rubygem-actionpack 3.2.8-16.el6, +5 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.1) ror40-rubygem-actionpack 4.0.2-7.el7, ror40-rubygem-activerecord 4.0.2-6.el7, rh-ror41-rubygem-actionpack 4.1.5-3.el7, rh-ror41-rubygem-actionview 4.1.5-4.el7, ror40-rubygem-activesupport 4.0.2-4.el7, ruby193-rubygem-actionpack 3.2.8-16.el7, +5 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.2) ror40-rubygem-actionpack 4.0.2-7.el7, ror40-rubygem-activerecord 4.0.2-6.el7, rh-ror41-rubygem-actionpack 4.1.5-3.el7, rh-ror41-rubygem-actionview 4.1.5-4.el7, ror40-rubygem-activesupport 4.0.2-4.el7, ruby193-rubygem-actionpack 3.2.8-16.el7, +5 morefixed: vendor fix RHSA-2016:0296
+2 more productsfewer
Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) ror40-rubygem-actionpack 4.0.2-7.el6, ror40-rubygem-activerecord 4.0.2-6.el6, rh-ror41-rubygem-actionpack 4.1.5-3.el6, rh-ror41-rubygem-actionview 4.1.5-4.el6, ror40-rubygem-activesupport 4.0.2-4.el6, ruby193-rubygem-actionpack 3.2.8-16.el6, +5 more Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) ror40-rubygem-actionpack 4.0.2-7.el7, ror40-rubygem-activerecord 4.0.2-6.el7, rh-ror41-rubygem-actionpack 4.1.5-3.el7, rh-ror41-rubygem-actionview 4.1.5-4.el7, ror40-rubygem-activesupport 4.0.2-4.el7, ruby193-rubygem-actionpack 3.2.8-16.el7, +5 more
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Timeline
- Published
- First public exploit (Metasploit exploit/multi/http/rails_dynamic_render_code_exec)
- Added to CISA KEV
- CISA patch deadline
- CISA SSVC: exploitation active
Known exploited
- Added
- 4 y ago
- Patch by
- 2022-04-15 (4 y ago)
- Ransomware
- Not known
- Required action
- Apply updates per vendor instructions.
- Vendor, product
- Rails, Ruby on Rails
- CISA name
- Ruby on Rails Directory Traversal Vulnerability
CISA SSVC
- Exploitation
- Active, exploited in the wild
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 21 mo ago
Exploit prediction
95.54% chance of exploitation in the next 30 days, higher than 99.8% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- Metasploit exploit/multi/http/rails_dynamic_render_code_exec Ruby on Rails Dynamic Render File Upload Remote Code Execution metasploit exploit, excellent rank, 2016-10-16
- EDB-40561 Ruby on Rails - Dynamic Render File Upload / Remote Code Execution (Metasploit) remote, 2016-10-17
- openwall.com http://www.openwall.com/lists/oss-security/2016/01/25/13 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
| GitHub | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N/E:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | actionview | >=4.0.0, <4.1.14.1 >=4.2.0, <4.2.5.1 |
4.1.14.1 4.2.5.1 |
| rubygems | actionpack | >=4.0.0, <4.1.14.1 >=4.2.0, <4.2.5.1 <3.2.22.1 |
4.1.14.1 4.2.5.1 3.2.22.1 |
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
- Technology feeds
References
-
exploit-db.com
/exploits/40561/
exploit, third-party-advisory, vdb-entry
-
openwall.com
/lists/oss-security/2016/01/25/13
mailing-list, web, exploit
-
lists.opensuse.org
/opensuse-updates/2016-02/msg00043.html
vendor-advisory, web, mailing-list, third-party-advisory
-
lists.opensuse.org
/opensuse-updates/2016-02/msg00034.html
vendor-advisory, web, mailing-list, third-party-advisory
-
lists.fedoraproject.org
/pipermail/package-announce/2016-February/178069.html
vendor-advisory, web, permissions-required
-
lists.opensuse.org
/opensuse-security-announce/2016-04/msg00053.html
vendor-advisory, web, mailing-list, third-party-advisory
-
lists.fedoraproject.org
/pipermail/package-announce/2016-February/178044.html
vendor-advisory, web, permissions-required
-
debian.org
/security/2016/dsa-3464
vendor-advisory, web, mailing-list, third-party-advisory
-
rhn.redhat.com
/errata/RHSA-2016-0296.html
vendor-advisory, web, third-party-advisory
-
securityfocus.com
/bid/81801
vdb-entry, web, broken-link, third-party-advisory
-
securitytracker.com
/id/1034816
vdb-entry, web, broken-link, third-party-advisory
-
groups.google.com
/forum/message/raw?msg=ruby-security-ann/335P1DcLG00/JXcBnTtZEgAJ
mailing-list, web, broken-link
-
cisa.gov
/known-exploited-vulnerabilities-catalog?field_cve=CVE-2016-0752
government-resource, web, us-government-resource
-
nvd.nist.gov
/vuln/detail/CVE-2016-0752
advisory
-
github.com
/advisories/GHSA-xrr4-p6fq-hjg7
advisory
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2016-0752.yml
web
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/actionview/CVE-2016-0752.yml
web
-
groups.google.com
/forum/#!topic/rubyonrails-security/335P1DcLG00
web
-
web.archive.org
/web/20210618005620/https://groups.google.com/forum/message/raw?msg=ruby-security-ann/335P1DcLG00/JXcBnTtZEgAJ
web
-
web.archive.org
/web/20210621170450/http://www.securityfocus.com/bid/81801
web
-
web.archive.org
/web/20210723192420/http://www.securitytracker.com/id/1034816
web
-
exploit-db.com
/exploits/40561
web
Sources
- CVE List CVE-2016-0752
- GitHub Advisory GHSA-xrr4-p6fq-hjg7
- NVD CVE-2016-0752
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.