CVE-2016-0752
CONFIRMED EXPLOITEDRuby on Rails Directory Traversal Vulnerability
Is Rails Ruby on Rails affected by CVE-2016-0752?
Rails Ruby on Rails is listed in the CISA Known Exploited Vulnerabilities catalog for CVE-2016-0752, added on 2022-03-25. CISA only adds a CVE once it has evidence of exploitation in the wild, so the patching question is not whether it can be attacked but how soon your instances must be updated.
Affected products published by NIST NVD (9 vulnerable CPE entries): debian debian_linux, opensuse leap, opensuse opensuse, redhat software_collections, rubyonrails rails and suse linux_enterprise_module_for_containers.
Published CPE version bounds mark releases below 4.2.5.1 as vulnerable. Those bounds describe what is affected, not what patches it: upgrade to the fixed release named in the vendor advisory below, then confirm the installed version with your package manager or scanner.
The CISA remediation deadline for this entry is 2022-04-15.
RELATED VULNERABILITY DOSSIERS
Other catalog entries that share this product, vendor, or weakness, or that sit next to this advisory in the CISA KEV timeline.
- CVE-2019-5418Same productRails Ruby on Rails
Rails Ruby on Rails Path Traversal Vulnerability
- CVE-2014-0130Same productRails Ruby on Rails
Ruby on Rails Directory Traversal Vulnerability
- CVE-2023-25914Shared weaknessDanfoss AK-SM 800A Series
Danfoss AK-SM 800A Series Path Traversal Vulnerability
- CVE-2025-61624Shared weaknessFortinet Multiple Products
Fortinet Multiple Products Path Traversal Vulnerability
- CVE-2015-4068Neighboring entryArcserve Unified Data Protection (UDP)
Arcserve Unified Data Protection (UDP) Directory Traversal Vulnerability
- CVE-2016-10174Neighboring entryNETGEAR WNR2000v5 Router
NETGEAR WNR2000v5 Router Buffer Overflow Vulnerability
1. VULNERABILITY OVERVIEW & TECHNICAL MECHANISM
Directory traversal vulnerability in Action View in Ruby on Rails allows remote attackers to read arbitrary files.
Get Stack Watch email when a KEV hits your stack ($99/year or $12/month)
Directory traversal vulnerability in Action View in Ruby on Rails before 3.2.22.1, 4.0.x and 4.1.x before 4.1.14.1, 4.2.x before 4.2.5.1, and 5.x before 5.0.0.beta1.1 allows remote attackers to read arbitrary files by leveraging an application's unrestricted use of the render method and providing a .. (dot dot) in a pathname.
2. AFFECTED VERSIONS, PRODUCTS & VERIFIED CPE CONFIGURATIONS
3. EXPLOITATION EVIDENCE, IMPACT & HOW TO DETECT IT
This vulnerability was added to the CISA Known Exploited Vulnerabilities (KEV) catalog on 2022-03-25. Inclusion in KEV requires verified evidence of active exploitation in the wild. Known ransomware campaign use is recorded by CISA as: "Unknown".
Note: KEV inclusion confirms that threat actors have exploited this flaw in real-world incidents; it does not imply every deployment of Ruby on Rails has been compromised.
- High Confidentiality impact (C:H): unauthorized disclosure of sensitive memory, credentials, or files.
- Network service surface (Rails Ruby on Rails): inspect perimeter and internal flow telemetry (`Zeek conn.log`, `Suricata eve.json`) and host service logs for anomalous connection bursts, protocol errors, or unexpected child processes.
- Path Traversal (CWE-22): inspect service access logs and filesystem audit trails (`auditd`, Wazuh FIM) for directory traversal sequences (`../`, `%2e%2e%2f`) or unexpected file writes.
- Inventory all hosts running Rails Ruby on Rails and compare installed package/build versions against the NVD CPE configurations and vendor advisory below.
4. FIXED VERSION, MITIGATIONS & OFFICIAL ADVISORY CITATIONS
Apply updates per vendor instructions.
- http://lists.fedoraproject.org/pipermail/package-announce/2016-February/178044.htmlPermissions Required
- http://lists.fedoraproject.org/pipermail/package-announce/2016-February/178069.htmlPermissions Required
- http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00053.htmlMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-updates/2016-02/msg00034.htmlMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-updates/2016-02/msg00043.htmlMailing ListThird Party Advisory
- http://rhn.redhat.com/errata/RHSA-2016-0296.htmlThird Party Advisory
- http://www.debian.org/security/2016/dsa-3464Mailing ListThird Party Advisory
- http://www.openwall.com/lists/oss-security/2016/01/25/13ExploitMailing List
- http://www.securityfocus.com/bid/81801Broken LinkThird Party AdvisoryVDB Entry
- http://www.securitytracker.com/id/1034816Broken LinkThird Party AdvisoryVDB Entry
- https://groups.google.com/forum/message/raw?msg=ruby-security-ann/335P1DcLG00/JXcBnTtZEgAJBroken Link
- https://www.exploit-db.com/exploits/40561/ExploitThird Party AdvisoryVDB Entry
- http://lists.fedoraproject.org/pipermail/package-announce/2016-February/178044.htmlPermissions Required
- http://lists.fedoraproject.org/pipermail/package-announce/2016-February/178069.htmlPermissions Required
- http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00053.htmlMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-updates/2016-02/msg00034.htmlMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-updates/2016-02/msg00043.htmlMailing ListThird Party Advisory
- http://rhn.redhat.com/errata/RHSA-2016-0296.htmlThird Party Advisory
- http://www.debian.org/security/2016/dsa-3464Mailing ListThird Party Advisory
- http://www.openwall.com/lists/oss-security/2016/01/25/13ExploitMailing List
- http://www.securityfocus.com/bid/81801Broken LinkThird Party AdvisoryVDB Entry
- http://www.securitytracker.com/id/1034816Broken LinkThird Party AdvisoryVDB Entry
- https://groups.google.com/forum/message/raw?msg=ruby-security-ann/335P1DcLG00/JXcBnTtZEgAJBroken Link
- https://www.exploit-db.com/exploits/40561/ExploitThird Party AdvisoryVDB Entry
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2016-0752US Government Resource
SCORING & VECTOR TELEMETRY
Primary assessment authored by NIST NVD (nvd@nist.gov).
EPSS estimates the statistical probability of exploitation activity in the next 30 days—it is not proof of confirmed exploitation.
RELEVANT DEFENSIVE TOOLS
Curated open-source defensive and verification utilities from The Loot applicable to this asset class:
Endpoint visibility, digital forensics, and incident response (DFIR) platform
Network security monitoring (NSM) and protocol metadata extraction framework
Multi-threaded IDS, IPS, and network security monitoring engine
VirusTotal's memory-safe Rust rewrite of YARA for binary & implant hunting