module

phpMyAdmin Authenticated Remote Code Execution

Disclosed
2018-06-19
Created
2018-07-25

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
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.