CVE-2020-7350

Medium

Description

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.

SeverityMedium
CVSS6.1
Exploit probability—
ProductRapid7 Metasploit
PublishedApr 22, 2020
First seenApr 22, 2020

How to fix

Update
  • rapid7 metasploit5.0.85 or later

Affected products

ProductAffected versionsFixed in
rapid7 metasploitv < 5.0.855.0.85

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.