A flaw has been found in ProjectsAndPrograms School Management System up to 6b6fae5426044f89c08d0dd101c7fa71f9042a59. The affected element is an unknown function of the file /admin_panel/settings.php of the component Profile Picture Handler. This manipulation of the argument File causes unrestricted upload. Remote exploitation of the attack is possible. The exploit has been published and may be used. This product follows a rolling release approach for continuous delivery, so version details for affected or updated releases are not provided.
CVE-2026-5472 is a medium-severity arbitrary file upload vulnerability in ProjectsAndPrograms School Management System affecting the profile picture handler in /admin_panel/settings.php. The flaw allows remote attackers to upload unrestricted files, potentially leading to remote code execution or system compromise. While no patch is currently available, this vulnerability poses significant risk to educational institutions using this system, particularly in Saudi Arabia where school management systems handle sensitive student and staff data.
IMMEDIATE ACTIONS:
1. Identify all instances of ProjectsAndPrograms School Management System in your environment and document the commit hash/version
2. Restrict network access to /admin_panel/settings.php using firewall rules or WAF policies - allow only trusted administrative IPs
3. Implement file upload restrictions at the application level: whitelist only image file types (.jpg, .png, .gif) and validate MIME types server-side
4. Disable file upload functionality in the profile picture handler until a patch is available
5. Review access logs for /admin_panel/settings.php for suspicious file upload attempts (look for non-image extensions: .php, .exe, .sh, .jsp, etc.)
COMPENSATING CONTROLS:
6. Implement Web Application Firewall (WAF) rules to block requests containing executable file extensions in upload parameters
7. Configure file system permissions: ensure upload directories are NOT executable (remove execute permissions)
8. Store uploaded files outside the web root or in a directory with .htaccess/web.config preventing script execution
9. Implement strict Content-Type validation and reject uploads with mismatched file signatures
10. Enable detailed logging and alerting for all file upload attempts to /admin_panel/settings.php
DETECTION RULES:
- Monitor POST requests to /admin_panel/settings.php with File parameter containing suspicious extensions
- Alert on successful uploads of non-image files to profile picture directories
- Track failed authentication attempts followed by upload attempts (potential exploitation)
- Monitor for newly created executable files in upload directories
الإجراءات الفورية:
1. حدد جميع حالات نظام إدارة المشاريع والبرامج المدرسية في بيئتك وقم بتوثيق رقم الالتزام/الإصدار
2. قيد الوصول إلى الشبكة إلى /admin_panel/settings.php باستخدام قواعد جدار الحماية أو سياسات WAF - السماح فقط بعناوين IP الإدارية الموثوقة
3. تطبيق قيود تحميل الملفات على مستوى التطبيق: قائمة بيضاء لأنواع الملفات الصورية فقط (.jpg, .png, .gif) والتحقق من أنواع MIME على جانب الخادم
4. تعطيل وظيفة تحميل الملفات في معالج صور الملف الشخصي حتى يتوفر تصحيح
5. مراجعة سجلات الوصول لـ /admin_panel/settings.php للبحث عن محاولات تحميل ملفات مريبة (ابحث عن الامتدادات غير الصورية: .php, .exe, .sh, .jsp، إلخ)
الضوابط التعويضية:
6. تطبيق قواعد جدار تطبيقات الويب (WAF) لحظر الطلبات التي تحتوي على امتدادات ملفات قابلة للتنفيذ في معاملات التحميل
7. تكوين أذونات نظام الملفات: تأكد من أن دلائل التحميل غير قابلة للتنفيذ (إزالة أذونات التنفيذ)
8. تخزين الملفات المحملة خارج جذر الويب أو في دليل يحتوي على .htaccess/web.config يمنع تنفيذ البرامج النصية
9. تطبيق التحقق الصارم من نوع المحتوى ورفض التحميلات ذات توقيعات الملفات غير المتطابقة
10. تفعيل السجلات التفصيلية والتنبيهات لجميع محاولات تحميل الملفات إلى /admin_panel/settings.php
قواعد الكشف:
- مراقبة طلبات POST إلى /admin_panel/settings.php مع معامل File يحتوي على امتدادات مريبة
- تنبيه عند التحميل الناجح للملفات غير الصورية إلى دلائل صور الملف الشخصي
- تتبع محاولات المصادقة الفاشلة متبوعة بمحاولات التحميل (استغلال محتمل)
- مراقبة الملفات القابلة للتنفيذ المنشأة حديثاً في دلائل التحميل