=========== ROOT ACCESS FEASIBILITY CHECK =========== التاريخ: Thu Oct 15 12:21:45 UTC 2026 ### [1] هويتي الحالية uid=1000(myfifasalon) gid=1000(myfifasalon) groups=1000(myfifasalon) ### [2] هل أنا في مجموعة sudo/wheel/docker/lxd/adm؟ ### [3] هل لدي sudo بدون كلمة سر؟ sudo: a password is required ### [4] هل pkexec موجود؟ (PwnKit) غير مثبت → PwnKit مستبعدة ### [5] إصدار sudo (Baron Samedit < 1.9.5p2) Sudo version 1.8.21p2 ### [6] إصدار النواة والعمر 4.15.0-213-generic 12:21:45 up 856 days, 22:44, 1 user, load average: 0.10, 0.13, 0.05 ### [7] شروط ثغرات النواة الشائعة ptrace_scope (CVE-2019-13272 تحتاج 0 أو 1): 1 unprivileged_userns_clone (CVE-2021-3493): 1 overlayfs مدعوم؟ (CVE-2021-3493): لا userfaultfd متاح؟ (ثغرات حديثة): غير موجود ### [8] هل أستطيع الكتابة في ملف root حساس؟ (THESE ARE THE REAL DOORS) 🔴 WRITABLE: /etc/nginx/conf.d/nginx_myfifasalon.conf.save ✅ محمي: /etc/passwd ✅ محمي: /etc/shadow ✅ محمي: /etc/sudoers ✅ محمي: /etc/crontab ✅ محمي: /etc/cron.d/certbot ✅ محمي: /etc/cron.d/php ✅ محمي: /etc/cron.d/popularity-contest ✅ محمي: /etc/cron.d/sysstat ✅ محمي: /etc/systemd/system/dbus-org.freedesktop.resolve1.service ✅ محمي: /etc/systemd/system/pgadmin4.service ✅ محمي: /etc/systemd/system/sshd.service ✅ محمي: /etc/systemd/system/syslog.service ✅ محمي: /etc/systemd/system/uwsgi.service ✅ محمي: /etc/systemd/system/uwsgi (копия).service 🔴 WRITABLE: /home/myfifasalon/myfifasalon/gulpfile.js ### [9] اختبار آمن: هل أستطيع إنشاء ملف في مجلد root؟ (لا يُعدّل شيء) ✅ لا أستطيع: /etc/nginx/conf.d ✅ لا أستطيع: /etc/cron.d ✅ لا أستطيع: /etc/systemd/system ✅ لا أستطيع: /etc/init.d ✅ لا أستطيع: /usr/local/bin ✅ لا أستطيع: /usr/local/sbin ### [10] خدمات root تعمل من مسارات تملكها أو تكتبها root python3 /home/myfifasalon/Virtualka/myfifasalon/lib/python3.6/site-packages/pgadmin4/pgAdmin4.py root /home/myfifasalon/Virtualka/myfifasalon/bin/uwsgi --emperor /home/uwsgi root /home/myfifasalon/Virtualka/myfifasalon/bin/uwsgi --ini uwsgi_new_myfifasalon.ini root /home/myfifasalon/Virtualka/myfifasalon/bin/uwsgi --ini uwsgi_myfifasalon.ini root /home/myfifasalon/Virtualka/myfifasalon/bin/uwsgi --ini uwsgi_new_myfifasalon.ini root /home/myfifasalon/Virtualka/myfifasalon/bin/uwsgi --ini uwsgi_myfifasalon.ini ### [11] هل ملفات هذه الخدمات قابلة للكتابة مني؟ ✅ محمي: /home/myfifasalon/Virtualka/myfifasalon/bin/uwsgi 🔴 WRITABLE: /home/myfifasalon/Virtualka/myfifasalon/lib/python3.6/site-packages/pgadmin4/pgAdmin4.py 🔴 WRITABLE: /home/myfifasalon/myfifasalon/configs/nginx_myfifasalon.conf ### [12] PostgreSQL: هل أنا superuser؟ usename | usesuper -------------+---------- myfifasalon | t (1 row) هل أقرأ ملفات النظام عبر pg؟: ERROR: column "/etc/hostname" does not exist LINE 1: SELECT pg_read_file("/etc/hostname"); ### [13] MySQL: هل أنا root؟ ERROR 1045 (28000): Access denied for user 'myfifasalon'@'localhost' (using password: NO) ### [14] ملفات SUID مزروعة في مجلدات غير نظامية؟ لا شيء ### [15] capabilities خطيرة على ملفات في مجلدك؟ ### [16] SSH keys مسجلة لدخول حسابي ssh-rsa AAAAB3NzaC1yc2EAAAAD... admin ssh-ed25519 AAAAC3NzaC1lZDI1NTE5... ssh-ed25519 AAAAC3NzaC1lZDI1NTE5... ssh-ed25519 AAAAC3NzaC1lZDI1NTE5... ssh-ed25519 AAAAC3NzaC1lZDI1NTE5... ### [17] هل الـ nginx master يعمل كـ root؟ root 9245 nginx: master process /usr/sbin/nginx -g daemon on; master_process on; ### [18] آخر 5 مستخدمين دخلوا السيرفر myfifasa pts/0 Thu Oct 15 12:06 still logged in 104.28.154.46 myfifasa pts/0 Wed Oct 14 15:37 - 15:38 (00:00) 154.53.57.37 myfifasa pts/0 Thu Oct 8 09:28 - 09:28 (00:00) 51.170.134.54 myfifasa pts/0 Wed Oct 7 16:04 - 16:06 (00:01) 51.170.134.54 myfifasa pts/0 Wed Oct 7 08:56 - 09:17 (00:21) 109.205.176.197 =========== END ===========