目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2024-7627 PoC — WordPress plugin Bit File Manager 代码注入漏洞

来源
关联漏洞
标题: WordPress plugin Bit File Manager 代码注入漏洞 (CVE-2024-7627)
Description:WordPress和WordPress plugin都是WordPress基金会的产品。WordPress是一套使用PHP语言开发的博客平台。该平台支持在PHP和MySQL的服务器上架设个人博客网站。WordPress plugin是一个应用插件。 WordPress plugin Bit File Manager 6.0 版本到 6.5.5 版本存在代码注入漏洞,该漏洞源于包含一个远程代码执行漏洞。
Description
POC CVE-2024-7627
介绍
# Exploit for CVE-2024-7627 — Bit File Manager (WordPress) Unauthenticated RCE Exploit

## 📌 Description
This repository contains a proof-of-concept (PoC) exploit for **CVE-2024-7627**, a critical **Unauthenticated Remote Code Execution (RCE)** vulnerability in the **Bit File Manager** WordPress plugin (versions **6.0 – 6.5.5**).  

When the **Guest User Read** feature is enabled, the plugin exposes a race condition inside the `checkSyntax` function.  
This function writes a temporary PHP file into `/wp-content/uploads/` before validation, allowing attackers to request the file and execute arbitrary system commands.

- **Vulnerability Type:** Unauthenticated RCE  
- **Affected Versions:** Bit File Manager 6.0 – 6.5.5  
- **Patched Version:** 6.5.6  
- **CVSS Score:** 9.8 (Critical)  

---

## ⚡ Features
- Automatically extracts a valid **AJAX nonce** from the target.  
- Retrieves a random writable file hash for exploitation.  
- Performs race condition using **async parallel requests**.  
- Provides an **interactive reverse shell-like interface** for executing commands.  

---

## 🔧 Requirements
- Python **3.8+**  
- Dependencies: `requests`, `aiohttp`, `asyncio`, `beautifulsoup4`  

Install dependencies:
```bash
pip install requests aiohttp beautifulsoup4
```

## example output
```bash
[*] Getting a valid AJAX nonce...
[+] Found the valid AJAX nonce: 65a1d91c63
[*] Getting a random file hash...
[+] Starting interactive shell. Type 'exit' to quit.

lab-shell> id
uid=33(www-data) gid=33(www-data) groups=33(www-data)

lab-shell> uname -a
Linux victim-wp 5.15.0-78-generic #85-Ubuntu SMP x86_64 GNU/Linux

lab-shell> whoami
www-data

文件快照

登录后查看神龙缓存的 POC 文件快照

登录查看
备注
    1. 建议优先通过来源进行访问。
    2. 本地 POC 快照面向订阅用户开放;当原始来源失效或无法访问时,本地镜像作为订阅权益的一部分提供。
    3. 持续抓取、验证、维护这份 POC 档案需要不少投入,因此本地快照已纳入付费订阅。您的订阅是让这份资料能继续走下去的关键,由衷感谢。 查看订阅方案 →