Rapid7 Vulnerability & Exploit Database

WordPress InfiniteWP Client Authentication Bypass

Back to Search

WordPress InfiniteWP Client Authentication Bypass

Disclosed
01/14/2020
Created
02/10/2020

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.

Author(s)

  • WebARX
  • wvu <wvu@metasploit.com>

Platform

PHP

Architectures

php

Development

References

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

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;