CVE-2016-0752: Ruby on Rails Directory Traversal Vulnerability
Directory traversal vulnerability in Action View in Ruby on Rails allows remote attackers to read arbitrary files.
Other sources
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.
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
rubygems/actionpackto a version that resolves this vulnerability.Fixed in 3.2.22.1 - Upgrade
Upgrade
rubygems/actionpackto a version that resolves this vulnerability.Fixed in 4.2.5.1 - Upgrade
Upgrade
rubygems/actionpackto a version that resolves this vulnerability.Fixed in 4.1.14.1 - Upgrade
Upgrade
rubygems/actionviewto a version that resolves this vulnerability.Fixed in 4.2.5.1 - Upgrade
Upgrade
rubygems/actionviewto a version that resolves this vulnerability.Fixed in 4.1.14.1 - Upgrade
Upgrade
Ruby on Rails (Action View)to a version that resolves this vulnerability.Fixed in 3.2.22.1 - Upgrade
Upgrade
Ruby on Rails (Action View)to a version that resolves this vulnerability.Fixed in 4.1.14.1 - Upgrade
Upgrade
Ruby on Rails (Action View)to a version that resolves this vulnerability.Fixed in 4.2.5.1 - Upgrade
Upgrade
Ruby on Rails (Action View)to a version that resolves this vulnerability.Fixed in 5.0.0.beta1.1
Event History
Frequently Asked Questions
What is the severity of CVE-2016-0752?
The vulnerability CVE-2016-0752 is classified as a high severity issue due to its potential for file reading exploitation.
How do I fix CVE-2016-0752?
To fix CVE-2016-0752, upgrade Action View to version 3.2.22.1 or later, and also update Action Pack to the corresponding secure versions.
What software is affected by CVE-2016-0752?
CVE-2016-0752 affects Ruby on Rails versions prior to 3.2.22.1, 4.0.x prior to 4.1.14.1, 4.1.x prior to 4.1.14.1, 4.2.x prior to 4.2.5.1, and 5.x prior to 5.0.0.beta1.1.
Can CVE-2016-0752 be exploited remotely?
Yes, CVE-2016-0752 can be exploited remotely, allowing attackers to read arbitrary files on the server.
What technical details are associated with CVE-2016-0752?
CVE-2016-0752 is a directory traversal vulnerability that allows unauthorized file access through improperly validated paths in Action View.