Description
This module exploits an unrestricted file upload vulnerability in Prison Management System 1.0. An authenticated user can upload a PHP file with arbitrary content by abusing the avatar upload functionality in the add-admin.php endpoint. The application fails to properly validate the uploaded file type, allowing an attacker to upload a PHP webshell.
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/prison/management_rcemsf undefined(management_rce) > show actions ...actions...msf undefined(management_rce) > set ACTION < action-name >msf undefined(management_rce) > show options ...show and set options...msf undefined(management_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