Path Traversal in Rubyonrails Rails

CVE-2014-7818

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.

Vulnerability class: Path Traversal (Directory Traversal)

Published · last modified .

CVSS v2 metric

CVSS v2 base score 4.3 (Medium). Vector: AV:N/AC:M/Au:N/C:P/I:N/A:N. This CVE predates CVSS v3 and has no v3 score from NVD.

EPSS exploit prediction

EPSS 0.035, 89.2th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

Weakness classification (CWE)

Public exploits and proof-of-concept code

Also mentioned in 10 other repositories (Abinandhini-cpu/VulnerableRubyrepo2, bibin-paul-trustme/ruby_repo, CherMB/test-data-ingestion-service, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.

References