目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2024-54369 PoC — WordPress plugin Zita Site Builder 安全漏洞

来源
关联漏洞
标题: WordPress plugin Zita Site Builder 安全漏洞 (CVE-2024-54369)
Description:WordPress和WordPress plugin都是WordPress基金会的产品。WordPress是一套使用PHP语言开发的博客平台。该平台支持在PHP和MySQL的服务器上架设个人博客网站。WordPress plugin是一个应用插件。 WordPress plugin Zita Site Builder 1.0.2版本及之前版本存在安全漏洞,该漏洞源于包含一个缺少授权漏洞。
Description
PoC: Plugin: Zita Site Builder <= 1.0.2 -  Arbitrary Plugin Installation
介绍
# 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.

---
文件快照

登录后查看神龙缓存的 POC 文件快照

登录查看
备注
    1. 建议优先通过来源进行访问。
    2. 本地 POC 快照面向订阅用户开放;当原始来源失效或无法访问时,本地镜像作为订阅权益的一部分提供。
    3. 持续抓取、验证、维护这份 POC 档案需要不少投入,因此本地快照已纳入付费订阅。您的订阅是让这份资料能继续走下去的关键,由衷感谢。 查看订阅方案 →