POC详情: 7a27d092b98a02c62b388e8c84ab1e39e2666527

来源
关联漏洞
标题: WordPress plugin Forminator 代码问题漏洞 (CVE-2023-4596)
描述:WordPress和WordPress plugin都是WordPress基金会的产品。WordPress是一套使用PHP语言开发的博客平台。该平台支持在PHP和MySQL的服务器上架设个人博客网站。WordPress plugin是一个应用插件。 WordPress plugin Forminator 存在代码问题漏洞,该漏洞源于容易受到任意文件上传攻击。
描述
CVE-2023-4596 Vulnerable Exploit and Checker Version
介绍
# CVE-2023-4596

[![made-with-Python](https://img.shields.io/badge/made%20with-Python-blue.svg)](https://www.python.org/)
[![license](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
[![issues](https://img.shields.io/github/issues/X-Projetion/searchsan?color=blue)](https://github.com/X-Projetion/CVE-2023-4596-Vulnerable-Exploit-and-Checker-Version/issues)

<p align="center">
  <img src="banner.png" alt="CVE-2023-4596 Vulnerable Exploit and Checker Version" width="60%">
</p>

PoC Script for CVE-2023-4596, An efficient Python tool created to perform unauthenticated Remote Command Execution via arbitrary file uploads.

---

## Resources

- [Installation](#installation)
- [Usage](#usage)
- [Usage](#Disclaimer)

## Installation

```bash
git clone https://github.com/X-Projetion/CVE-2023-4596-Vulnerable-Exploit-and-Checker-Version && cd CVE-2023-4596-Vulnerable-Exploit-and-Checker-Version
pip install -r requirements.txt
```

## Usage
```text
python exp.py -h
```
This will display all the options that can be used.
```text
   _______    ________    ___   ____ ___  _____       __ __  __________  _____
  / ____/ |  / / ____/   |__ \ / __ \__ \|__  /      / // / / ____/ __ \/ ___/
 / /    | | / / __/________/ // / / /_/ / /_ <______/ // /_/___ \/ /_/ / __ \
/ /___  | |/ / /__/_____/ __// /_/ / __/___/ /_____/__  __/___/ /\__, / /_/ /
\____/  |___/_____/    /____/\____/____/____/        /_/ /_____//____/\____/
                                https://github.com/X-Projetion/

usage: exp.py [-h] -f F [-v] [-r]

Script to check for CVE-2023-4596

options:
  -h, --help  show this help message and exit
  -f F        File containing URLs to check
  -v          Check for a (vulnerable) version
  -r          Get a reverse shell on the instance
```

# Known errors
**[-] Could not extract forminator_nonce** <br>
This exploit only works when a link is provided of the exact page where the file upload is enabled with Forminator. When a link is provided with just the domain or a page that is not running a file upload on it, it spits out an error. This is because it exports the forminator_nonce from the provided URL and if this page is not running Forminator or the Forminator file upload, it can't find the value and can't use it. You can also check by finding the string "forminator-field-post-image-postdata" in the source code of the site. A full link, for example, looks like this: `http://localhost:1337/?p=7`.


## Disclaimer
The script provided is for educational purposes only, I am not responsible for your actions.

<br>

[instagram](https://www.instagram.com/lutfifakee/) <br>
Made by X-Projetion
文件快照

[4.0K] /data/pocs/7a27d092b98a02c62b388e8c84ab1e39e2666527 ├── [ 13K] banner.png ├── [7.0K] exp.py ├── [2.6K] README.md └── [ 8] requirements.txt 0 directories, 4 files
神龙机器人已为您缓存
备注
    1. 建议优先通过来源进行访问。
    2. 如果因为来源失效或无法访问,请发送邮箱到 f.jinxu#gmail.com 索取本地快照(把 # 换成 @)。
    3. 神龙已为您对POC代码进行快照,为了长期维护,请考虑为本地POC付费,感谢您的支持。