School ERP Pro 1.0 contains a file disclosure vulnerability that allows unauthenticated attackers to read arbitrary files by manipulating the 'document' parameter in download.php. Attackers can access sensitive configuration files by supplying directory traversal paths to retrieve system credentials and configuration information.
School ERP Pro 1.0 contains a critical path traversal vulnerability (CVE-2020-37088) allowing unauthenticated attackers to read arbitrary files including sensitive configuration data and credentials. The vulnerability exists in the download.php file's 'document' parameter and has publicly available exploits. This poses immediate risk to educational institutions using this software to access student records, financial data, and system credentials.
IMMEDIATE ACTIONS:
1. Identify all instances of School ERP Pro 1.0 in your environment using network scanning and asset inventory tools
2. Isolate affected systems from production networks if patch cannot be applied immediately
3. Review access logs for download.php to identify potential exploitation attempts (look for directory traversal patterns like ../, ..\, encoded variants)
4. Disable or restrict access to download.php via WAF rules blocking requests containing path traversal characters
PATCHING:
1. Apply vendor patch immediately - upgrade to patched version of School ERP Pro
2. If upgrade not immediately possible, implement input validation on 'document' parameter to reject path traversal sequences
3. Test patch in non-production environment before deployment
COMPENSATING CONTROLS:
1. Implement Web Application Firewall (WAF) rules to block requests with ../, ..\ or URL-encoded variants (%2e%2e)
2. Apply principle of least privilege - restrict file system permissions on configuration files
3. Move sensitive configuration files outside web root directory
4. Implement strong authentication and access controls for administrative functions
5. Enable detailed logging and monitoring of download.php access
DETECTION RULES:
1. Monitor for HTTP requests to download.php containing: ../, ..\ , %2e%2e, %252e, encoded path traversal
2. Alert on access to sensitive files: config.php, database.yml, .env, credentials files
3. Track failed and successful file access attempts in application logs
4. Implement IDS/IPS signatures for path traversal attacks
الإجراءات الفورية:
1. تحديد جميع نسخ School ERP Pro 1.0 في بيئتك باستخدام أدوات المسح والجرد
2. عزل الأنظمة المتأثرة عن شبكات الإنتاج إذا لم يكن يمكن تطبيق التصحيح فوراً
3. مراجعة سجلات الوصول لـ download.php للبحث عن محاولات استغلال محتملة
4. تعطيل أو تقييد الوصول إلى download.php عبر قواعد WAF
التصحيح:
1. تطبيق تصحيح البائع فوراً - الترقية إلى نسخة مصححة
2. إذا لم يكن الترقية ممكنة فوراً، تنفيذ التحقق من صحة المدخلات
3. اختبار التصحيح في بيئة غير الإنتاج قبل النشر
الضوابط البديلة:
1. تنفيذ قواعد WAF لحجب الطلبات التي تحتوي على أنماط اجتياز المسارات
2. تطبيق مبدأ أقل امتياز على أذونات نظام الملفات
3. نقل الملفات الحساسة خارج جذر الويب
4. تنفيذ المصادقة القوية والتحكم في الوصول
5. تفعيل السجلات المفصلة ومراقبة الوصول
قواعد الكشف:
1. مراقبة طلبات HTTP إلى download.php التي تحتوي على أنماط اجتياز
2. التنبيه على الوصول إلى الملفات الحساسة
3. تتبع محاولات الوصول الفاشلة والناجحة
4. تنفيذ توقيعات IDS/IPS