A vulnerability was identified in PHPGurukul User Registration & Login and User Management System 3.3. The affected element is an unknown function of the file /admin/yesterday-reg-users.php. The manipulation of the argument ID leads to sql injection. Remote exploitation of the attack is possible. The exploit is publicly available and might be used.
CVE-2026-5543 is a SQL injection vulnerability in PHPGurukul User Registration & Login System 3.3 affecting the /admin/yesterday-reg-users.php file. The vulnerability allows remote attackers to manipulate the ID parameter to execute arbitrary SQL queries, potentially leading to unauthorized data access or modification. With a CVSS score of 6.3 and publicly available exploit code, this poses a moderate but actionable threat to organizations using this system.
Immediate Actions:
1. Identify all instances of PHPGurukul 3.3 in your environment, particularly those exposed to the internet
2. Restrict access to /admin/yesterday-reg-users.php to authorized administrators only using firewall rules or web application firewall (WAF) policies
3. Implement input validation and parameterized queries (prepared statements) in the vulnerable file
4. Review database access logs for suspicious SQL patterns or unauthorized data extraction attempts
Patching Guidance:
1. Contact PHPGurukul developers for security patches or upgrade to a patched version if available
2. If no official patch exists, apply the following compensating controls immediately
Compensating Controls (if patch unavailable):
1. Implement Web Application Firewall (WAF) rules to block SQL injection patterns in the ID parameter
2. Use database user accounts with minimal privileges (read-only where possible) for the application
3. Enable SQL query logging and monitoring for anomalous patterns
4. Implement rate limiting on the /admin/yesterday-reg-users.php endpoint
5. Apply principle of least privilege to admin access
Detection Rules:
1. Monitor for SQL keywords (UNION, SELECT, DROP, INSERT, UPDATE) in ID parameter values
2. Alert on multiple failed database queries from the application
3. Track unusual data volume extraction from user registration tables
4. Monitor for authentication bypass attempts targeting admin functions
الإجراءات الفورية:
1. حدد جميع نسخ PHPGurukul 3.3 في بيئتك، خاصة تلك المكشوفة على الإنترنت
2. قيد الوصول إلى /admin/yesterday-reg-users.php للمسؤولين المصرح لهم فقط باستخدام قواعد جدار الحماية أو سياسات جدار تطبيقات الويب
3. طبق التحقق من صحة المدخلات والاستعلامات المعاملة (البيانات المحضرة) في الملف المعرض للخطر
4. راجع سجلات الوصول إلى قاعدة البيانات للبحث عن أنماط SQL المريبة أو محاولات استخراج البيانات غير المصرح بها
إرشادات التصحيح:
1. اتصل بمطوري PHPGurukul للحصول على تصحيحات أمنية أو الترقية إلى نسخة معدلة إن توفرت
2. إذا لم يكن هناك تصحيح رسمي، طبق الضوابط التعويضية التالية فوراً
الضوابط التعويضية (إذا لم يكن التصحيح متاحاً):
1. طبق قواعد جدار تطبيقات الويب لحجب أنماط حقن SQL في معامل ID
2. استخدم حسابات مستخدمي قاعدة البيانات بامتيازات محدودة (قراءة فقط حيث أمكن)
3. فعّل تسجيل الاستعلامات وراقب الأنماط الشاذة
4. طبق تحديد معدل على نقطة نهاية /admin/yesterday-reg-users.php
5. طبق مبدأ أقل امتياز على الوصول الإداري
قواعد الكشف:
1. راقب كلمات SQL الرئيسية (UNION, SELECT, DROP, INSERT, UPDATE) في قيم معامل ID
2. أصدر تنبيهات عند فشل استعلامات قاعدة البيانات المتعددة من التطبيق
3. تتبع استخراج حجم البيانات غير المعتاد من جداول تسجيل المستخدمين
4. راقب محاولات تجاوز المصادقة التي تستهدف الوظائف الإدارية