Joomla com_hdwplayer 4.2 contains an SQL injection vulnerability in the search.php file that allows unauthenticated attackers to execute arbitrary SQL queries by injecting malicious code through the hdwplayersearch parameter. Attackers can submit POST requests with crafted SQL payloads in the hdwplayersearch parameter to extract sensitive database information from the hdwplayer_videos table.
CVE-2020-37218 is a critical SQL injection vulnerability in Joomla com_hdwplayer 4.2 that allows unauthenticated attackers to execute arbitrary SQL queries through the hdwplayersearch parameter. The vulnerability enables direct access to sensitive database information, particularly from the hdwplayer_videos table. With no patch available and moderate exploit complexity, organizations using this component face significant data breach risks.
IMMEDIATE ACTIONS:
1. Identify all Joomla installations with com_hdwplayer component version 4.2 across your infrastructure
2. Disable or uninstall the com_hdwplayer component immediately if not critical to operations
3. If component is essential, restrict access to search.php through WAF rules blocking POST requests to hdwplayersearch parameter
PATCHING GUIDANCE:
1. Check vendor website for security updates; if unavailable, contact component developer for patch timeline
2. Consider migrating to alternative video player components with active security maintenance
3. Implement input validation and parameterized queries if custom patching is necessary
COMPENSATING CONTROLS:
1. Deploy Web Application Firewall (WAF) rules to block SQL injection patterns in hdwplayersearch parameter
2. Implement database activity monitoring (DAM) to detect anomalous SQL queries
3. Apply principle of least privilege to database user accounts running Joomla
4. Enable database query logging and audit trails
5. Restrict network access to Joomla application to trusted IP ranges
DETECTION RULES:
1. Monitor POST requests containing SQL keywords (UNION, SELECT, DROP, INSERT) in hdwplayersearch parameter
2. Alert on database connections executing queries from search.php with unusual table access patterns
3. Track failed authentication attempts followed by SQL injection attempts
4. Monitor hdwplayer_videos table for unauthorized access or data exfiltration
الإجراءات الفورية:
1. تحديد جميع تثبيتات Joomla التي تحتوي على مكون com_hdwplayer الإصدار 4.2 عبر البنية التحتية الخاصة بك
2. تعطيل أو إلغاء تثبيت مكون com_hdwplayer فوراً إذا لم يكن حرجاً للعمليات
3. إذا كان المكون ضرورياً، قيّد الوصول إلى search.php من خلال قواعد WAF التي تحظر طلبات POST لمعامل hdwplayersearch
إرشادات التصحيح:
1. تحقق من موقع المورد للحصول على تحديثات الأمان؛ إذا لم تكن متاحة، اتصل بمطور المكون للحصول على جدول زمني للتصحيح
2. فكر في الترحيل إلى مكونات مشغل فيديو بديلة مع صيانة أمان نشطة
3. قم بتنفيذ التحقق من الإدخال والاستعلامات المعاملة إذا لزم الأمر التصحيح المخصص
الضوابط التعويضية:
1. نشر قواعد جدار الحماية (WAF) لحظر أنماط حقن SQL في معامل hdwplayersearch
2. تنفيذ مراقبة نشاط قاعدة البيانات (DAM) للكشف عن استعلامات SQL غير الطبيعية
3. تطبيق مبدأ أقل امتياز على حسابات مستخدمي قاعدة البيانات التي تشغل Joomla
4. تفعيل تسجيل استعلامات قاعدة البيانات ومسارات التدقيق
5. قيّد الوصول إلى شبكة تطبيق Joomla إلى نطاقات IP الموثوقة
قواعد الكشف:
1. مراقبة طلبات POST التي تحتوي على كلمات رئيسية SQL (UNION, SELECT, DROP, INSERT) في معامل hdwplayersearch
2. تنبيه على اتصالات قاعدة البيانات التي تنفذ استعلامات من search.php مع أنماط وصول جدول غير عادية
3. تتبع محاولات المصادقة الفاشلة متبوعة بمحاولات حقن SQL
4. مراقبة جدول hdwplayer_videos للوصول غير المصرح به أو تسرب البيانات