CVE-2016-0752
rubygem-actionpack: directory traversal flaw in Action View
Overview
Description
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.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness: CWE-22
Affected packages · 2
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| RubyGems | actionpack | >=4.0.0, <4.1.14.1>=4.2.0, <4.2.5.1<3.2.22.1 | 4.1.14.14.2.5.13.2.22.15.0.0.beta1.1~> 4.2.5, >= 4.2.5.1 |
| RubyGems | actionview | >=4.0.0, <4.1.14.1>=4.2.0, <4.2.5.1 | 4.1.14.14.2.5.15.0.0.beta1.1~> 4.2.5, >= 4.2.5.1~> 4.1.14, >= 4.1.14.1 |
Open a package to see all its vulnerabilities.
Operating systems · 15 fixes
Red Hat 1 release · 10 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | rh-ror41-rubygem-activemodel +1 | 0:4.1.5-2.el7 | RHSA-2016:0296 |
| 7 | rh-ror41-rubygem-actionview +1 | 0:4.1.5-4.el7 | RHSA-2016:0296 |
| 7 | ruby193-rubygem-activerecord +1 | 1:3.2.8-11.el7 | RHSA-2016:0455 |
| 7 | ruby193-rubygem-actionpack +1 | 1:3.2.8-16.el7 | RHSA-2016:0455 |
| 7 | ruby193-rubygem-activesupport | 1:3.2.8-6.el7 | RHSA-2016:0455 |
| 7 | ror40-rubygem-activesupport | 1:4.0.2-4.el7 | RHSA-2016:0454 |
4 more rows
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | rails | 2:4.2.5.1-1 |
| 12 | rails | 2:4.2.5.1-1 |
| 13 | rails | 2:4.2.5.1-1 |
| 14 | rails | 2:4.2.5.1-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| rails | 2:4.2.5.1-1 |
References
- lists.fedoraproject.org http://lists.fedoraproject.org/pipermail/package-announce/2016-February/178044.html
- lists.fedoraproject.org http://lists.fedoraproject.org/pipermail/package-announce/2016-February/178069.html
- lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00053.html
- lists.opensuse.org http://lists.opensuse.org/opensuse-updates/2016-02/msg00034.html
- lists.opensuse.org http://lists.opensuse.org/opensuse-updates/2016-02/msg00043.html
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2016-0296.html
- www.debian.org http://www.debian.org/security/2016/dsa-3464
- www.openwall.com http://www.openwall.com/lists/oss-security/2016/01/25/13
- www.securityfocus.com http://www.securityfocus.com/bid/81801
- www.securitytracker.com http://www.securitytracker.com/id/1034816
Show all 28 references
- access.redhat.com https://access.redhat.com/security/cve/CVE-2016-0752
- github.com https://github.com/advisories/GHSA-xrr4-p6fq-hjg7
- github.com https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2016-0752.yml
- github.com https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionview/CVE-2016-0752.yml
- groups.google.com https://groups.google.com/forum/#!msg/rubyonrails-security/335P1DcLG00/OfB9_LhbFQAJ
- groups.google.com https://groups.google.com/forum/#!topic/rubyonrails-security/335P1DcLG00
- groups.google.com https://groups.google.com/forum/message/raw?msg=ruby-security-ann/335P1DcLG00/JXcBnTtZEgAJ
- marc.info https://marc.info/?l=oss-security&m=145375068928706&w=2
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2016-0752
- nvisium.com https://nvisium.com/blog/2016/01/26/rails-dynamic-render-to-rce-cve-2016-0752/
- web.archive.org https://web.archive.org/web/20210618005620/https://groups.google.com/forum/message/raw?msg=ruby-security-ann/335P1DcLG00/JXcBnTtZEgAJ
- web.archive.org https://web.archive.org/web/20210621170450/http://www.securityfocus.com/bid/81801
- web.archive.org https://web.archive.org/web/20210723192420/http://www.securitytracker.com/id/1034816
- www.cisa.gov https://www.cisa.gov/known-exploited-vulnerabilities-catalog
- www.cisa.gov https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2016-0752
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2016-0752
- www.exploit-db.com https://www.exploit-db.com/exploits/40561
- www.exploit-db.com https://www.exploit-db.com/exploits/40561/
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.