Advisory

GHSA-xgww-h98f-24qf

Also known as: CVE-2020-7385

Summary

Metasploit Framework user exposes Metasploit to same deserialization issue that is exploited by that module

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-05-24 17:48 UTC
Modified
2023-11-08 04:03 UTC

Affected packages and fixes

metasploit-framework

RubyGems · All systems

Affected

  • introduced 0, fixed 4.19.0 (ecosystem)

Fixed versions

4.19.0

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences