GitHub Advisoryadvisory · RubyGems

GHSA-xgww-h98f-24qf Metasploit Framework user exposes Metasploit to same deserialization issue that is exploited by that module

HIGH Published 2022-05-24 Modified 2023-05-05 Official page ↗
Aliases
CVE-2020-7385
Ecosystem
RubyGems
Packages
metasploit-framework
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
Weaknesses
CWE-502
Reviewed
2023-05-05

Affected packages

• RubyGems metasploit-framework: < 4.19.0 → fixed in 4.19.0

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.

Related

Alias · CVE (1)

  • CVE-2020-7385 By launching the drb_remote_codeexec exploit, a Metasploit Framework user will inadvertently expose Metasploit to the same deserialization… vulnerability

Weakness · CWE (1)

  • CWE-502 Deserialization of Untrusted Data weakness

References