Directory traversal vulnerability in Action View in Ruby on Rails allows remote attackers to read arbitrary files.
In short
CVE-2016-0752 (Ruby on Rails Directory Traversal) has a CVSS 3.1 base score of 7.5, rated high. CISA added it to the Known Exploited Vulnerabilities catalog on 25 Mar 2022. Fixed in Rubyonrails Rails 4.1.14.1 or later.
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.
CVSS 3.1 breakdown
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NAffected products
- Redhat Software Collections1.0
- Rubyonrails Rails≥ 4.0.0 < 4.1.14.1 · ≥ 4.2.0 < 4.2.5.1 · < 3.2.22.1 · 5.0.0
- Debian Linux8.0
- Opensuse Leap42.1
- Opensuse13.2
- Suse Linux Enterprise Module For Containers12
Remediation
Fixed in- Rubyonrails Rails≥ 4.1.14.1
References
- http://lists.fedoraproject.org/pipermail/package-announce/2016-February/178044.html
- http://lists.fedoraproject.org/pipermail/package-announce/2016-February/178069.html
- http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00053.html
- http://lists.opensuse.org/opensuse-updates/2016-02/msg00034.html
- http://lists.opensuse.org/opensuse-updates/2016-02/msg00043.html
- http://rhn.redhat.com/errata/RHSA-2016-0296.html
- https://groups.google.com/forum/message/raw?msg=ruby-security-ann/335P1DcLG00/JXcBnTtZEgAJ
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2016-0752
- https://www.exploit-db.com/exploits/40561/
- http://www.debian.org/security/2016/dsa-3464
and 3 more references
Related CVEs
Exploited and critical vulnerabilities in the same product or from the same vendor.
Data from the NVD, CISA KEV catalog and FIRST EPSS. The CVSS 4.0 base score is shown where the NVD has one, otherwise CVSS 3.1.
