Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. metasploit-framework
  4. ›
  5. CVE-2020-7385

CVE-2020-7385: Deserialization of Untrusted Data

May 24, 2022 (updated May 5, 2023)

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

  • github.com/advisories/GHSA-xgww-h98f-24qf
  • github.com/rapid7/metasploit-framework/pull/14300
  • github.com/rapid7/metasploit-framework/pull/14335
  • help.rapid7.com/metasploit/release-notes/archive/2020/10/
  • nvd.nist.gov/vuln/detail/CVE-2020-7385

Code Behaviors & Features

Detect and mitigate CVE-2020-7385 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 4.19.0

Fixed versions

  • 4.19.0

Solution

Upgrade to version 4.19.0 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-502: Deserialization of Untrusted Data
  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

gem/metasploit-framework/CVE-2020-7385.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:10 +0000.