关联漏洞
描述
PoC for CVE-2025-2011 - SQLi in Depicter plugin <= 3.6.1
介绍
# CVE-2025-2011 - Depicter Plugin SQL Injection Vulnerability
**CVE Reference:** [CVE-2025-2011](https://www.tenable.com/cve/CVE-2025-2011)
This repository contains a proof-of-concept environment for testing the SQL injection vulnerability in Depicter Slider & Popup Builder plugin (versions < 3.6.2).
## Prerequisites
- Docker
- Docker Compose
- Python 3.x
- Required Python packages: `requests`, `colorama`
## Setup Instructions
1. **Start the Environment**
```bash
docker-compose up -d
```
2. **Complete WordPress Installation**
- Open your browser and navigate to `http://localhost:5555`
- Follow the WordPress installation wizard:
- Select your language
- Set up your site title
- Create an admin account
- Complete the installation
3. **Install the Vulnerable Plugin**
```bash
chmod +x install-plugin.sh
./install-plugin.sh
```
This script will:
- Install WP-CLI in the container
- Download and install Depicter plugin v3.6.1
- Activate the plugin
4. **Install Python Dependencies**
```bash
pip install requests colorama
```
## Testing the Vulnerability
The PoC script (`poc.py`) can be used to test the vulnerability in different modes:
1. **Check if target is vulnerable**
```bash
python poc.py -u http://localhost:5555
```
2. **Extract admin details**
```bash
python poc.py -u http://localhost:5555 -m admin
```
3. **Execute custom SQL query**
```bash
python poc.py -u http://localhost:5555 -m custom -q "SELECT VERSION()"
```
4. **Enable debug output**
```bash
python poc.py -u http://localhost:5555 -d
```
## Environment Details
- WordPress: Latest version
- Depicter Plugin: v3.6.1 (vulnerable version)
- MySQL: 5.7
- PHP: Latest version (from WordPress image)
## Cleanup
To stop and remove the environment:
```bash
docker-compose down -v
```
## Disclaimer
This environment is provided for educational and testing purposes only. Do not use this against any systems without explicit permission.
文件快照
[4.0K] /data/pocs/5b1e6902025f443da08790ca2be537b683349757
├── [ 833] docker-compose.yml
├── [2.7K] install-plugin.sh
├── [8.8K] poc.py
└── [2.0K] README.md
0 directories, 4 files
备注
1. 建议优先通过来源进行访问。
2. 如果因为来源失效或无法访问,请发送邮箱到 f.jinxu#gmail.com 索取本地快照(把 # 换成 @)。
3. 神龙已为您对POC代码进行快照,为了长期维护,请考虑为本地POC付费,感谢您的支持。