nday
CVE-2020-7350

Metasploit Framework Plugin Libnotify Command Injection

Rapid7 / Metasploit Framework

Disclosed . nday has no fix record for it yet; that does not mean no patch exists. Listed by 1 of 4 PoC sources: metasploit. Not in CISA KEV.

tags weakness typecommand injection accesslocalno authentication required exploitationMetasploit
why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

command injection
CWE-78, stated by the CNA rapid7, NVD's analysts, and NVD, republishing [email protected]
local
AV:L in CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:N (CVSS 3.1) from the CNA rapid7
no authentication required
PR:N in CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:N (CVSS 3.1) from the CNA rapid7
Metasploit
Metasploit modules exploit/unix/fileformat/metasploit_libnotify_cmd_injection
stage
POC
disclosed
cvss
6.1 MEDIUM v3.1

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
2020-04-22T21:25Z
PATpatch
no record yet
ANAanalysis
no record yet
POCPoC
metasploit
ITWexploited
no record yet
KEVKEV
no record yet

Summary

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.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:L
Local: needs a local or SSH session, or a user tricked into acting on the machine
Attack complexity AC:L
Low: no special conditions; the attacker can expect repeatable success
Privileges required PR:N
None: no account or authorization needed
User interaction UI:R
Required: a user must do something, such as open a file or click a link

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

CVSS 3.1 vector from the CVE record, scored by the CNA rapid7.

Event log

+DISdisclosed

CVE record published by rapid7. CVSS 6.1, medium.

src cvelist · nday , bulk import · raw
{
  "id": 64453,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2020-7350",
  "occurred_at": "2020-04-22T21:25:13.3Z",
  "observed_at": "2026-11-12T21:04:12.541754Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:N",
      "version": "3.1",
      "base_score": 6.1,
      "base_severity": "MEDIUM"
    },
    "state": "PUBLISHED",
    "date_published": "2020-04-22T21:25:13.300Z",
    "assigner_short_name": "rapid7"
  }
}
time unknownsource gave no time
+POCpublic PoC

Metasploit has module exploit/unix/fileformat/metasploit_libnotify_cmd_injection (Metasploit Libnotify Plugin Arbitrary Command Execution). The source gives no release time for the module.

src metasploit exploit/unix/fileformat/metasploit_libnotify_cmd_injection · nday , bulk import · raw
{
  "id": 51661,
  "type": "poc_published",
  "source": "metasploit",
  "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/fileformat/metasploit_libnotify_cmd_injection.rb",
  "occurred_at": null,
  "observed_at": "2026-11-12T15:24:51.477477Z",
  "is_backfill": true,
  "dedupe_key": "exploit/unix/fileformat/metasploit_libnotify_cmd_injection",
  "detail": {
    "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/fileformat/metasploit_libnotify_cmd_injection.rb",
    "kind": "msf_module",
    "path": "/modules/exploits/unix/fileformat/metasploit_libnotify_cmd_injection.rb",
    "rank": 600,
    "check": false,
    "title": "Metasploit Libnotify Plugin Arbitrary Command Execution",
    "cve_ids": [
      "CVE-2020-7350"
    ],
    "fullname": "exploit/unix/fileformat/metasploit_libnotify_cmd_injection",
    "rank_name": "excellent",
    "confidence": "curated",
    "module_type": "exploit",
    "module_last_modified": "2023-02-10 18:04:31 +0000",
    "vuln_disclosure_date": "2020-03-04"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.