Rapid7 Vulnerability & Exploit Database

Ruby on Rails: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (CVE-2014-7818)

Back to Search

Ruby on Rails: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (CVE-2014-7818)

Severity
4
CVSS
(AV:N/AC:M/Au:N/C:P/I:N/A:N)
Published
11/08/2014
Created
01/23/2020
Added
01/03/2020
Modified
01/03/2020

Description

Directory traversal vulnerability in actionpack/lib/action_dispatch/middleware/static.rb in Action Pack in Ruby on Rails 3.x before 3.2.20, 4.0.x before 4.0.11, 4.1.x before 4.1.7, and 4.2.x before 4.2.0.beta3, when serve_static_assets is enabled, allows remote attackers to determine the existence of files outside the application root via a /..%2F sequence.

Solution(s)

  • ruby-on-rails-upgrade-latest

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;