Directory traversal vulnerability in actionpack/lib/abstract_controller/base.rb in the implicit-render implementation in Ruby on Rails befor
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.
- Published
- May 7, 2014
- Updated
- Jun 16, 2026
- EPSS
- 53.7% · 99th percentile
- CWE
- CWE-22
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
76
This week
Don’t wait for the next maintenance window.
- CVSS
- 30 / 40 · 7.5 / 10
- CISA KEV
- 30 / 30 · Listed
- EPSS
- 16 / 30 · 53.7%
CISA SSVC decision
- Exploitation
- active
- Automatable
- no
- Technical impact
- total
Vulnrichment: CISA's decision-tree inputs.
Actively exploited in the wild
CISA added this to its Known Exploited Vulnerabilities catalog on Mar 25, 2022. That signals real attacks, not theory.
Remediation deadline for government agencies: Apr 15, 2022.
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| redhat | subscription asset manager | cpe:2.3:a:redhat:subscription_asset_manager |
| redhat | enterprise linux server | cpe:2.3:o:redhat:enterprise_linux_server |
| rubyonrails | rails | cpe:2.3:a:rubyonrails:rails |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- redhat enterprise linux server6.0
- redhat subscription asset managerup to 1.3.0 inclusive
- rubyonrails railsbefore 3.2.18
- rubyonrails rails4.0.0 and later · before 4.0.5
- rubyonrails rails4.1.0 and later · before 4.1.1
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:7 | ruby-actionpack-3.2 | before 3.2.6-6+deb7u2 | 3.2.6-6+deb7u2 |
| Red Hat:cloudforms_managementengine:5::el6 | cfme | before 0:5.2.4.2-1.el6cf | 0:5.2.4.2-1.el6cf |
| Red Hat:cloudforms_managementengine:5::el6 | cfme-appliance | before 0:5.2.4.2-1.el6cf | 0:5.2.4.2-1.el6cf |
| Red Hat:cloudforms_managementengine:5::el6 | cfme-debuginfo | before 0:5.2.4.2-1.el6cf | 0:5.2.4.2-1.el6cf |
| Red Hat:cloudforms_managementengine:5::el6 | cfme-lib | before 0:5.2.4.2-1.el6cf | 0:5.2.4.2-1.el6cf |
| Red Hat:cloudforms_managementengine:5::el6 | mingw32-cfme-host | before 0:5.2.4.2-1.el6cf | 0:5.2.4.2-1.el6cf |
| Red Hat:cloudforms_managementengine:5::el6 | ruby193-rubygem-actionpack | before 1:3.2.13-8.el6cf | 1:3.2.13-8.el6cf |
| Red Hat:rhel_software_collections:1::el6 | ruby193-rubygem-actionpack | before 1:3.2.8-5.5.el6 | 1:3.2.8-5.5.el6 |
| Red Hat:rhel_software_collections:1::el6 | ruby193-rubygem-actionpack-doc | before 1:3.2.8-5.5.el6 | 1:3.2.8-5.5.el6 |
| RubyGems | actionpack | from 3.0.0 · before 3.2.18 | 3.2.18 |
| RubyGems | actionpack | from 4.0.0 · before 4.0.5 | 4.0.5 |
| RubyGems | actionpack | from 4.1.0 · before 4.1.1 | 4.1.1 |
Same product
redhat: all recordsOther highest-scoring records for the same primary product.
- CVE-2013-6439Candlepin in Red Hat Subscription Asset Manager 1.0 through 1.3 uses a weak authentication scheme when the configuration file does not speci37Monitor
- CVE-2014-0026katello-headpin is vulnerable to CSRF in REST API26Monitor
- CVE-2014-0183Versions of Katello as shipped with Red Hat Subscription Asset Manager 1.4 are vulnerable to a XSS via HTML in the systems name when registe24Monitor
- CVE-2014-0029Multiple cross-site scripting (XSS) vulnerabilities in the SAM web application in Red Hat katello-headpin allow remote attackers to inject a24Monitor
- CVE-2013-1823Cross-site scripting (XSS) vulnerability in the Notifications form in Red Hat Subscription Asset Manager before 1.2.1 allows remote attacker18Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:ruby-actionpack-3.2 | 3.2.6-6+deb7u2 · Debian:7 | Package registry (OSV) |
| red hat:cfme | 0:5.2.4.2-1.el6cf · Red Hat:cloudforms_managementengine:5::el6 | Package registry (OSV) |
| red hat:cfme-appliance | 0:5.2.4.2-1.el6cf · Red Hat:cloudforms_managementengine:5::el6 | Package registry (OSV) |
| red hat:cfme-debuginfo | 0:5.2.4.2-1.el6cf · Red Hat:cloudforms_managementengine:5::el6 | Package registry (OSV) |
| red hat:cfme-lib | 0:5.2.4.2-1.el6cf · Red Hat:cloudforms_managementengine:5::el6 | Package registry (OSV) |
| red hat:mingw32-cfme-host | 0:5.2.4.2-1.el6cf · Red Hat:cloudforms_managementengine:5::el6 | Package registry (OSV) |
| red hat:ruby193-rubygem-actionpack | 1:3.2.8-5.5.el6 · Red Hat:rhel_software_collections:1::el6 | Package registry (OSV) |
| red hat:ruby193-rubygem-actionpack-doc | 1:3.2.8-5.5.el6 · Red Hat:rhel_software_collections:1::el6 | Package registry (OSV) |
| RubyGems:actionpack | 3.2.18 | Package registry (OSV) |
| RubyGems:actionpack | 4.0.5 | Package registry (OSV) |
| RubyGems:actionpack | 4.1.1 | Package registry (OSV) |
Exploit status
Weaponized
A ready exploit tool or active in-the-wild use is known for this vulnerability. This should be your top priority.
Evidence
- Proof-of-concept repository on GitHub ×1
Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.
| Source | Kind | Date |
|---|---|---|
| Proof-of-concept repository on GitHub | stars:18 | 2014-05-08 |
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
- Published
- First PoC+1 d
- CISA KEV+2879 d
- TodaySep 30, 2026+4529 d
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
The product’s vendor appears in a public program. Matched by name; verify the scope text in the program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- none
- Availability
- none
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- None
- Availability impact
- None
Weakness class (CWE)
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
nvd-primary
Root cause
A user-supplied file name is joined with the allowed directory, but the result is never checked to confirm it is still inside that directory.
The bug in code
The whole CWE-22 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
const file = path.join(ROOT, req.query.name);res.sendFile(file);Fixed
const file = path.resolve(ROOT, req.query.name);if (!file.startsWith(ROOT + path.sep)) { return res.sendStatus(400);}res.sendFile(file);Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Path TraversalCAPEC-126likelihood: High · Very High
- Using Slashes and URL Encoding Combined to Bypass Validation LogicCAPEC-64likelihood: High · High
- Manipulating Web Input to File System CallsCAPEC-76likelihood: High · Very High
- Using Escaped Slashes in Alternate EncodingCAPEC-78likelihood: High · High
- Using Slashes in Alternate EncodingCAPEC-79likelihood: High · High
ATT&CK techniques
—
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- matasano.com/research/AnatomyOfRailsVuln-CVE-2014-0130.pdf
- rhn.redhat.com/errata/RHSA-2014-1863.html
- www.securityfocus.com/bid/67244
- groups.google.com/forum/message/raw?msg=rubyonrails-security/NkKc7vTW70o/NxW_PDBSG3AJ
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2014-0130
Vendor advisories and official records. Exploit/PoC links are deliberately left out.