Background exploitation KEV catalog No authentication
CVE-2016-0752

Ruby on Rails Directory Traversal Vulnerability

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…

CheckOps priority index
8.3/10 Patch within 24 h
Severity7.5
Probability9.6
Exploitation4/5

Severity = CVSS. Probability = EPSS (FIRST). Exploitation = public signals: KEV, EUVD, ransomware, EPSS above 10 %, no account required.

EPSS · today 95.5% higher than 99.9% of CVEs
CVSS 3.1 7.5 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:
Exploited for 1,684 days 25 Mar 2022
CISA due date 15 Apr 2022 for US federal agencies

Exploitation probability EPSS · FIRST

05010026 Sep05 Oct15 Oct24 Oct02 Nov
EPSS probability (%)Percentile among all CVEs

Exploitation signals 4 / 5

  • KEV catalog (CISA)25 Mar 2022
  • Exploited in EUVD (ENISA)25 Mar 2022
  • Used by ransomwareno
  • EPSS above 10 %95.5%
  • No account, over the networkyes

What to do

Fix

Update to a fixed version: 4.1.14.1 4.2.5.1 3.2.22.1

CISA guidance: Apply updates per vendor instructions.

Meanwhile

Take the service off the internet or restrict access to it, watch the logs and look for signs of compromise.

Manufacturers (CRA)

Exploited vulnerability in your product: early warning to ENISA within 24 h, then notification within 72 h (Article 14 of the Cyber Resilience Act). The CRA explained

Description ENISA EUVD

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 products

Ruby on Rails
Weaknesses (CWE)

Open source packages OSV

  • actionpackRubyGems · GHSA-xrr4-p6fq-hjg7
    fixed in 4.1.14.1
  • actionpackRubyGems · GHSA-xrr4-p6fq-hjg7
    fixed in 4.2.5.1
  • actionpackRubyGems · GHSA-xrr4-p6fq-hjg7
    fixed in 3.2.22.1
  • actionviewRubyGems · GHSA-xrr4-p6fq-hjg7
    fixed in 4.1.14.1
  • actionviewRubyGems · GHSA-xrr4-p6fq-hjg7
    fixed in 4.2.5.1

Timeline

  1. Published

  2. Exploitation reported (ENISA)

  3. Added to the KEV catalog

  4. CISA remediation due date

  5. EPSS peak: 95.5%

References

Other exploited vulnerabilities from the same vendor

  • CVE-2019-5418Rails Ruby on Rails Path Traversal Vulnerability
    8.4 · Background exploitation
  • CVE-2014-0130Ruby on Rails Directory Traversal Vulnerability
    7.0 · Background exploitation

Are you affected?

CheckOps reads your SBOMs and scans, and alerts you as soon as one of your dependencies is exploited.

Get notified at launch

Sources: CISA KEV · ENISA EUVD · FIRST EPSS · OSV. Public data aggregated by CheckOps, updated automatically. Source texts remain the property of their authors. All exploited vulnerabilities