POC详情: e0ce59d35e1d1a16cece18c4ce02beef5e29adbc

来源
关联漏洞
标题: wordpress 代码问题漏洞 (CVE-2020-25213)
描述:WordPress是一套使用PHP语言开发的博客平台。该平台支持在PHP和MySQL的服务器上架设个人博客网站。ghost是使用在其中的一个用于导入/导出WordPress数据的插件。relevant是使用在其中的一个相关内容显示插件。File Upload是使用在其中的一个文件上传插件。PHP是共同维护的一种开源的通用计算机脚本语言。该语言主要用于Web开发,支持多种数据库及操作系统。elFinder是一套基于Drupal平台的、开源的AJAX文件管理器。该产品提供多文件上传、图像缩放等功能。 Word
描述
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.
介绍
# 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.
文件快照
 [4.0K]  /data/pocs/e0ce59d35e1d1a16cece18c4ce02beef5e29adbc
├── [4.8K]  exploit.py
├── [1.0K]  LICENSE
├── [1.6K]  README.md
└── [  29]  requirements.txt

0 directories, 4 files
神龙机器人已为您缓存
备注
    1. 建议优先通过来源进行访问。
    2. 如果因为来源失效或无法访问,请发送邮箱到 f.jinxu#gmail.com 索取本地快照(把 # 换成 @)。
    3. 神龙已为您对POC代码进行快照,为了长期维护,请考虑为本地POC付费,感谢您的支持。