A flaw has been found in code-projects Visitor Management System 1.0. Affected by this issue is some unknown functionality of the file /vms/php/phone_0.php. This manipulation of the argument phone causes sql injection. The attack may be initiated remotely. The exploit has been published and may be used.
CVE-2026-10170 is a SQL injection vulnerability in code-projects Visitor Management System 1.0 affecting the /vms/php/phone_0.php endpoint. The vulnerability allows remote attackers to manipulate the 'phone' parameter to execute arbitrary SQL queries with a CVSS score of 6.3 (medium severity). While no patch is currently available and exploit code has been published, the vulnerability requires authentication or specific conditions to be exploited.
Immediate Actions:
1. Identify all instances of code-projects Visitor Management System 1.0 in your environment
2. Restrict network access to /vms/php/phone_0.php endpoint using firewall rules or WAF policies
3. Implement input validation and sanitization for the 'phone' parameter - whitelist only valid phone number formats
4. Enable SQL query logging and monitoring for suspicious patterns
Compensating Controls:
5. Deploy Web Application Firewall (WAF) rules to block SQL injection patterns in phone parameter
6. Implement parameterized queries/prepared statements if source code access is available
7. Apply principle of least privilege to database user accounts used by VMS
8. Enable database activity monitoring and alerting for unauthorized queries
9. Conduct regular security audits of visitor management system logs
Detection Rules:
10. Monitor for SQL keywords (UNION, SELECT, DROP, INSERT) in phone parameter values
11. Alert on unusual database query patterns or failed authentication attempts
12. Track access to sensitive visitor data tables
13. Consider upgrading to a patched version or alternative VMS solution when available
الإجراءات الفورية:
1. تحديد جميع حالات نظام إدارة الزوار من code-projects الإصدار 1.0 في بيئتك
2. تقييد الوصول إلى نقطة النهاية /vms/php/phone_0.php باستخدام قواعد جدار الحماية أو سياسات WAF
3. تطبيق التحقق من صحة المدخلات والتطهير لمعامل 'phone' - قائمة بيضاء بصيغ أرقام الهاتف الصحيحة فقط
4. تفعيل تسجيل استعلامات SQL والمراقبة للأنماط المريبة
الضوابط التعويضية:
5. نشر قواعد جدار تطبيقات الويب (WAF) لحجب أنماط حقن SQL في معامل الهاتف
6. تطبيق الاستعلامات المعاملة/البيانات المحضرة إذا كان الوصول إلى الكود المصدري متاحاً
7. تطبيق مبدأ أقل امتياز لحسابات مستخدمي قاعدة البيانات المستخدمة من قبل VMS
8. تفعيل مراقبة نشاط قاعدة البيانات والتنبيهات للاستعلامات غير المصرح بها
9. إجراء عمليات تدقيق أمان منتظمة لسجلات نظام إدارة الزوار
قواعد الكشف:
10. مراقبة كلمات مفاتيح SQL (UNION, SELECT, DROP, INSERT) في قيم معامل الهاتف
11. التنبيه على أنماط استعلامات قاعدة البيانات غير العادية أو محاولات المصادقة الفاشلة
12. تتبع الوصول إلى جداول بيانات الزوار الحساسة
13. النظر في الترقية إلى نسخة مصححة أو حل VMS بديل عند توفره