Description
This module exploits a Twig template injection vulnerability in Craft CMS by abusing the --templatesPath argument. The vulnerability allows arbitrary template loading via FTP, leading to Remote Code Execution (RCE).
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/linux/http/craftcms_ftp_templatemsf undefined(craftcms_ftp_template) > show actions ...actions...msf undefined(craftcms_ftp_template) > set ACTION < action-name >msf undefined(craftcms_ftp_template) > show options ...show and set options...msf undefined(craftcms_ftp_template) > 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