CVE-2020-7385: rapid7 metasploit Deserialization of Untrusted Data
Vulnerability summary
CVE-2020-7385 is a high (CVSS 8.8) Deserialization of Untrusted Data vulnerability in rapid7 metasploit. EPSS estimates a 1.75% chance of exploitation in the next 30 days, higher than 77.6% of scored vulnerabilities. 1 public exploit is recorded.
Timeline
- 23-04-2021PublishedVulnerability first disclosed.
- 17-09-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 3 sources · 2 versions- CVE.orgCNA8.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:NDiffers
- OSV · RubygemsEcosystem advisory · calculated8.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:NDiffers
EPSS trend
Probability
1.75%
Chance of exploitation in the next 30 days
Percentile
78%
Versus all other CVEs
30-day change
0.00 pp
From 1.75% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundMetasploit Framework
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Rapid72 products
- metasploit< 4.19.0
- metasploit framework6.0.15
RubyGems1 product
- metasploit-framework< 4.19.0
2 vendors · 3 products
References
6 links- github.com/rapid7/metasploit-framework/pull/14300X Refsource MISCWEBExploitPatchThird Party Advisory
- help.rapid7.com/metasploit/release-notes/archive/2020/10/X Refsource MISCRelease NotesVendor Advisory