CVE Tools

CVE-2020-8163

CVE-2020-8163 is a code injection in Rubyonrails Rails (CVSS 8.8, High).

Public exploit available. Not confirmed exploited in the wild yet. Fixed versions are out.

Check it yourself

Nuclei · 2 templatesOpenVAS · 5 checks

e.g. Rails RCE · OID 1.3.6.1.4.1.25623.1.0.113717

Run the check

Published Updated Sources: CVE.org, NVD, GitHub, BDU

What to do

Find your product and version, then upgrade to the build on the right.

  • N/a Https://github.com/rails/railsAffected: Fixed in 4.2.11.2Upgrade to: not statedStated by: CVE record
  • RubyGems actionviewAffected: < 4.2.11.3Upgrade to: 4.2.11.3Stated by: GitHub advisory
  • Rubyonrails RailsAffected: < 5.0.1Upgrade to: 5.0.1Stated by: NVD
  • Open-source community Debian GNU/LinuxAffected: 9Upgrade to: not statedStated by: BDU
  • RusBITech-Astra Astra Linux Special EditionAffected: 1.6 «Smolensk»Upgrade to: not statedStated by: BDU

Versions as the sources state them. 4 more products have version data. Full version matrix after sign-in

What it is

From the CVE record

The is a code injection vulnerability in versions of Rails prior to 5.0.1 that wouldallow an attacker who controlled the `locals` argument of a `render` call to perform a RCE.

In plain language

No plain-language summary for this CVE yet.

Exploitation

Where each signal puts this CVE on the scale from published to confirmed exploited.

EPSS99th
Public exploit
CISA KEV

Not in the catalog. CISA has not confirmed exploitation.

Public exploits

2 sources with a proof of concept or module.

Exploit links, PoCs and Metasploit modules after sign-in
EPSS

82% chance of exploitation activity in the next 30 days, which ranks it in the 99th percentile of scored CVEs.

Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.

Lifecycle

The patch came 471 days before any public exploit.

  1. OpenVAS check added
  2. EPSS band changecritical → high
  3. Public exploit / PoCsource: github-pocnuclei check added
  4. Patch availablerecord updated
  5. Publishedweakness classified, att&ck mapped

Affected products

And 2 more affected products. See all after sign-in

Technical detail

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Scored 8.8 by NVD.

How it is reached

  • Attack Vector NetworkExploitable remotely over the network without any special conditions
  • Attack Complexity LowNo special conditions — the attack can be reliably reproduced
  • Privileges Required LowRequires basic user-level privileges
  • User Interaction NoneNo user interaction needed — fully automated exploitation

Scope

  • Scope UnchangedImpact is limited to the vulnerable component itself

Impact if exploited

  • Confidentiality HighTotal information disclosure — all data in the component is compromised
  • Integrity HighTotal loss of integrity — attacker can modify any data in the component
  • Availability HighTotal denial of service — the component is completely unavailable

Weaknesses

ATT&CK techniques

Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.

Sources

Questions about CVE-2020-8163

Is CVE-2020-8163 being exploited?
Not confirmed. Public exploit code exists (2 sources), but CVE-2020-8163 is not in CISA KEV. EPSS puts the chance of exploitation in the next 30 days at 82%.
Which versions are affected by CVE-2020-8163?
Rails: < 5.0.1. Https://github.com/rails/rails: Fixed in 4.2.11.2. Actionview: < 4.2.11.3. 6 more products are listed in the record.
How do I fix or mitigate CVE-2020-8163?
Upgrade to a fixed build for your product branch: 4.2.11.3, 5.0.1. The advisory is on groups.google.com.

Last updated

Watch the software you run.

My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.

We'll flag the next CVE, public exploit or patch for Rails, not every advisory. This one: public exploit.