module

WordPress InfiniteWP Client Authentication Bypass

Disclosed
2020-01-14
Created
2020-02-10

Description

This module exploits an authentication bypass in the WordPress
InfiniteWP Client plugin to log in as an administrator and execute
arbitrary PHP code by overwriting the file specified by PLUGIN_FILE.

The module will attempt to retrieve the original PLUGIN_FILE contents
and restore them after payload execution. If VerifyContents is set,
which is the default setting, the module will check to see if the
restored contents match the original.

Note that a valid administrator username is required for this module.

WordPress >= 4.9 is currently not supported due to a breaking WordPress
API change. Tested against 4.8.3.

Authors

WebARX
wvu wvu@metasploit.com

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