CVE-2020-7385

Metasploit Framework 'drb_remote_codeexec' code execution

HIGH
8.8
CVSS Score
Published: April 23, 2021 at 03:35 PM UTC
Updated: June 17, 2026 at 03:24 AM UTC
1 product affected across 1 vendorMetasploit

Using Metasploit Framework by Rapid7?

Get instant alerts when new vulnerabilities affect Metasploit Framework - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH8.8
Exploit prediction
EPSS 2%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 4.19.06.0.15
Affected range stops below 4.19.0, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (3)

x_refsource_MISCExploitPatchThird Party Advisory
https://github.com/rapid7/metasploit-framework/pull/14300
x_refsource_CONFIRMPatchThird Party Advisory
https://github.com/rapid7/metasploit-framework/pull/14335

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-502

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card