Directory traversal vulnerability in actionpack/lib/abstract_controller/base.rb in the implicit-render implementation in Ruby on Rails allows remote attackers to read arbitrary files via a crafted request.
In short
CVE-2014-0130 (Ruby on Rails Directory Traversal) has a CVSS 3.1 base score of 7.5, rated high. CISA added it to the Known Exploited Vulnerabilities catalog on 25 Mar 2022. Fixed in Rubyonrails Rails 4.0.5 or later.
Description
Directory traversal vulnerability in actionpack/lib/abstract_controller/base.rb in the implicit-render implementation in Ruby on Rails before 3.2.18, 4.0.x before 4.0.5, and 4.1.x before 4.1.1, when certain route globbing configurations are enabled, allows remote attackers to read arbitrary files via a crafted request.
CVSS 3.1 breakdown
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NAffected products
- Redhat Subscription Asset Manager≤ 1.3.0
- Rubyonrails Rails≥ 4.0.0 < 4.0.5 · ≥ 4.1.0 < 4.1.1 · < 3.2.18
- Redhat Enterprise Linux Server6.0
Remediation
Fixed in- Rubyonrails Rails≥ 4.0.5
References
- http://matasano.com/research/AnatomyOfRailsVuln-CVE-2014-0130.pdf
- http://rhn.redhat.com/errata/RHSA-2014-1863.html
- https://groups.google.com/forum/message/raw?msg=rubyonrails-security/NkKc7vTW70o/NxW_PDBSG3AJ
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2014-0130
- http://www.securityfocus.com/bid/67244
Related CVEs
Exploited and critical vulnerabilities in the same product or from the same vendor.
Data from the NVD, CISA KEV catalog and FIRST EPSS. The CVSS 4.0 base score is shown where the NVD has one, otherwise CVSS 3.1.
