POC详情: 14ed9e4575c95f1e307f4e1e7e6b60b603d82349

来源
关联漏洞
标题: WordPress plugin Bit File Manager 代码问题漏洞 (CVE-2024-8743)
描述:WordPress和WordPress plugin都是WordPress基金会的产品。WordPress是一套使用PHP语言开发的博客平台。该平台支持在PHP和MySQL的服务器上架设个人博客网站。WordPress plugin是一个应用插件。 WordPress plugin Bit File Manager 6.5.7版本及之前版本存在代码问题漏洞,该漏洞源于包含一个受限 JavaScript 文件上传问题。
描述
Proof-of-Concept script for WordPress plugin Bit File Manager version <= 6.5.7 Authenticated (Subscriber+) Limited JavaScript File Upload (CVE-2024-8743) vulnerability
介绍
# CVE-2024-8743 PoC

## Background

Proof-of-Concept script for WordPress plugin Bit File Manager version <= 6.5.7 Authenticated (Subscriber+) Limited JavaScript File Upload (CVE-2024-8743) vulnerability

## Information

Description:

The Bit File Manager – 100% Free & Open Source File Manager and Code Editor for WordPress plugin for WordPress is vulnerable to Limited JavaScript File Upload in all versions up to, and including, 6.5.7. This is due to a lack of proper checks on allowed file types. This makes it possible for authenticated attackers, with Subscriber-level access and above, and granted permissions by an administrator, to upload .css and .js files, which could lead to Stored Cross-Site Scripting. (From [https://www.wordfence.com/threat-intel/vulnerabilities/wordpress-plugins/file-manager/bit-file-manager-100-free-open-source-file-manager-and-code-editor-for-wordpress-657-authenticated-subscriber-limited-javascript-file-upload](https://www.wordfence.com/threat-intel/vulnerabilities/wordpress-plugins/file-manager/bit-file-manager-100-free-open-source-file-manager-and-code-editor-for-wordpress-657-authenticated-subscriber-limited-javascript-file-upload))

## Technical Details

*A detailed writeup will be published soon. Stay tune!*

## Installation

```bash
git clone https://github.com/siunam321/CVE-2024-8743-PoC.git
```

## Usage/Exploitation

- Prerequisite: Subscriber or above user access and shortcode `file-manager` must already been setup by the adminsitrator

Update the Python script `poc.py`'s `wordpressUsername`, `wordpressPassword`, `targetBaseUrl`, `fileManagerPostPath`, `attackerIpAddress`, and/or `attackerPort` to your desired value. Then, run `python3 poc.py` to run the PoC script.

PoC video demo:

https://github.com/user-attachments/assets/76571398-1b8c-4726-800c-9ed6c2928562
文件快照

[4.0K] /data/pocs/14ed9e4575c95f1e307f4e1e7e6b60b603d82349 ├── [2.2K] generatepayload.py ├── [ 11K] poc.py ├── [1.8K] README.md └── [4.0K] templates ├── [1.4K] csrf.html └── [ 779] leak_nonce.html 1 directory, 5 files
神龙机器人已为您缓存
备注
    1. 建议优先通过来源进行访问。
    2. 如果因为来源失效或无法访问,请发送邮箱到 f.jinxu#gmail.com 索取本地快照(把 # 换成 @)。
    3. 神龙已为您对POC代码进行快照,为了长期维护,请考虑为本地POC付费,感谢您的支持。