CVE-2016-2097
published 2016-04-07CVE-2016-2097: 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 arbitrary files by…
PriorityP434medium5.3CVSS 3.0
AVNACLPRNUINSUCLINAN
EPSS
4.42%
90.3th percentile
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 arbitrary files by leveraging an application's unrestricted use of the render method and providing a .. (dot dot) in a pathname. NOTE: this vulnerability exists because of an incomplete fix for CVE-2016-0752.
Affected
37 ranges· showing 25
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| actionpack_project | actionpack | >= 3.0.0 < 3.2.22.2 | 3.2.22.2 |
| actionpack_project | actionpack | >= 4.0.0 < 4.1.14.2 | 4.1.14.2 |
| debian | rails | < rails 2:4.2.5.2-1 (bookworm) | rails 2:4.2.5.2-1 (bookworm) |
| rails | actionview | >= 3.0.0 < 3.2.22.2 | 3.2.22.2 |
| rails | actionview | >= 4.0.0 < 4.1.14.2 | 4.1.14.2 |
| rubyonrails | rails | — | — |
| rubyonrails | rails | — | — |
| rubyonrails | rails | — | — |
| rubyonrails | rails | — | — |
| rubyonrails | rails | — | — |
| rubyonrails | rails | — | — |
| rubyonrails | rails | — | — |
| rubyonrails | rails | — | — |
| rubyonrails | rails | — | — |
| rubyonrails | rails | — | — |
| rubyonrails | rails | — | — |
| rubyonrails | rails | — | — |
| rubyonrails | rails | — | — |
| rubyonrails | rails | — | — |
| rubyonrails | rails | — | — |
| rubyonrails | rails | — | — |
| rubyonrails | rails | — | — |
| rubyonrails | rails | — | — |
| rubyonrails | rails | — | — |
| rubyonrails | rails | — | — |
CVSS provenance
nvdv3.05.3MEDIUMCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:P/I:N/A:N
ghsa7.5HIGH
osv7.5HIGH
vendor_debian7.5HIGH
vendor_redhat7.5HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
rubygem-actionpack: directory traversal in Action View, incomplete CVE-2016-0752 fix
vendor_redhat·2016-02-29·CVSS 7.5
CVE-2016-2097 [HIGH] CWE-22 rubygem-actionpack: directory traversal in Action View, incomplete CVE-2016-0752 fix
rubygem-actionpack: directory traversal in Action View, incomplete CVE-2016-0752 fix
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 arbitrary files by leveraging an application's unrestricted use of the render method and providing a .. (dot dot) in a pathname. NOTE: this vulnerability exists because of an incomplete fix for CVE-2016-0752.
A directory traversal flaw was found in the way the Action View component searched for templates for rendering. If an application passed untrusted input to the 'render' method, a remote, unauthenticated attacker could use this flaw to render unexpected files and, possibly, execute arbitrary code.
Package: ruby193-rubygem-actionpack (CloudForms Management Engine 5
Debian
CVE-2016-2097: rails - Directory traversal vulnerability in Action View in Ruby on Rails before 3.2.22....
vendor_debian·2016·CVSS 7.5
CVE-2016-2097 [HIGH] CVE-2016-2097: rails - Directory traversal vulnerability in Action View in Ruby on Rails before 3.2.22....
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 arbitrary files by leveraging an application's unrestricted use of the render method and providing a .. (dot dot) in a pathname. NOTE: this vulnerability exists because of an incomplete fix for CVE-2016-0752.
Scope: local
bookworm: resolved (fixed in 2:4.2.5.2-1)
bullseye: resolved (fixed in 2:4.2.5.2-1)
forky: resolved (fixed in 2:4.2.5.2-1)
sid: resolved (fixed in 2:4.2.5.2-1)
trixie: resolved (fixed in 2:4.2.5.2-1)
GHSA
actionview contains Path Traversal vulnerability
ghsa·2017-10-24·CVSS 7.5
CVE-2016-2097 [HIGH] CWE-22 actionview contains Path Traversal vulnerability
actionview contains Path Traversal vulnerability
There is a possible directory traversal and information leak vulnerability in Action View. This was meant to be fixed on CVE-2016-0752. However the 3.2 patch was not covering all possible scenarios. This vulnerability has been assigned the CVE identifier CVE-2016-2097.
Versions Affected: 3.2.x, 4.0.x, 4.1.x
Not affected: 4.2+
Fixed Versions: 3.2.22.2, 4.1.14.2
Impact
Applications that pass unverified user input to the `render` method in a controller may be vulnerable to an information leak vulnerability.
Impacted code will look something like this:
```ruby
def index
render params[:id]
end
```
Carefully crafted requests can cause the above code to render files from unexpected places like outside the application's view directory, and can
OSV
actionview contains Path Traversal vulnerability
osv·2017-10-24·CVSS 7.5
CVE-2016-2097 [HIGH] actionview contains Path Traversal vulnerability
actionview contains Path Traversal vulnerability
There is a possible directory traversal and information leak vulnerability in Action View. This was meant to be fixed on CVE-2016-0752. However the 3.2 patch was not covering all possible scenarios. This vulnerability has been assigned the CVE identifier CVE-2016-2097.
Versions Affected: 3.2.x, 4.0.x, 4.1.x
Not affected: 4.2+
Fixed Versions: 3.2.22.2, 4.1.14.2
Impact
Applications that pass unverified user input to the `render` method in a controller may be vulnerable to an information leak vulnerability.
Impacted code will look something like this:
```ruby
def index
render params[:id]
end
```
Carefully crafted requests can cause the above code to render files from unexpected places like outside the application's view directory, and can
OSV
CVE-2016-2097: Directory traversal vulnerability in Action View in Ruby on Rails before 3
osv·2016-04-07·CVSS 7.5
CVE-2016-2097 [HIGH] CVE-2016-2097: Directory traversal vulnerability in Action View in Ruby on Rails before 3
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 arbitrary files by leveraging an application's unrestricted use of the render method and providing a .. (dot dot) in a pathname. NOTE: this vulnerability exists because of an incomplete fix for CVE-2016-0752.
No detection rules found.
No public exploits indexed.
HackerOne
Regarding [CVE-2016-0752] Possible Information Leak Vulnerability in Action View
hackerone·2016-03-01·CVSS 7.5
CVE-2016-0752 [HIGH] Regarding [CVE-2016-0752] Possible Information Leak Vulnerability in Action View
Regarding [CVE-2016-0752] Possible Information Leak Vulnerability in Action View
# Possible Information Leak Vulnerability in Action View.
There is a possible directory traversal and information leak vulnerability in
Action View. This was meant to be fixed on CVE-2016-0752. However the 3.2 patch was not covering
all the scenarios. This vulnerability has been assigned the CVE identifier
CVE-2016-2097.
Versions Affected: 3.2.x, 4.0.x, 4.1.x
Not affected: 4.2+
Fixed Versions: 3.2.22.2, 4.1.14.2
Impact
Applications that pass unverified user input to the `render` method in a
controller may be vulnerable to an information leak vulnerability.
Impacted code will look something like this:
```ruby
def index
render params[:id]
end
```
Carefully crafted requests can cause the above code to rend
Bugzilla
CVE-2016-2097 rubygem-actionview: rubygem-actionpack: Directory traversal and information leak in Action View [fedora-all]
bugzilla·2016-03-01·CVSS 5.3
CVE-2016-2097 [MEDIUM] CVE-2016-2097 rubygem-actionview: rubygem-actionpack: Directory traversal and information leak in Action View [fedora-all]
CVE-2016-2097 rubygem-actionview: rubygem-actionpack: Directory traversal and information leak in Action View [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this
Bugzilla
CVE-2016-2097 rubygem-actionview, rubygem-actionpack: directory traversal in Action View, incomplete CVE-2016-0752 fix
bugzilla·2016-02-19·CVSS 7.5
CVE-2016-2097 [HIGH] CVE-2016-2097 rubygem-actionview, rubygem-actionpack: directory traversal in Action View, incomplete CVE-2016-0752 fix
CVE-2016-2097 rubygem-actionview, rubygem-actionpack: directory traversal in Action View, incomplete CVE-2016-0752 fix
A possible directory traversal and information leak vulnerability in Action View was found. This issue was meant to be fixed in patch for CVE-2016-0752. However the 3.2 patch was not covering all the scenarios.
Applications that pass unverified user input to the `render` method in a controller may be vulnerable to an information leak vulnerability.
Impacted code will look something like this:
```ruby
def index
render params[:id]
end
```
Carefully crafted requests can cause the above code to render files from unexpected places like outside the application's view directory, and can possibly escalate this to a remote code execution attack.
A workaround to this issue is
http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00080.htmlhttp://lists.opensuse.org/opensuse-security-announce/2016-03/msg00083.htmlhttp://lists.opensuse.org/opensuse-security-announce/2016-04/msg00006.htmlhttp://weblog.rubyonrails.org/2016/2/29/Rails-4-2-5-2-4-1-14-2-3-2-22-2-have-been-released/http://www.debian.org/security/2016/dsa-3509http://www.securityfocus.com/bid/83726http://www.securitytracker.com/id/1035122https://groups.google.com/forum/message/raw?msg=rubyonrails-security/ddY6HgqB2z4/we0RasMZIAAJhttp://lists.opensuse.org/opensuse-security-announce/2016-03/msg00080.htmlhttp://lists.opensuse.org/opensuse-security-announce/2016-03/msg00083.htmlhttp://lists.opensuse.org/opensuse-security-announce/2016-04/msg00006.htmlhttp://weblog.rubyonrails.org/2016/2/29/Rails-4-2-5-2-4-1-14-2-3-2-22-2-have-been-released/http://www.debian.org/security/2016/dsa-3509http://www.securityfocus.com/bid/83726http://www.securitytracker.com/id/1035122https://groups.google.com/forum/message/raw?msg=rubyonrails-security/ddY6HgqB2z4/we0RasMZIAAJ
2016-04-07
Published