Rapid7’s 2026 Global Cybersecurity Summit is now available on-demand.Watch sessions.
Rapid7

module

Mida Solutions eFramework ajaxreq.php Command Injection

Disclosed
Jul 24, 2020
Created
Sep 16, 2020

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.

Authors

elbae
bcoles [email protected]

Platform

Linux,Unix

Architectures

x86, x64, cmd

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

Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.