Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2024-8743 PoC — Bit File Manager – 100% Free & Open Source File Manager and Code Editor for WordPress <= 6.5.7 - Authenticated (Subscrib

Source
Associated Vulnerability
Title:Bit File Manager – 100% Free & Open Source File Manager and Code Editor for WordPress <= 6.5.7 - Authenticated (Subscriber+) Limited JavaScript File Upload (CVE-2024-8743)
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.
Description
Proof-of-Concept script for WordPress plugin Bit File Manager version <= 6.5.7 Authenticated (Subscriber+) Limited JavaScript File Upload (CVE-2024-8743) vulnerability
Readme
# 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
File Snapshot

[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
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. Local POC snapshots are reserved for subscribers — if the original source is unavailable, the local mirror is part of the paid plan.
    3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online — thank you for the support. View subscription plans →