Description
This module exploits a command injection vulnerability in Metasploit Framework's msfvenom payload generator when using a crafted APK file as an Android payload template. Affects Metasploit Framework <= 6.0.11 and Metasploit Pro <= 4.18.0. The file produced by this module is a relatively empty yet valid-enough APK file. To trigger the vulnerability, the victim user should do the following:
msfvenom -p android/<...> -x <crafted_file.apk>
Module options
To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':
msf > use exploit/unix/fileformat/metasploit/msfvenom_apk_template_cmd_injectionmsf undefined(msfvenom_apk_template_cmd_injection) > show actions ...actions...msf undefined(msfvenom_apk_template_cmd_injection) > set ACTION < action-name >msf undefined(msfvenom_apk_template_cmd_injection) > show options ...show and set options...msf undefined(msfvenom_apk_template_cmd_injection) > runPrioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub