Metasploit Framework user exposes Metasploit to same deserialization issue that is exploited by that module
GHSA-xgww-h98f-24qf · CVE-2020-7385
Published · Modified
AI SAST
Find this class of vulnerability in your own code
Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.
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.
References
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2020-7385
- WEB https://github.com/rapid7/metasploit-framework/pull/14300
- WEB https://github.com/rapid7/metasploit-framework/pull/14335
- PACKAGE https://github.com/rapid7/metasploit-framework
- WEB https://help.rapid7.com/metasploit/release-notes/archive/2020/10
Ready to move
Start Securing
Free, no credit card | First findings in minutes