module

WordPress File Manager Unauthenticated Remote Code Execution

Disclosed
09/09/2020
Created
11/10/2020

Description

The File Manager (wp-file-manager) plugin from 6.0 to 6.8 for WordPress allows remote attackers to upload and
execute arbitrary PHP code because it renames an unsafe example elFinder connector file to have the .php
extension. This, for example, allows attackers to run the elFinder upload (or mkfile and put) command to write
PHP code into the wp-content/plugins/wp-file-manager/lib/files/ directory.

Authors

Alex Souza (w4fz5uck5)Imran E. Dawoodjee

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/wp_file_manager_rce
    msf /(e) > show actions
        ...actions...
    msf /(e) > set ACTION < action-name >
    msf /(e) > show options
        ...show and set options...
    msf /(e) > run
  
Title
NEW

Explore Exposure Command

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