A vulnerability was found in Tiandy Easy7 Integrated Management Platform 7.17.0. This vulnerability affects unknown code of the file /Easy7/apps/WebService/GetDBDataEx.jsp. Performing a manipulation of the argument strTBName results in sql injection. Remote exploitation of the attack is possible. The exploit has been made public and could be used. The vendor was contacted early about this disclosure but did not respond in any way.
A critical SQL injection vulnerability exists in Tiandy Easy7 Integrated Management Platform version 7.17.0 affecting the GetDBDataEx.jsp endpoint. The vulnerability allows remote attackers to manipulate the strTBName parameter to execute arbitrary SQL queries without authentication. With a CVSS score of 7.3 and public exploit availability, this poses an immediate threat to organizations using this platform, particularly in surveillance and security management systems deployed across Saudi Arabia.
IMMEDIATE ACTIONS:
1. Identify all instances of Tiandy Easy7 version 7.17.0 in your environment using network scanning tools
2. Isolate affected systems from internet-facing access immediately - restrict access to /Easy7/apps/WebService/GetDBDataEx.jsp endpoint
3. Implement network-level access controls (WAF rules) to block requests containing SQL metacharacters in the strTBName parameter
PATCHING GUIDANCE:
1. Contact Tiandy support for emergency patching - request version 7.18.0 or later if available
2. If no patch is available from vendor, plan immediate upgrade to alternative surveillance management platform
3. Do not delay - vendor non-responsiveness indicates this may remain unpatched
COMPENSATING CONTROLS:
1. Deploy Web Application Firewall (WAF) rules to detect/block SQL injection patterns: block requests with OR, UNION, SELECT, DROP, INSERT, UPDATE, DELETE in strTBName parameter
2. Implement strict input validation at application level - whitelist only alphanumeric characters and underscores for table names
3. Apply principle of least privilege - ensure database service account has minimal permissions (read-only where possible)
4. Enable comprehensive SQL query logging and monitoring for anomalous database access patterns
5. Implement network segmentation - isolate Tiandy platform on dedicated VLAN with restricted egress
DETECTION RULES:
1. Monitor HTTP POST/GET requests to /Easy7/apps/WebService/GetDBDataEx.jsp for SQL keywords in strTBName parameter
2. Alert on database error messages returned in HTTP responses (indicates successful injection)
3. Monitor database transaction logs for unexpected SELECT queries from Tiandy service account
4. Track unusual database connection patterns or spike in query volume from Tiandy application server
الإجراءات الفورية:
1. تحديد جميع حالات Tiandy Easy7 الإصدار 7.17.0 في بيئتك باستخدام أدوات المسح الشبكي
2. عزل الأنظمة المتأثرة عن الوصول المواجه للإنترنت فوراً - تقييد الوصول إلى نقطة نهاية /Easy7/apps/WebService/GetDBDataEx.jsp
3. تطبيق عناصر تحكم الوصول على مستوى الشبكة (قواعد WAF) لحظر الطلبات التي تحتوي على أحرف SQL في معامل strTBName
إرشادات التصحيح:
1. الاتصال بدعم Tiandy للحصول على تصحيح طارئ - طلب الإصدار 7.18.0 أو أحدث إن توفر
2. إذا لم يتوفر تصحيح من البائع، خطط للترقية الفورية إلى منصة إدارة مراقبة بديلة
3. عدم التأخير - عدم استجابة البائع يشير إلى أن هذا قد يبقى بدون تصحيح
عناصر التحكم البديلة:
1. نشر قواعد جدار حماية تطبيقات الويب (WAF) للكشف عن أنماط حقن SQL وحظرها: حظر الطلبات التي تحتوي على OR أو UNION أو SELECT أو DROP أو INSERT أو UPDATE أو DELETE في معامل strTBName
2. تطبيق التحقق الصارم من صحة الإدخال على مستوى التطبيق - قائمة بيضاء فقط للأحرف الأبجدية الرقمية والشرطات السفلية لأسماء الجداول
3. تطبيق مبدأ أقل امتياز - التأكد من أن حساب خدمة قاعدة البيانات له أقل صلاحيات ممكنة
4. تفعيل تسجيل المراقبة الشامل لاستعلامات SQL والمراقبة للأنماط غير العادية في الوصول إلى قاعدة البيانات
5. تطبيق تقسيم الشبكة - عزل منصة Tiandy على VLAN مخصص مع تقييد الخروج
قواعد الكشف:
1. مراقبة طلبات HTTP POST/GET إلى /Easy7/apps/WebService/GetDBDataEx.jsp للبحث عن كلمات SQL الرئيسية في معامل strTBName
2. التنبيه على رسائل خطأ قاعدة البيانات المرجعة في استجابات HTTP (يشير إلى حقن ناجح)
3. مراقبة سجلات معاملات قاعدة البيانات للاستعلامات SELECT غير المتوقعة من حساب خدمة Tiandy
4. تتبع أنماط الاتصال غير العادية بقاعدة البيانات أو ارتفاع حجم الاستعلامات من خادم تطبيق Tiandy