Description
CMS Made Simple <= v2.2.21 allows an authenticated administrator to upload files with the .phar or .phtml extensions, enabling execution of PHP code leading to RCE. The file can be executed by accessing its URL in the /uploads/ directory.
Tested on v2.2.21, v2.2.18, v2.2.17, v2.2.16, v2.2.15, v2.2.14.
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/multi/http/cmsms/file_manager_auth_rcemsf undefined(file_manager_auth_rce) > show actions ...actions...msf undefined(file_manager_auth_rce) > set ACTION < action-name >msf undefined(file_manager_auth_rce) > show options ...show and set options...msf undefined(file_manager_auth_rce) > 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