Vulnerability record · CVE-2014-0130 · published 7 May 2014
CVE-2014-0130: Ruby on Rails implicit-render directory traversal allows arbitrary file read
Redhat · Subscription Asset Manager
Ruby on Rails versions before 3.2.18, 4.0.x before 4.0.5, and 4.1.x before 4.1.1 contain a directory traversal flaw in the implicit-render implementation in actionpack/lib/abstract_controller/base.rb. When certain route globbing configurations are enabled, a crafted request can cause the application to render files outside the intended view path. This exposes arbitrary files readable by the Rails process to unauthenticated remote attackers.
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/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Automated analysis
high priorityThe flaw is remotely exploitable without authentication, has a CVSS base score of 7.5, and is listed in CISA KEV with a high EPSS score, indicating real-world exploitation risk.
What it is
Ruby on Rails versions before 3.2.18, 4.0.x before 4.0.5, and 4.1.x before 4.1.1 contain a directory traversal flaw in the implicit-render implementation in actionpack/lib/abstract_controller/base.rb. When certain route globbing configurations are enabled, a crafted request can cause the application to render files outside the intended view path. This exposes arbitrary files readable by the Rails process to unauthenticated remote attackers.
Impact
An attacker can read arbitrary files accessible to the Rails application process, potentially exposing configuration files, credentials, source code, or other sensitive data. There is no integrity or availability impact per the CVSS vector; the gain is information disclosure.
Attack surface
Reachable over the network via HTTP requests to a Rails application that uses the affected implicit-render behavior with certain route globbing configurations enabled. The CVSS vector indicates no authentication and no user interaction are required.
Exploitation
CVE-2014-0130 is listed in CISA's Known Exploited Vulnerabilities catalog (added 2022-03-25), and EPSS reports a 30-day exploitation probability of 0.53703 (98.94th percentile), indicating observed exploitation activity and elevated likelihood.
What to do
- Upgrade Ruby on Rails to 3.2.18, 4.0.5, 4.1.1 or later as applicable; apply the vendor patch first.
- For Red Hat deployments, apply the fixes referenced in RHSA-2014-1863.
- Review and restrict route globbing configurations that enable the vulnerable implicit-render path.
- Run the Rails application with least privilege so arbitrary file reads expose minimal sensitive data.
- If immediate upgrade is not possible, apply compensating controls such as WAF rules blocking traversal sequences in request paths.
Detection
- Inspect web and application logs for requests containing path traversal sequences (for example ../ or encoded variants) targeting Rails routes.
- Monitor for anomalous responses returning file contents outside expected view or static asset paths.
- Alert on access to sensitive files such as configuration, credential, or environment files through the web tier.
- Correlate outbound or internal file access patterns from the Rails process with unusual request sources.
This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.
Exploitation in the wild
CISA added CVE-2014-0130 to the Known Exploited Vulnerabilities catalog on 25 March 2022 as "Ruby on Rails Directory Traversal Vulnerability". Required action: Apply updates per vendor instructions. Federal deadline 15 April 2022.
Affected products
3 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| http://matasano.com/research/AnatomyOfRailsVuln-CVE-2014-0130.pdf | Broken LinkTechnical Description |
| http://rhn.redhat.com/errata/RHSA-2014-1863.html | Third Party Advisory |
| http://www.securityfocus.com/bid/67244 | Broken LinkThird Party AdvisoryVDB Entry |
| https://groups.google.com/forum/message/raw?msg=rubyonrails-security/NkKc7vTW70o/NxW_PDBSG3AJ | Broken LinkThird Party Advisory |
| http://matasano.com/research/AnatomyOfRailsVuln-CVE-2014-0130.pdf | Broken LinkTechnical Description |
| http://rhn.redhat.com/errata/RHSA-2014-1863.html | Third Party Advisory |
| http://www.securityfocus.com/bid/67244 | Broken LinkThird Party AdvisoryVDB Entry |
| https://groups.google.com/forum/message/raw?msg=rubyonrails-security/NkKc7vTW70o/NxW_PDBSG3AJ | Broken LinkThird Party Advisory |
| https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2014-0130 | US Government Resource |
Track CVE-2014-0130 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2014-0130), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.