{"id":"CVE-2016-0752","description":"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.","cvssScore":7.5,"cvssVersion":"3.1","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","cvssMetrics":[{"version":"3.1","score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"nvd@nist.gov","sourceName":"NVD","type":"Primary"},{"version":"3.1","score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","sourceName":"CISA-ADP","type":"Secondary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","source":"nvd@nist.gov","sourceName":"NVD","type":"Primary"}],"cwes":["CWE-22"],"resolved":"MITIGATED-BY-RASP","published":"2016-02-16","lastModified":"2026-06-17","affectedProducts":[{"vendor":"rubyonrails","product":"rails","versionEnd":"\u003c3.2.22.1"},{"vendor":"rubyonrails","product":"rails","versionStart":"\u003e=4.0.0","versionEnd":"\u003c4.1.14.1"},{"vendor":"rubyonrails","product":"rails","versionStart":"\u003e=4.2.0","versionEnd":"\u003c4.2.5.1"},{"vendor":"rubyonrails","product":"rails","version":"5.0.0","update":"beta1"},{"vendor":"opensuse","product":"leap","version":"42.1"},{"vendor":"opensuse","product":"opensuse","version":"13.2"},{"vendor":"suse","product":"linux enterprise module for containers","version":"12"},{"vendor":"debian","product":"debian linux","version":"8.0"},{"vendor":"redhat","product":"software collections","version":"1.0"}],"totalAffectedProducts":6,"references":[{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-February/178044.html","source":"secalert@redhat.com","tags":["Permissions Required"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-February/178069.html","source":"secalert@redhat.com","tags":["Permissions Required"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00053.html","source":"secalert@redhat.com","tags":["Mailing List","Third Party Advisory"]},{"url":"http://lists.opensuse.org/opensuse-updates/2016-02/msg00034.html","source":"secalert@redhat.com","tags":["Mailing List","Third Party Advisory"]},{"url":"http://lists.opensuse.org/opensuse-updates/2016-02/msg00043.html","source":"secalert@redhat.com","tags":["Mailing List","Third Party Advisory"]},{"url":"http://rhn.redhat.com/errata/RHSA-2016-0296.html","source":"secalert@redhat.com","tags":["Third Party Advisory"]},{"url":"http://www.debian.org/security/2016/dsa-3464","source":"secalert@redhat.com","tags":["Mailing List","Third Party Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2016/01/25/13","source":"secalert@redhat.com","tags":["Exploit","Mailing List"]},{"url":"http://www.securityfocus.com/bid/81801","source":"secalert@redhat.com","tags":["Broken Link","Third Party Advisory","VDB Entry"]},{"url":"http://www.securitytracker.com/id/1034816","source":"secalert@redhat.com","tags":["Broken Link","Third Party Advisory","VDB Entry"]}],"reasoning":{"decidingSource":"secure-rule-match","decidingReason":"Promoted to MITIGATED-BY-RASP (security rule): this CVE's weakness (CWE-22: Path Traversal) can be mitigated by an ARMR path-traversal security rule that blocks this class of attack at the JVM level, without requiring a CVE-specific patch.","verdicts":[{"rule":"rejected","stage":"identity","outcome":"no-match"},{"rule":"armr-patch-file","stage":"scope","outcome":"no-match"},{"rule":"armr-secure-rule-file","stage":"scope","outcome":"no-match"},{"rule":"manual-classification","stage":"scope","outcome":"no-match"},{"rule":"h2-history","stage":"scope","outcome":"no-match"},{"rule":"non-java-upstream","stage":"scope","outcome":"no-match"},{"rule":"oracle-component","stage":"scope","outcome":"no-match"},{"rule":"osv-maven","stage":"scope","outcome":"no-match"},{"rule":"cna-maven-package","stage":"scope","outcome":"no-match"},{"rule":"known-cpe-product","stage":"scope","outcome":"matched","status":"QUEUED-FOR-REVIEW","detail":"Matches known products: redhat/software_collections"},{"rule":"patch-hint","stage":"disposition","outcome":"no-match"},{"rule":"open-source-maven","stage":"disposition","outcome":"no-match"},{"rule":"poc-derivable","stage":"disposition","outcome":"matched","status":"MITIGATION-CANDIDATE","detail":"2 public PoC(s) indexed in exploit-db, github-poc, with no public source. The exploit is a starting point for deriving an ARMR patch rule by reverse engineering; nothing here establishes a hook point exists."},{"rule":"no-exploit","stage":"disposition","outcome":"skipped"},{"rule":"secure-rule-match","stage":"disposition","outcome":"matched","status":"MITIGATED-BY-RASP","detail":"CWE-22 (Path Traversal) is mitigable by an ARMR path-traversal security rule.","decisive":true},{"rule":"below-action-threshold","stage":"disposition","outcome":"skipped"},{"rule":"no-exploit-published","stage":"disposition","outcome":"skipped"}],"affectedProducts":[{"vendor":"rubyonrails","product":"rails","isKnown":false,"cpe":"cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:*"},{"vendor":"opensuse","product":"leap","isKnown":false,"cpe":"cpe:2.3:o:opensuse:leap:42.1:*:*:*:*:*:*:*"},{"vendor":"opensuse","product":"opensuse","isKnown":false,"cpe":"cpe:2.3:o:opensuse:opensuse:13.2:*:*:*:*:*:*:*"},{"vendor":"suse","product":"linux_enterprise_module_for_containers","isKnown":false,"cpe":"cpe:2.3:o:suse:linux_enterprise_module_for_containers:12:*:*:*:*:*:*:*"},{"vendor":"debian","product":"debian_linux","isKnown":false,"cpe":"cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*"},{"vendor":"redhat","product":"software_collections","isKnown":true,"cpe":"cpe:2.3:a:redhat:software_collections:1.0:*:*:*:*:*:*:*","source":"yaml"}]},"assessment":{"record":{"state":"active"},"protection":{"level":"full","mechanisms":["security-rule"]},"action":{"state":"available","type":"security-rule"},"review":{"state":"automated","basis":"inferred"}},"exploits":[{"source":"github-poc","url":"https://github.com/forced-request/rails-rce-cve-2016-0752","title":"forced-request/rails-rce-cve-2016-0752","date":"2016-01-26T15:25:34Z","stars":10},{"source":"exploit-db","url":"https://www.exploit-db.com/exploits/40561","title":"Ruby on Rails - Dynamic Render File Upload / Remote Code Execution (Metasploit)","date":"2016-10-17"}],"signals":{"hasPOC":true,"pocCount":2,"pocSources":["exploit-db","github-poc"],"topStars":10,"firstPOCDate":"2016-01-26T15:25:34Z"},"kev":{"inKEV":true,"dateAdded":"2022-03-25","dueDate":"2022-04-15","knownRansomwareUse":"Unknown"},"epss":{"available":true,"score":0.95537,"percentile":0.99867},"ssvc":{"available":true,"exploitation":"active","automatable":"yes","technicalImpact":"partial"}}