Rapid7 Vulnerability & Exploit Database

WordPress Plugin Automatic Config Change to RCE

Back to Search

WordPress Plugin Automatic Config Change to RCE

Disclosed
09/06/2021
Created
11/05/2021

Description

This module exploits an unauthenticated arbitrary wordpress options change vulnerability in the Automatic (wp-automatic) plugin <= 3.53.2. If WPEMAIL is provided, the administrator's email address will be changed. User registration is enabled, and default user role is set to administrator. A user is then created with the USER name set. A valid EMAIL is required to get the registration email (not handled in MSF).

Author(s)

  • h00die
  • Jerome Bruandet

Platform

PHP

Architectures

php

Development

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 auxiliary/admin/http/wp_automatic_plugin_privesc
msf auxiliary(wp_automatic_plugin_privesc) > show actions
    ...actions...
msf auxiliary(wp_automatic_plugin_privesc) > set ACTION < action-name >
msf auxiliary(wp_automatic_plugin_privesc) > show options
    ...show and set options...
msf auxiliary(wp_automatic_plugin_privesc) > run 

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

;