Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2022-1329 — Exploit for CVE-2022-1329 in WordPress Elementor 3.6.0-3.6.2 enabling authenticated remote code execution via malicious ZIP upload with PHP payload. | Kitploit
Tools/GitHubGitHub/phanthibichtram12/cve-2022-1329
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingPayload Development
GitHubphanthibichtram12/cve-2022-1329

CVE-2022-1329

Exploit for CVE-2022-1329 in WordPress Elementor 3.6.0-3.6.2 enabling authenticated remote code execution via malicious ZIP upload with PHP payload.

View Repository
12 years agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

WordPress Plugin - Elementor 3.6.0 3.6.1 3.6.2 Remote Code Execution

root@kitploit:~

Ngày: 16 tháng 4 năm 2023
Khai thác Tác giả: Việt Hùng (https://github.com/phanthibichtram12)
Trang chủ của nhà cung cấp: https://elementor.com/
Link phần mềm: https://wordpress.org/plugins/elementor/advanced/ (kéo xuống chọn phiên bản)
Phiên bản: 3.6.0, 3.6.1, 3.62
Đã thử nghiệm trên: WordPress 5.9.3 (không phụ thuộc vào hệ điều hành vì cách khai thác này KHÔNG cung cấp tải trọng)
CVE : CVE-2022-1329

VULNERABILITY DESCRIPTION

The WordPress plugin Elementor (v. 3.6.0, 3.6.1, 3.6.2) has a vulnerability that allows any authenticated user to upload and execute any PHP file.

This vulnerability, in OWASP TOP 10 2021, is ranked at #1 (Broken Access Control)

The file containing this vulnerability is elementor/core/app/modules/onboarding/module.php

At the end of this file, you can find this code:

root@kitploit:~
add_action( 'admin_init', function() {
  nếu ( wp_doing_ajax() &&
  isset( $_POST['action'] ) &&
  isset( $_POST['_nonce'] ) &&
  wp_verify_nonce( $_POST['_nonce'], Ajax::NONCE_KEY )
  ) {
  $this->maybe_handle_ajax();
  }
  } );

This code is triggered whenever ANY user account accesses /wp-admin For it to work, we need the following 4 things:

  1. The call must be an "ajax call" (wp_doing_ajax()) and the method must be POST. To do this, we simply call /wp-admin/admin-ajax.php
  2. The "action" parameter must be "elementor_upload_and_install_pro" (see the function named Maybe_handle_ajax() in the same file)
  3. The "_nonce" parameter must be retrieved after login by inspecting the /wp-admin page (this exploit does this in the DoLogin function)
  4. The "fileToUpload" parameter must contain the ZIP archive we want to upload (see the function named upload_and_install_pro() in the same file)

The file we upload must have the following structure:

  1. It must be a ZIP file. You can name it as you wish.
  2. It must contain a folder named "elementor-pro"
  3. This folder must contain a file named "elementor-pro.php"

This file will be YOUR payload (e.g., PHP Reverse Shell or anything else) WARNING: The fake plugin we upload will be activated by Elementor, which means every time we access any page, we will trigger our payload. For example, if it tries to connect to an offline server, that could lead to Denial of Service. To prevent this, I recommend using a variable to activate the payload. Something like this (access Anypage.php?activate=1 to proceed with the actual payload):

root@kitploit:~
if (!isset($_GET['activate']))
return;
Download Tool