CVE-2020-7350

MEDIUM

Rapid7 Metasploit < 5.0.85 - OS Command Injection via libnotify Hostname or Service Name

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 2 public exploits for CVE-2020-7350. PoCs published by pastaoficial, pasta <[email protected]>, including Metasploit module exploits/unix/fileformat/metasploit_libnotify_cmd_injection.

AI-analyzed exploit summary The repository contains only a README with a title and an embedded video link, lacking any exploit code or technical details. No meaningful content or proof-of-concept is provided.

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.

Exploits (2)

gitlab STUB
by pastaoficial · poc
https://gitlab.com/pastaoficial/cve-2020-7350

The repository contains only a README with a title and an embedded video link, lacking any exploit code or technical details. No meaningful content or proof-of-concept is provided.

Classification
Stub 90%
Attack Type
Other
Complexity
Trivial
Reliability
Theoretical
Target: unknown
No auth needed
devstral-2 · analyzed Feb 23, 2026 Full analysis →
metasploit WORKING POC EXCELLENT
by pasta <[email protected]> · rubypocunix
https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/fileformat/metasploit_libnotify_cmd_injection.rb

This exploit leverages a command injection vulnerability in the Metasploit libnotify plugin by embedding malicious commands within an Nmap XML output file. The payload is executed when the file is processed by the vulnerable plugin.

Classification
Working Poc 100%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: Metasploit Framework versions 5.0.79 and earlier
No auth needed
Prerequisites: Vulnerable Metasploit installation · Ability to deliver the malicious XML file to the target
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (1)

Core 1
Core References
Exploit, Third Party Advisory x_refsource_confirm
https://github.com/rapid7/metasploit-framework/issues/13026

Scores

CVSS v3 6.1
EPSS 0.0488
EPSS Percentile 90.9%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:N

Details

CWE
CWE-78
Status published
Products (1)
rapid7/metasploit < 5.0.85
Published Apr 22, 2020
Tracked Since Feb 18, 2026