Cyber security

CVE-2023-6553 Exploit V2

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1.3.7 via the /includes/backup-heart.php file.

An attacker can control the values passed to an include statement, leveraging that to achieve remote code execution. This vulnerability allows unauthenticated attackers to execute code on the server easily.

Installation

  1. Ensure you have Python 3.x installed on your system.
  2. Install the required Python libraries by running the following command in your terminal (navigate to the project directory first):
pip install -r requirements.txt

Running the Exploit

  1. After installing the dependencies, you can run the exploit using the following command:
python exploit.py -u <base_url>

Replace <base_url> with the base URL of the target WordPress site. Ensure that the target site is vulnerable to CVE-2023-6553 and that you have the appropriate authorization to perform testing.

For example:

python exploit.py -u https://example.com
  1. The exploit will attempt to exploit the vulnerability and write a PHP file on the target server. You can also specify a list of URLs to check using the -f option or output the results to a file using the -o option.
  2. To use multiple threads for scanning multiple URLs, use the -t option followed by the number of threads:
python exploit.py -f urls.txt -t 10 -o vulnerable.txt
  1. This will scan the list of URLs provided in urls.txt using 10 threads and output the results to vulnerable.txt.

Using the Interactive Shell (if successful)

  1. If the exploit successfully writes the PHP file on the target server, you will be given access to an interactive shell to execute commands on the server.
  2. The interactive shell operates similarly to a Unix terminal. You can enter commands and see the output.
  3. To exit the interactive shell, type exit.
  4. To clear the screen, type clear.
Tamil S

Tamil has a great interest in the fields of Cyber Security, OSINT, and CTF projects. Currently, he is deeply involved in researching and publishing various security tools with Kali Linux Tutorials, which is quite fascinating.

Recent Posts

Shadow-rs : Harnessing Rust’s Power For Kernel-Level Security Research

shadow-rs is a Windows kernel rootkit written in Rust, demonstrating advanced techniques for kernel manipulation…

2 weeks ago

ExecutePeFromPngViaLNK – Advanced Execution Of Embedded PE Files via PNG And LNK

Extract and execute a PE embedded within a PNG file using an LNK file. The…

3 weeks ago

Red Team Certification – A Comprehensive Guide To Advancing In Cybersecurity Operations

Embark on the journey of becoming a certified Red Team professional with our definitive guide.…

3 weeks ago

CVE-2024-5836 / CVE-2024-6778 : Chromium Sandbox Escape via Extension Exploits

This repository contains proof of concept exploits for CVE-2024-5836 and CVE-2024-6778, which are vulnerabilities within…

4 weeks ago

Rust BOFs – Unlocking New Potentials In Cobalt Strike

This took me like 4 days (+2 days for an update), but I got it…

4 weeks ago

MaLDAPtive – Pioneering LDAP SearchFilter Parsing And Security Framework

MaLDAPtive is a framework for LDAP SearchFilter parsing, obfuscation, deobfuscation and detection. Its foundation is…

4 weeks ago