{"schemaVersion":3,"id":"CVE-2020-7350","aliases":[],"status":"published","duplicateOf":null,"title":"Metasploit Framework Plugin Libnotify Command Injection","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.","dates":{"published":"2020-04-22T21:25:13.300Z","modified":"2024-09-17T00:51:34.097Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":6.1,"severity":"medium","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6.8,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.05,"percentile":0.922,"severity":"low","asOf":"2026-10-22T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-22T00:00:00.000Z","baselineScore":0.05},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.05,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.05,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.05,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.05,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.05,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.05,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.05,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.05,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.05,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.05,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.05,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.05,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.05,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.05,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.05,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.05,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.05,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.05,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.05,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.05,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.05,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.05,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.05,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.05,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.05,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.05,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.05,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.05,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.05,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.05,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.05,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.05,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.05,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.05,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.05,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.05,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.05,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.05,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.05,"percentile":0.922}],"last30":[{"date":"2026-09-22T00:00:00.000Z","score":0.05,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.05,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.05,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.05,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.05,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.05,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.05,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.05,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.05,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.05,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.05,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.05,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.05,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.05,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.05,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.05,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.05,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.05,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.05,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.05,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.05,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.05,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.05,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.05,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.05,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.05,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.05,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.05,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.05,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.05,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.05,"percentile":0.922}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_RAPID7_METASPLOIT-FRAMEWORK","name":"Metasploit Framework","source":"github","url":"https://github.com/rapid7/metasploit-framework/pull/17067","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"MSF_EXPLOIT_UNIX_FILEFORMAT_METASPLOIT_LIBNOTIFY_CMD_INJECTION","name":"Metasploit Libnotify Plugin Arbitrary Command Execution","source":"metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploit/unix/fileformat/metasploit_libnotify_cmd_injection.rb","maturity":"weaponized","reliabilityScore":1,"verified":true,"type":"remote","platforms":[],"requiresAuth":false,"exploitdb":null,"metasploit":{"fullname":"exploit/unix/fileformat/metasploit_libnotify_cmd_injection","rank":"600","rankName":"excellent","postAuth":false,"check":false,"stability":["crash-safe"],"sideEffects":["artifacts-on-disk"],"reliability":["unreliable-session"]}}],"exploitCount":2,"weaknesses":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","description":"The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/78.html"}],"affected":[{"vendor":"rapid7","product":"metasploit","name":"metasploit","label":"metasploit","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 5.0.85","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.0.85","eol":null,"hubHref":"/vendor/rapid7/metasploit"},{"vendor":"rapid7","product":"metasploit framework","name":"Metasploit Framework","label":"metasploit framework","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 5.0.85, < 5.0.85","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 5.0.85, < 5.0.85","eol":null,"hubHref":"/vendor/rapid7/metasploit_framework"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/rapid7/metasploit-framework/issues/13026","label":"github.com/rapid7/metasploit-framework/issues/13026","hostname":"github.com","tags":["X Refsource CONFIRM","Exploit","Third Party Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2020-04-22T21:25:13.300Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-09-17T00:51:34.097Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":42,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T16:54:13.937Z","stale":false,"partial":false}}