Description
This module exploits a command injection vulnerability in Mida Solutions eFramework version 2.9.0 and prior.
The `ajaxreq.php` file allows unauthenticated users to inject arbitrary commands in the `PARAM` parameter to be executed as the apache user. The sudo configuration permits the apache user to execute any command as root without providing a password, resulting in privileged command execution as root.
This module has been successfully tested on Mida Solutions eFramework-C7-2.9.0 virtual appliance.
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/mida/solutions_eframework_ajaxreq_rcemsf undefined(solutions_eframework_ajaxreq_rce) > show actions ...actions...msf undefined(solutions_eframework_ajaxreq_rce) > set ACTION < action-name >msf undefined(solutions_eframework_ajaxreq_rce) > show options ...show and set options...msf undefined(solutions_eframework_ajaxreq_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