logo

Database

Lack of data validation - Path Traversal In actionview

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.

Mitigation

Update Impact

Minimal update. May introduce new vulnerabilities or breaking changes.

Ecosystem
Component
Affected version
Patched versions

References

1. https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2016-0752.yml2. https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionview/CVE-2016-0752.yml3. https://groups.google.com/forum/#!topic/rubyonrails-security/335P1DcLG004. https://groups.google.com/forum/message/raw?msg=ruby-security-ann/335P1DcLG00/JXcBnTtZEgAJ5. https://web.archive.org/web/20210618005620/https://groups.google.com/forum/message/raw?msg=ruby-security-ann/335P1DcLG00/JXcBnTtZEgAJ6. https://web.archive.org/web/20210621170450/http://www.securityfocus.com/bid/818017. https://web.archive.org/web/20210723192420/http://www.securitytracker.com/id/10348168. https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2016-07529. https://www.exploit-db.com/exploits/4056110. http://lists.fedoraproject.org/pipermail/package-announce/2016-February/178044.html11. http://lists.fedoraproject.org/pipermail/package-announce/2016-February/178069.html12. http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00053.html13. http://lists.opensuse.org/opensuse-updates/2016-02/msg00034.html14. http://lists.opensuse.org/opensuse-updates/2016-02/msg00043.html15. http://rhn.redhat.com/errata/RHSA-2016-0296.html16. http://www.debian.org/security/2016/dsa-346417. http://www.openwall.com/lists/oss-security/2016/01/25/1318. http://www.securityfocus.com/bid/8180119. http://www.securitytracker.com/id/103481620. https://github.com/forced-request/rails-rce-cve-2016-075221. https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/rails_dynamic_render_code_exec.rb