Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2024-54369 PoC — WordPress Zita Site Builder plugin <= 1.0.2 - Arbitrary Plugin Installation and Activation vulnerability

Source
Associated Vulnerability
Title:WordPress Zita Site Builder plugin <= 1.0.2 - Arbitrary Plugin Installation and Activation vulnerability (CVE-2024-54369)
Description:Missing Authorization vulnerability in ThemeHunk Zita Site Builder ai-site-builder allows Accessing Functionality Not Properly Constrained by ACLs.This issue affects Zita Site Builder: from n/a through <= 1.0.2.
Description
PoC: Plugin: Zita Site Builder <= 1.0.2 -  Arbitrary Plugin Installation
Readme
# Zita Site Builder Exploit Guide

## Overview

**Zita Site Builder <= 1.0.2 - Missing Authorization to Arbitrary Plugin Installation**

The Zita Site Builder plugin for WordPress is vulnerable to unauthorized access of functionality due to a missing capability check on one of its functions in versions up to, and including, 1.0.2. This makes it possible for unauthenticated attackers to install and activate arbitrary plugins.

**CVE-2024-54369**

---

## Exploit Details

- **Affected Plugin**: Zita Site Builder
- **Affected Versions**: <= 1.0.2
- **Vulnerability Type**: Missing authorization to arbitrary plugin installation

### Description

The vulnerability arises due to a lack of proper permission checks within a critical function, allowing unauthenticated attackers to install and activate arbitrary plugins remotely. This can be exploited by crafting specific requests to the vulnerable endpoint.

---

## Script Usage

### Prerequisites

- Python 3.x installed.
- Required Python libraries: `requests`.
  - Install using: `pip install requests`.
- Target URL of the WordPress site running the vulnerable Zita Site Builder plugin.

### Steps to Execute the Script

1. Clone this repository or download the script file.
2. Open a terminal and navigate to the script's directory.
3. Run the following command:
   ```bash
   python CVE-2024-54369.py -u <TARGET_URL>
   ```
   Replace `<TARGET_URL>` with the URL of the target WordPress site.
4. Optional: Specify plugins to install using the `-p` argument:
   ```bash
   python CVE-2024-54369.py -u <TARGET_URL> -p "plugin-slug=PluginName"
   ```

### Expected Behavior

- The script checks the plugin version via the `readme.txt` file at:
  `wp-content/plugins/ai-site-builder/readme.txt`.
- If the version is `1.0.2` or lower, the script proceeds to exploit the vulnerability.
- The script installs and activates the specified plugin(s).

---

## Example Output

```plaintext
[INFO] Version 1.0.2 is exploitable. Proceeding with exploitation in 10 seconds.
[INFO] HTTP Status Code: 200
[SUCCESS] The plugin 'ContactForm7' has been successfully installed and activated.
```

---

## Disclaimer

This script is intended for educational purposes and authorized security assessments only. Misuse of this script may result in legal consequences. Always obtain proper authorization before testing on any system.

---
File Snapshot

[4.0K] /data/pocs/6e8645650a56dc6b403f97189204b7ebba77421f ├── [3.7K] CVE-2024-54369.py └── [2.3K] README.md 0 directories, 2 files
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. Local POC snapshots are reserved for subscribers — if the original source is unavailable, the local mirror is part of the paid plan.
    3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online — thank you for the support. View subscription plans →