POC详情: 6e8645650a56dc6b403f97189204b7ebba77421f

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

---
文件快照

[4.0K] /data/pocs/6e8645650a56dc6b403f97189204b7ebba77421f ├── [3.7K] CVE-2024-54369.py └── [2.3K] README.md 0 directories, 2 files
神龙机器人已为您缓存
备注
    1. 建议优先通过来源进行访问。
    2. 如果因为来源失效或无法访问,请发送邮箱到 f.jinxu#gmail.com 索取本地快照(把 # 换成 @)。
    3. 神龙已为您对POC代码进行快照,为了长期维护,请考虑为本地POC付费,感谢您的支持。