Metasploit Framework 'drb_remote_codeexec' code execution
Published Apr 23, 2021
8.8
HIGHCVSS 3.1
EPSS 1.75%
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 products
-
- Version 6.0.15StatusaffectedConstraints<=6.0.15
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Rapid7 | Metasploit Framework | n/a |
|
- < 4.19.0
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
Vendor solution
Do not run the drb_remote_codeexec module. After commit 659137da94fa2fe56ce5c44d611db3692bf7d2e5, the Metasploit Framework no longer ships with the affected module.
References (5)
- https://github.com/advisories/GHSA-xgww-h98f-24qf Advisory
- https://github.com/rapid7/metasploit-framework/pull/14300 x_refsource_MISCExploitPatchThird Party Advisory
- https://github.com/rapid7/metasploit-framework/pull/14335 x_refsource_CONFIRMPatchThird Party Advisory
- https://help.rapid7.com/metasploit/release-notes/archive/2020/10/ x_refsource_MISCRelease NotesVendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2020-7385
| Link | Providers | Tags |
|---|---|---|
| https://github.com/advisories/GHSA-xgww-h98f-24qf | Advisory | |
| https://github.com/rapid7/metasploit-framework/pull/14300 | x_refsource_MISCExploitPatchThird Party Advisory | |
| https://github.com/rapid7/metasploit-framework/pull/14335 | x_refsource_CONFIRMPatchThird Party Advisory | |
| https://help.rapid7.com/metasploit/release-notes/archive/2020/10/ | x_refsource_MISCRelease NotesVendor Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2020-7385 |
Change history (0)
No recorded changes yet.