module

CmsMadeSimple Authenticated File Manager RCE

Disclosed
2023-06-07
Created
2025-03-28

Description

CMS Made Simple 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.

Authors

Okan Kurtuluş
Mirabbas Ağalarov
tastyrice

Platform

PHP

Architectures

php

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_rce
msf exploit(cmsms_file_manager_auth_rce) > show targets
...targets...
msf exploit(cmsms_file_manager_auth_rce) > set TARGET < target-id >
msf exploit(cmsms_file_manager_auth_rce) > show options
...show and set options...
msf exploit(cmsms_file_manager_auth_rce) > exploit

Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.