Deserialization in Rapid7 Metasploit
CVE-2020-7385
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.
Vulnerability class: Insecure Deserialization
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N.
EPSS exploit prediction
EPSS: 0.018 (76.9th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 77th percentile — 76.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.018 · newest: 0.018 · change: 0.000
Affected products
- Rapid7 Metasploit
- Rapid7 Metasploit Framework — versions 6.0.15
Weakness classification (CWE)
References
- github.com/rapid7/metasploit-framework/pull/14300 (Exploit, Patch, Third Party Advisory)
- help.rapid7.com/metasploit/release-notes/archive/2020/10/ (Release Notes, Vendor Advisory)
- github.com/rapid7/metasploit-framework/pull/14335 (Patch, Third Party Advisory)
Frequently asked questions
- What is CVE-2020-7385?
- CVE-2020-7385 is a high-severity vulnerability in Rapid7 Metasploit, classified under Deserialization of Untrusted Data. CVSS score: 8.1/10. Published 2021-04-23.
- How severe is CVE-2020-7385?
- High severity. CVSS v3 base score is 8.1 out of 10.