A vulnerability was found in CodeAstro Online Classroom 1.0. This vulnerability affects unknown code of the file /OnlineClassroom/addassessment.php of the component Parameter Handler. Performing a manipulation of the argument deleteid results in sql injection. The attack is possible to be carried out remotely. The exploit has been made public and could be used.
CVE-2026-5578 is a SQL injection vulnerability in CodeAstro Online Classroom 1.0 affecting the addassessment.php file's deleteid parameter. With a CVSS score of 6.3 (medium) and publicly disclosed exploit code, this vulnerability allows remote attackers to manipulate database queries without authentication. The lack of available patches makes immediate mitigation critical for educational institutions using this platform.
IMMEDIATE ACTIONS:
1. Identify all instances of CodeAstro Online Classroom 1.0 in your environment
2. Isolate affected systems from production networks if possible
3. Review access logs for the /OnlineClassroom/addassessment.php endpoint for suspicious activity
4. Check database audit logs for unauthorized queries
COMPENSATING CONTROLS (until patch available):
1. Implement Web Application Firewall (WAF) rules to block requests containing SQL injection patterns in deleteid parameter
2. Apply input validation: whitelist only numeric values for deleteid parameter
3. Disable or restrict access to addassessment.php to authorized administrators only
4. Implement database-level access controls and least privilege principles
5. Enable SQL query logging and monitoring for anomalous patterns
DETECTION RULES:
- Monitor for requests to /OnlineClassroom/addassessment.php with deleteid containing: quotes, semicolons, SQL keywords (UNION, SELECT, DROP, INSERT)
- Alert on database error messages in application logs
- Track unusual database query patterns or failed authentication attempts
LONG-TERM:
1. Upgrade to patched version when available
2. Consider migrating to actively maintained LMS platforms (Moodle, Canvas, Blackboard)
3. Implement Web Application Firewall with SQL injection detection
4. Conduct security code review of custom modifications
الإجراءات الفورية:
1. تحديد جميع نسخ CodeAstro Online Classroom 1.0 في بيئتك
2. عزل الأنظمة المتأثرة عن شبكات الإنتاج إن أمكن
3. مراجعة سجلات الوصول لنقطة نهاية /OnlineClassroom/addassessment.php للنشاط المريب
4. فحص سجلات تدقيق قاعدة البيانات للاستعلامات غير المصرح بها
الضوابط البديلة (حتى توفر التصحيح):
1. تطبيق قواعد جدار حماية تطبيقات الويب لحجب الطلبات التي تحتوي على أنماط حقن SQL في معامل deleteid
2. تطبيق التحقق من الإدخال: السماح فقط بالقيم الرقمية لمعامل deleteid
3. تعطيل أو تقييد الوصول إلى addassessment.php للمسؤولين المصرح لهم فقط
4. تطبيق ضوابط الوصول على مستوى قاعدة البيانات ومبدأ أقل امتياز
5. تفعيل تسجيل وتراقبة استعلامات SQL للأنماط الشاذة
قواعد الكشف:
- مراقبة الطلبات إلى /OnlineClassroom/addassessment.php مع deleteid يحتوي على: علامات اقتباس، فواصل منقوطة، كلمات SQL (UNION, SELECT, DROP, INSERT)
- تنبيهات رسائل خطأ قاعدة البيانات في سجلات التطبيق
- تتبع أنماط استعلامات قاعدة البيانات غير العادية
المدى الطويل:
1. الترقية إلى النسخة المصححة عند توفرها
2. النظر في الهجرة إلى منصات LMS مدعومة بنشاط
3. تطبيق جدار حماية تطبيقات الويب مع كشف حقن SQL
4. إجراء مراجعة أمان الكود للتعديلات المخصصة