CVE-2016-0752

Rails Ruby on Rails: Directory Traversal

As of , CVE-2016-0752 in Rails Ruby on Rails is on CISA's list of exploited vulnerabilities: CISA listed it on . Our patch-first group: Patch this week.

Exploited
Yes: CISA listed it on 25 March 2022
US federal deadline
15 April 202221 days after CISA listed it. US federal civilian agencies must fix it by then.
Used in ransomware campaigns
Not known to CISA
EPSS score
0.96Higher than 99% of the CVEs EPSS scores. EPSS estimates the chance of exploitation activity in the next 30 days.
EPSS when listed
0.93 on 25 March 2022EPSS on the day CISA listed it.
Public exploit
1 Metasploit module and 1 Exploit-DB entry (1 verified)
Fix
No vendor link in CISA's entry

What CISA says to do

Apply updates per vendor instructions.

CISA's required action

What the flaw is

Directory traversal vulnerability in Action View in Ruby on Rails allows remote attackers to read arbitrary files.

CISA's 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.

The CVE record's description, from redhat

CVE published
16 February 2016
Assigned by
redhat
CVSS
7.5 High (CVSS 3.1, from CISA-ADP)
CWE-22
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
CISA SSVC, exploitation
active
CISA SSVC, automatable
yes
CISA SSVC, technical impact
partial

Timeline

  1. The CVE record was published.
  2. Exploit-DB published an exploit (EDB-ID 40561).
  3. CISA added it to its list of exploited vulnerabilities.
  4. The US federal deadline to fix it.

Public exploits

Facts from Metasploit's module list and Exploit-DB's index; we never copy exploit code.

Ruby on Rails: other exploited entries

VulnerabilityProductOur groupListedDeadlineEPSS
CVE-2019-5418Path TraversalRails Ruby on RailsPatch this weekMetasploit module; EPSS 0.990.99
CVE-2014-0130Directory TraversalRails Ruby on RailsPatch this weekEPSS 0.540.54

Read further