Vulnerability · Published Apr 23, 2021 · Assigned by rapid7

CVE-2020-7385Metasploit Framework 'drb_remote_codeexec' code execution

High 8.1

In plain English

A high-severity unsafe deserialization in Metasploit Framework from Rapid7. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.8% (higher than 78% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.1High
Exploit odds (30 days)1.8%top 22.0% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

By launching the drb_remote_codeexec exploit, a Metasploit Framework user will inadvertently expose Metasploit to the same deserialization issue that is exploited by that module, due to the reliance on the vulnerable Distributed Ruby class functions. Since Metasploit Framework typically runs with elevated privileges, this can lead to a system compromise on the Metasploit workstation. Note that an attacker would have to lie in wait and entice the Metasploit user to run the affected module against a malicious endpoint in a "hack-back" type of attack. Metasploit is only vulnerable when the drb_remote_codeexec module is running. In most cases, this cannot happen automatically.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
RubyGemsmetasploit-framework4.19.0GHSA-xgww-h98f-24qf

Affected products (as reported)

VendorProductVersions
Rapid7 Metasploit Framework 6.0.15 – through 6.0.15

Weakness: CWE-502 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

References