Lucene search

K
attackerkbAttackerKBAKB:885CC89A-28A8-4DF6-95B0-121A413F1120
HistoryApr 16, 2020 - 12:00 a.m.

CVE-2020-7350

2020-04-1600:00:00
attackerkb.com
7

0.008 Low

EPSS

Percentile

81.7%

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.

Recent assessments:

zeroSteiner at April 16, 2020 9:28pm UTC reported:

The Metasploit Framework’s libnotify plugin contains a vulnerability which can allow an attacker to execute an operating system command as the user running Metasploit. Exploiting the vulnerability requires the target user to have the libnotify plugin loaded, and then to load a malicious file using msfconsole’s db_import command.

The root of the problem is the way in which arguments are passed to Ruby’s system function to execute the operating system command. A maliciously crafted service name can add additional arguments and commands to this call, leading to code execution. The vulnerable code path will only be hit the first time the service is reported, i.e. repeatedly loading the malicious file with db_import will not result in the command being executed multiple times unless the user deletes the service between attempts.

This vulnerability was patched in <https://github.com/rapid7/metasploit-framework/pull/13266&gt;.

Assessed Attacker Value: 2
Assessed Attacker Value: 2Assessed Attacker Value: 3

0.008 Low

EPSS

Percentile

81.7%

Related for AKB:885CC89A-28A8-4DF6-95B0-121A413F1120