Description
This module exploits a PREG_REPLACE_EVAL vulnerability in phpMyAdmin's replace_prefix_tbl within libraries/mult_submits.inc.php via db_settings.php This affects versions 3.5.x < 3.5.8.1 and 4.0.0 < 4.0.0-rc3. PHP versions > 5.4.6 are not vulnerable.
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/phpmyadmin_preg_replacemsf undefined(phpmyadmin_preg_replace) > show actions ...actions...msf undefined(phpmyadmin_preg_replace) > set ACTION < action-name >msf undefined(phpmyadmin_preg_replace) > show options ...show and set options...msf undefined(phpmyadmin_preg_replace) > 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