Description
This module exploits an unauthenticated remote code execution vulnerability in Craft CMS versions 3.x, 4.x, and 5.x < 5.6.17 via the image transform endpoint. It injects a PHP Meterpreter payload into the Craft session, then triggers its execution by abusing the Yii behavior gadget chain (PhpManager) on the generate-transform endpoint. Discovered in the wild by Orange Cyberdefense CSIRT and assigned CVE-2025-32432.
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/preauth_rce_cve_2025_32432msf undefined(preauth_rce_cve_2025_32432) > show actions ...actions...msf undefined(preauth_rce_cve_2025_32432) > set ACTION < action-name >msf undefined(preauth_rce_cve_2025_32432) > show options ...show and set options...msf undefined(preauth_rce_cve_2025_32432) > 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