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

Published Apr 23, 2021
·
Updated

By launching the drbremotecodeexec 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 drbremotecodeexec module is running. In most cases, this cannot happen automatically.

Affected Software

2 affected componentsFixes available
rubygems/metasploit-framework<4.19.0
4.19.0
Rapid7 Metasploit<4.19.0

Remediation

Information

Do not run the drb_remote_codeexec module. After commit 659137da94fa2fe56ce5c44d611db3692bf7d2e5, the Metasploit Framework no longer ships with the affected module.

Event History

Apr 23, 2021
CVE Published
via MITRE·03:35 PM
Data Sourced
via MITRE·03:35 PM
RemedyDescriptionSeverityWeakness
May 24, 2022
Advisory Published
05:48 PM

Frequently Asked Questions

1

What is CVE-2020-7385?

CVE-2020-7385 is a vulnerability that exposes Metasploit Framework to a deserialization issue when the drb_remote_codeexec exploit is launched.

2

What software is affected by CVE-2020-7385?

Metasploit Framework versions up to and including 4.19.0 are affected by CVE-2020-7385.

3

How do I fix CVE-2020-7385?

To fix CVE-2020-7385, update Metasploit Framework to version 4.19.0 or newer.

4

What is the severity of CVE-2020-7385?

CVE-2020-7385 has a severity rating of 8.8 (high).

5

What is the Common Weakness Enumeration (CWE) ID for CVE-2020-7385?

The CWE ID for CVE-2020-7385 is 502.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203