Actively exploited · Published May 7, 2014 · Assigned by redhat
CVE-2014-0130
High 7.5 Exploited
In plain English
A high-severity path traversal in Ruby on Rails from Rails. Attackers are actively exploiting it in the wild (listed by CISA on March 25, 2022). The chance it is exploited in the next 30 days is estimated at 53.7% (higher than 99.0% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
CISA guidance
Apply updates per vendor instructions.
Federal agencies must remediate by Apr 15, 2022.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| RubyGems | actionpack | 3.2.18 | GHSA-6x85-j5j2-27jx |
| RubyGems | actionpack | 4.0.5 | GHSA-6x85-j5j2-27jx |
| RubyGems | actionpack | 4.1.1 | GHSA-6x85-j5j2-27jx |
Affected products (as reported)
Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
References
- RHSA-2014:1863 vendor-advisory, x_refsource_REDHAT
- http://matasano.com/research/AnatomyOfRailsVuln-CVE-2014-0130.pdf x_refsource_MISC
- [rubyonrails-security] 20140506 [CVE-2014-0130] Directory Traversal Vulnerability With Certain Route Configurations mailing-list, x_refsource_MLIST
- 67244 vdb-entry, x_refsource_BID
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2014-0130 government-resource