CVE-2020-7384
Rapid7 Metasploit vulnerability analysis and mitigation

Overview

CVE-2020-7384 is a vulnerability in Rapid7's Metasploit msfvenom framework that was discovered in 2020. The vulnerability allows a malicious user to craft and publish an APK template file that would execute arbitrary commands on a victim's machine when processed by msfvenom (Rapid7 Blog, NVD).

Technical details

The vulnerability exists in msfvenom's handling of APK template files. The issue occurs because msfvenom does not properly sanitize certain fields, such as the Owner field, that get passed into an Open3.popen3() call. This lack of sanitization allows for command injection through maliciously crafted APK templates (Rapid7 Blog).

Impact

When exploited, this vulnerability allows an attacker to execute arbitrary commands on the machine of any user who processes a malicious APK template file using msfvenom. This could lead to complete system compromise of the machine running msfvenom (NVD).

Exploitability

An exploit module was developed and added to the Metasploit Framework itself. The vulnerability can be triggered when a user processes a malicious APK template file using the msfvenom utility (Rapid7 Blog).

Mitigation and workarounds

The vulnerability was fixed in Metasploit Framework version 6.0.12 and Metasploit Pro version 4.19.0. Users should upgrade to these versions or later to mitigate the vulnerability (Rapid7 Blog).

Additional resources


SourceThis report was generated using AI

Related Rapid7 Metasploit vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2020-7385HIGH8.8
  • Ruby logoRuby
  • metasploit-framework
NoYesApr 23, 2021
CVE-2026-7373HIGH8.5
  • Rapid7 Metasploit logoRapid7 Metasploit
  • cpe:2.3:a:rapid7:metasploit
NoYesMay 15, 2026
CVE-2020-7384HIGH7.8
  • Rapid7 Metasploit logoRapid7 Metasploit
  • cpe:2.3:a:rapid7:metasploit
NoYesOct 29, 2020
CVE-2019-5645HIGH7.5
  • Rapid7 Metasploit logoRapid7 Metasploit
  • cpe:2.3:a:rapid7:metasploit
NoYesSep 01, 2020
CVE-2023-0599MEDIUM4.8
  • Rapid7 Metasploit logoRapid7 Metasploit
  • cpe:2.3:a:rapid7:metasploit
NoNoFeb 01, 2023

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management