Path Traversal in Rubyonrails Rails
CVE-2014-7829
Directory traversal vulnerability in actionpack/lib/action_dispatch/middleware/static.rb in Action Pack in Ruby on Rails 3.x before 3.2.21, 4.0.x before 4.0.12, 4.1.x before 4.1.8, and 4.2.x before 4.2.0.beta4, when serve_static_assets is enabled, allows remote attackers to determine the existence of files outside the application root via vectors involving a \ (backslash) character, a similar issue to CVE-2014-7818.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v2 metric
CVSS v2 base score 5.0 (Medium). Vector: AV:N/AC:L/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.042, 91.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Rubyonrails Rails — versions 3.0.0, 3.0.1, 3.0.2
- Rubyonrails Ruby On Rails — versions 3.0.4, 3.2.19, 3.2.20
- openSUSE — versions 12.3, 13.1, 13.2
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
- puppet.com/security/cve/cve-2014-7829
- openSUSE-SU-2014:1515 (vendor-advisory)
- www.securityfocus.com/bid/71183 (vdb-entry)
- [rubyonrails-security] 20141117 [CVE-2014-7829] Arbitrary file existence disclosure in Action Pack (mailing-list, Exploit)