Joomla! Component Ek Rishta 2.10 contains an SQL injection vulnerability that allows unauthenticated attackers to manipulate database queries by injecting SQL code through the cid parameter. Attackers can send GET requests to the user_detail view with malicious cid values containing SQL commands to extract sensitive database information.
CVE-2018-25348 is a critical SQL injection vulnerability in Joomla! Component Ek Rishta 2.10 that allows unauthenticated attackers to execute arbitrary SQL queries through the cid parameter. This vulnerability enables complete database compromise including extraction of user credentials, personal information, and sensitive business data. With no patch available and no authentication required, this poses an immediate threat to any organization running this vulnerable component.
IMMEDIATE ACTIONS:
1. Identify all systems running Joomla! with Ek Rishta component version 2.10 or earlier
2. Disable or uninstall the vulnerable Ek Rishta component immediately if not critical to operations
3. Implement Web Application Firewall (WAF) rules to block SQL injection patterns in cid parameter
4. Review database access logs for suspicious SQL queries and unauthorized data access
COMPENSATING CONTROLS:
1. Restrict access to affected Joomla installations using IP whitelisting at network level
2. Implement input validation and parameterized queries at application level if component cannot be removed
3. Apply database-level restrictions limiting query scope and user permissions
4. Enable comprehensive logging and monitoring of all database queries
5. Isolate affected systems from production networks if remediation is delayed
DETECTION RULES:
1. Monitor for GET requests containing SQL keywords (UNION, SELECT, DROP, INSERT) in cid parameter
2. Alert on multiple failed SQL queries or unusual database activity from web application user
3. Track error messages containing SQL syntax errors in application logs
4. Monitor for encoded SQL injection attempts (hex, URL encoding) in cid parameter
الإجراءات الفورية:
1. تحديد جميع الأنظمة التي تعمل بـ Joomla! مع مكون Ek Rishta الإصدار 2.10 أو أقدم
2. تعطيل أو إلغاء تثبيت مكون Ek Rishta الضعيف فوراً إذا لم يكن حرجاً للعمليات
3. تطبيق قواعد جدار حماية تطبيقات الويب لحجب أنماط حقن SQL في معامل cid
4. مراجعة سجلات الوصول إلى قاعدة البيانات للاستعلامات المريبة والوصول غير المصرح
الضوابط البديلة:
1. تقييد الوصول إلى تثبيتات Joomla المتأثرة باستخدام قائمة بيضاء IP على مستوى الشبكة
2. تطبيق التحقق من صحة المدخلات والاستعلامات المعاملة على مستوى التطبيق
3. تطبيق قيود على مستوى قاعدة البيانات تحد من نطاق الاستعلام وأذونات المستخدم
4. تفعيل السجلات الشاملة ومراقبة جميع استعلامات قاعدة البيانات
5. عزل الأنظمة المتأثرة عن شبكات الإنتاج إذا تأخر العلاج
قواعد الكشف:
1. مراقبة طلبات GET التي تحتوي على كلمات SQL (UNION, SELECT, DROP, INSERT) في معامل cid
2. تنبيه عند استعلامات SQL متعددة فاشلة أو نشاط قاعدة بيانات غير عادي
3. تتبع رسائل الخطأ التي تحتوي على أخطاء بناء جملة SQL في سجلات التطبيق
4. مراقبة محاولات حقن SQL المشفرة في معامل cid