Actively exploited · Published Feb 16, 2016 · Assigned by redhat
CVE-2016-0752
High 7.5 Exploited
In plain English
A high-severity path traversal in Ruby on Rails from Rails. Attackers are actively exploiting it in the wild (listed by CISA on March 25, 2022). The chance it is exploited in the next 30 days is estimated at 95.5% (higher than 99.9% of all known vulnerabilities). Ready-made attack tooling exists: Metasploit, public proof-of-concept code. Fixed versions are available - upgrade the affected package.
CISA guidance
Apply updates per vendor instructions.
Federal agencies must remediate by Apr 15, 2022.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | rails | 2:4.2.5.1-1 | DEBIAN-CVE-2016-0752 |
| Debian:13 | rails | 2:4.2.5.1-1 | DEBIAN-CVE-2016-0752 |
| Debian:14 | rails | 2:4.2.5.1-1 | DEBIAN-CVE-2016-0752 |
| RubyGems | actionpack | 3.2.22.1 | GHSA-xrr4-p6fq-hjg7 |
| RubyGems | actionpack | 4.1.14.1 | GHSA-xrr4-p6fq-hjg7 |
| RubyGems | actionpack | 4.2.5.1 | GHSA-xrr4-p6fq-hjg7 |
| RubyGems | actionview | 4.2.5.1 | GHSA-xrr4-p6fq-hjg7 |
| RubyGems | actionview | 4.1.14.1 | GHSA-xrr4-p6fq-hjg7 |
Affected products (as reported)
Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
References
- 40561 exploit, x_refsource_EXPLOIT-DB
- openSUSE-SU-2016:0372 vendor-advisory, x_refsource_SUSE
- openSUSE-SU-2016:0363 vendor-advisory, x_refsource_SUSE
- [oss-security] 20160125 [CVE-2016-0752] Possible Information Leak Vulnerability in Action View mailing-list, x_refsource_MLIST
- FEDORA-2016-97002ad37b vendor-advisory, x_refsource_FEDORA
- SUSE-SU-2016:1146 vendor-advisory, x_refsource_SUSE
- 81801 vdb-entry, x_refsource_BID
- 1034816 vdb-entry, x_refsource_SECTRACK
- FEDORA-2016-fa0dec2360 vendor-advisory, x_refsource_FEDORA
- [ruby-security-ann] 20160125 [CVE-2016-0752] Possible Information Leak Vulnerability in Action View mailing-list, x_refsource_MLIST
- DSA-3464 vendor-advisory, x_refsource_DEBIAN
- RHSA-2016:0296 vendor-advisory, x_refsource_REDHAT
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2016-0752 government-resource