Rapid7 Vulnerability & Exploit Database

Wordpress Plugin Elementor Authenticated Upload Remote Code Execution

Back to Search

Wordpress Plugin Elementor Authenticated Upload Remote Code Execution

Disclosed
03/29/2022
Created
10/04/2022

Description

The WordPress plugin Elementor versions 3.6.0 - 3.6.2, inclusive have a vulnerability that allows any authenticated user to upload and execute any PHP file. This is achieved by sending a request to install Elementor Pro from a user supplied zip file. Any user with Subscriber or more permissions is able to execute this. Tested against Elementor 3.6.1

Author(s)

  • Ramuel Gall
  • AkuCyberSec
  • h00die

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 exploit/multi/http/wp_plugin_elementor_auth_upload_rce
msf exploit(wp_plugin_elementor_auth_upload_rce) > show targets
    ...targets...
msf exploit(wp_plugin_elementor_auth_upload_rce) > set TARGET < target-id >
msf exploit(wp_plugin_elementor_auth_upload_rce) > show options
    ...show and set options...
msf exploit(wp_plugin_elementor_auth_upload_rce) > 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

;