POC详情: 299d41515c1237abb25e615aaa888be214099501

来源
关联漏洞
标题: WordPress plugin Hash Form Drag Drop Form Builder 安全漏洞 (CVE-2024-5084)
描述:WordPress和WordPress plugin都是WordPress基金会的产品。WordPress是一套使用PHP语言开发的博客平台。该平台支持在PHP和MySQL的服务器上架设个人博客网站。WordPress plugin是一个应用插件。 WordPress plugin Hash Form Drag Drop Form Builder 1.1.0及之前版本存在安全漏洞,该漏洞源于file_upload_action 函数中缺少对文件类型验证,允许攻击者在受影响网站的服务器上上传任意文件,从而实
描述
Hash Form – Drag & Drop Form Builder <= 1.1.0 - Unauthenticated Arbitrary File Upload to Remote Code Execution
介绍
# 🚀 HashForm Exploit Script

This script demonstrates the exploitation of CVE-2024-5084, a vulnerability in the Hash Form plugin for WordPress, which allows unauthenticated arbitrary file upload leading to remote code execution.

## 📖 Vulnerability Details

- **Name**: CVE-2024-5084
- **Description**: Unauthenticated Arbitrary File Upload to Remote Code Execution.
- **Affected Plugin**: Hash Form – Drag & Drop Form Builder <= 1.1.0
- **Source**: [Wordfence - Vulnerability Details](https://www.wordfence.com/threat-intel/vulnerabilities/wordpress-plugins/hash-form/hash-form-drag-drop-form-builder-110-unauthenticated-arbitrary-file-upload-to-remote-code-execution)

## ⚙️ Installation

1. Clone the repository:
   ```bash
   git clone https://github.com/Chocapikk/CVE-2024-5084.git
   cd CVE-2024-5084
   ```

2. Install the required dependencies:
   ```bash
   pip install -r requirements.txt
   ```

## 🚀 Usage

1. Run the script:
   ```bash
   python exploit.py --url "http://target-site.com"
   ```

   Replace `http://target-site.com` with the base URL of the WordPress site you want to test.

2. If the upload is successful, you will enter an interactive shell to execute commands on the server.

## 🔍 Dorks

- **ZoomEye**: `banner:"var hashform_vars"`

## ⚠️ Disclaimer

**Disclaimer**: This script is intended for educational purposes only. Unauthorized use of this script on systems you do not own or do not have explicit permission to test is illegal and unethical. The author is not responsible for any misuse of this script.
文件快照

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