module

phpMyAdmin Authenticated Remote Code Execution

Disclosed
Jun 19, 2018
Created
Jul 25, 2018

Description

phpMyAdmin v4.8.0 and v4.8.1 are vulnerable to local file inclusion,
which can be exploited post-authentication to execute PHP code by
application. The module has been tested with phpMyAdmin v4.8.1.

Authors

ChaMd5
Henry Huang
Jacob Robles

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