关联漏洞
描述
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付费,感谢您的支持。