RCE in Rapid7 Metasploit

CVE-2020-7350

Rapid7 Metasploit Framework versions before 5.0.85 suffers from an instance of CWE-78: OS Command Injection, wherein the libnotify plugin accepts untrusted user-supplied data via a remote computer's hostname or service name. An attacker can create a specially-crafted hostname or service name to be imported by Metasploit from a variety of sources and trigger a command injection on the operator's terminal. Note, only the Metasploit Framework and products that expose the plugin system is susceptible to this issue -- notably, this does not include Rapid7 Metasploit Pro. Also note, this vulnerability cannot be triggered through a normal scan operation -- the attacker would have to supply a file that is processed with the db_import command.

Vulnerability class: Command Injection (OS Command Injection)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:N.

EPSS exploit prediction

EPSS: 0.050 (91.9th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 92nd percentile — 91.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2020-7350: held from 0.049 to 0.050.

EPSS over last 30 days · oldest: 0.049 · newest: 0.050 · change: +0.001

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2020-7350?
CVE-2020-7350 is a medium-severity vulnerability in Rapid7 Metasploit, classified under OS Command Injection. CVSS score: 6.1/10. Published 2020-04-22.
How severe is CVE-2020-7350?
Medium severity. CVSS v3 base score is 6.1 out of 10.
Is CVE-2020-7350 known to be exploited?
2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.