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-2023-5360-exploit-with-native-libraries — CVE-2023-5360 PoC: Unauthenticated arbitrary file upload leading to RCE in Royal Elementor Addons (≤ 1.3.78), written in pure Python. | Kitploit
Tools/GitHubGitHub/lavirudilshan/cve-2023-5360-exploit-with-native-libraries
Payload GenerationVulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingLearning & Education
GitHublavirudilshan/cve-2023-5360-exploit-with-native-libraries

CVE-2023-5360-exploit-with-native-libraries

CVE-2023-5360 PoC: Unauthenticated arbitrary file upload leading to RCE in Royal Elementor Addons (≤ 1.3.78), written in pure Python.

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share
View Repository
7 months agoNot yet reviewed

Royal Elementor Addons ≤ 1.3.78 – Unauthenticated Arbitrary File Upload (RCE)

📌 Overview

This repository contains a modified proof-of-concept exploit for the WordPress plugin
Royal Elementor Addons and Templates (versions ≤ 1.3.78).

The vulnerability allows unauthenticated arbitrary file upload, which can be abused to upload a PHP file and achieve Remote Code Execution (RCE).

  • CVE: CVE-2023-5360
  • Vulnerability Type: Unauthenticated File Upload → RCE
  • Affected Plugin: Royal Elementor Addons and Templates
  • Fixed Version: 1.3.79+

🔧 Modification Notes

This version is a fully rewritten variant of the original exploit with the following changes:

  • ✅ Uses ONLY Python standard library
  • ❌ No third-party dependencies (requests, rich, etc.)
  • 🔄 Replaced requests → urllib.request
  • 🔄 Replaced rich output → native print()
  • 🔐 SSL verification disabled via ssl module
  • 🧪 Intended for CTF labs, security research, and learning purposes

All original exploitation logic remains intact.


🧠 How the Vulnerability Works

The plugin exposes an AJAX endpoint:

  • /wp-admin/admin-ajax.php

This endpoint:

  • Accepts file uploads
  • Relies on a client-side nonce
  • Fails to properly validate file extensions

By abusing the allowed_file_types parameter and using a crafted filename (e.g. ph$p), it is possible to upload a PHP file that executes on the server.


📦 Features

  • Automatic nonce extraction from WprConfig JavaScript object
  • Supports custom PHP shell upload
  • Generates a default PHP web shell if none is provided
  • Returns the uploaded shell URL on success
  • Works against both HTTP and HTTPS targets

🛠 Requirements

  • Python 3.7+
  • Target running:
    • WordPress
    • Royal Elementor Addons ≤ 1.3.78

No additional Python libraries required.


🚀 Usage

Basic usage (auto-generated shell)

root@kitploit:~
python3 exploit.py -u https://target-site.com/

Upload a custom PHP shell

root@kitploit:~
python3 exploit.py -u https://target-site.com/ -f shell.php

Example successful output

root@kitploit:~
[+] Shell uploaded successfully: https://target-site.com/wp-content/uploads/royal-addons/poc.ph$p
[>] Access it with: ?cmd=id

🧪 Tested Environment

  • WordPress 6.3.1
  • Royal Elementor Addons 1.3.78
  • Ubuntu 22.04
  • Apache2
  • PHP 8.1

⚠️ Disclaimer

This code is provided strictly for educational purposes, security research, and authorized testing only.

  • ❌ Do NOT use against systems you do not own or have explicit permission to test

  • ❌ Unauthorized use may be illegal

  • ✅ The author is not responsible for misuse

👤 Credits

Original Exploit

  • Author: Sheikh Mohammad Hasan
  • GitHub: https://github.com/4m3rr0r
  • Exploit-DB ID: 52127

Modified Version

  • Modified by: Laviru Dilshan Jr.
  • Purpose: CTFs & Security Research
  • Github: https://github.com/LaviruDilshan
  • Changes: Standard-library-only rewrite

📚 References

  • https://nvd.nist.gov/vuln/detail/CVE-2023-5360
  • https://wordpress.org/plugins/royal-elementor-addons/
  • https://www.exploit-db.com/exploits/52127
Download Tool