Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2020-25213 PoC — wordpress 代码问题漏洞

Source
Associated Vulnerability
Title:wordpress 代码问题漏洞 (CVE-2020-25213)
Description:The File Manager (wp-file-manager) plugin before 6.9 for WordPress allows remote attackers to upload and execute arbitrary PHP code because it renames an unsafe example elFinder connector file to have the .php extension. This, for example, allows attackers to run the elFinder upload (or mkfile and put) command to write PHP code into the wp-content/plugins/wp-file-manager/lib/files/ directory. This was exploited in the wild in August and September 2020.
Description
Python Interactive Exploit for WP File Manager Vulnerability. The File Manager (wp-file-manager) plugin before 6.9 for WordPress allows remote attackers to upload and execute arbitrary PHP code because it renames an unsafe example elFinder connector file to have the .php extension.
Readme
# Python-CVE-2020-25213
Python Interactive Exploit for WP File Manager Vulnerability. The File Manager (wp-file-manager) plugin before 6.9 for WordPress allows remote attackers to upload and execute arbitrary PHP code because it renames an unsafe example elFinder connector file to have the .php extension.

The script uses the `argparse`, `requests`, `re`, `sys`, `os`, `json`, and `random` Python modules. 

To install these modules via `pip`, execute the following command in the command line:

```
pip install -r requirements.txt
```
When this command is executed, `pip` will read the `requirements.txt` file and install all the listed modules and their dependencies.

To use the script, you can provide the following arguments:

* `url` (required): The target WordPress website URL.
* `--upload-file` (optional): The file to upload to the server, if the WP File Manager is vulnerable.
* `--check` (optional): Check if the WP File Manager plugin is vulnerable.
* `--verbose` (optional): Enable verbose output.

Here are some examples of how to use the script:

To check if the WP File Manager plugin is vulnerable:

```
python exploit_wp_file_manager.py https://www.example.com --check
```

To upload a file to the server:

```
python exploit_wp_file_manager.py https://www.example.com --upload-file myfile.txt
```

To enable verbose output:

```
python exploit_wp_file_manager.py https://www.example.com --upload-file myfile.txt --verbose
```

Please note that exploiting vulnerabilities in software without permission is illegal and can have serious consequences. This script is for educational purposes only. Use it at your own risk.
File Snapshot

[4.0K] /data/pocs/e0ce59d35e1d1a16cece18c4ce02beef5e29adbc ├── [4.8K] exploit.py ├── [1.0K] LICENSE ├── [1.6K] README.md └── [ 29] requirements.txt 0 directories, 4 files
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. Local POC snapshots are reserved for subscribers — if the original source is unavailable, the local mirror is part of the paid plan.
    3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online — thank you for the support. View subscription plans →