Weaver (Fanwei) E-cology 9.5 versions prior to 10.52 contain an arbitrary file read vulnerability in the XmlRpcServlet interface at the XML-RPC endpoint that allows unauthenticated remote attackers to read arbitrary files by supplying file paths to the WorkflowService.getAttachment and WorkflowService.LoadTemplateProp methods. Attackers can exploit these methods without authentication to retrieve sensitive files including system configuration files and database credentials from the server. Exploitation evidence was first observed by the Shadowserver Foundation on 2022-12-14 (UTC).
CVE-2022-50992 is a critical unauthenticated arbitrary file read vulnerability in Weaver E-cology versions prior to 10.52, affecting the XML-RPC endpoint. Attackers can exploit WorkflowService methods to read sensitive files including system configurations and database credentials without authentication. This vulnerability poses significant risk to organizations using E-cology for document management and workflow automation, particularly in Saudi government and enterprise sectors.
IMMEDIATE ACTIONS:
1. Identify all E-cology instances in your environment and document their versions
2. Disable or restrict access to the XML-RPC endpoint (/xmlrpc path) at the network perimeter using WAF/firewall rules
3. Implement network segmentation to limit access to E-cology servers from trusted networks only
4. Review access logs for the WorkflowService.getAttachment and WorkflowService.LoadTemplateProp methods for suspicious activity
PATCHING GUIDANCE:
1. Upgrade to E-cology version 10.52 or later immediately when available
2. Contact Weaver support for emergency patches if upgrade timeline exceeds 30 days
3. Test patches in non-production environment before deployment
COMPENSATING CONTROLS (if patch unavailable):
1. Implement IP whitelisting at firewall level for XML-RPC endpoint access
2. Deploy Web Application Firewall (WAF) rules to block requests to vulnerable methods
3. Implement request filtering to block file path traversal patterns (../, ..\ sequences)
4. Enable detailed logging and monitoring of XML-RPC endpoint access
5. Restrict database credentials in configuration files and use environment variables instead
DETECTION RULES:
1. Monitor for HTTP POST requests to /xmlrpc endpoint with WorkflowService method calls
2. Alert on requests containing file path traversal sequences or absolute file paths
3. Track failed and successful authentication attempts to XML-RPC interface
4. Monitor for unusual file access patterns from E-cology application user account
5. Implement SIEM rules to detect multiple file read attempts in short timeframe
الإجراءات الفورية:
1. حدد جميع مثيلات E-cology في بيئتك وقم بتوثيق إصداراتها
2. قم بتعطيل أو تقييد الوصول إلى نقطة نهاية XML-RPC (/xmlrpc) على محيط الشبكة باستخدام قواعد WAF/جدار الحماية
3. تنفيذ تقسيم الشبكة لتحديد الوصول إلى خوادم E-cology من الشبكات الموثوقة فقط
4. مراجعة سجلات الوصول لطرق WorkflowService.getAttachment و WorkflowService.LoadTemplateProp للنشاط المريب
إرشادات التصحيح:
1. قم بالترقية إلى إصدار E-cology 10.52 أو أحدث فوراً عند توفره
2. اتصل بدعم Weaver للحصول على تصحيحات طارئة إذا تجاوزت مدة الترقية 30 يوماً
3. اختبر التصحيحات في بيئة غير الإنتاج قبل النشر
الضوابط البديلة (إذا لم يكن التصحيح متاحاً):
1. تنفيذ القائمة البيضاء للعناوين على مستوى جدار الحماية لوصول نقطة نهاية XML-RPC
2. نشر قواعد جدار تطبيقات الويب (WAF) لحظر الطلبات إلى الطرق الضعيفة
3. تنفيذ تصفية الطلبات لحظر أنماط اجتياز مسار الملفات (../, ..\ sequences)
4. تفعيل السجلات التفصيلية ومراقبة وصول نقطة نهاية XML-RPC
5. تقييد بيانات اعتماد قاعدة البيانات في ملفات التكوين واستخدام متغيرات البيئة بدلاً من ذلك
قواعد الكشف:
1. مراقبة طلبات HTTP POST إلى نقطة نهاية /xmlrpc مع استدعاءات طريقة WorkflowService
2. التنبيه على الطلبات التي تحتوي على أنماط اجتياز مسار الملفات أو مسارات الملفات المطلقة
3. تتبع محاولات المصادقة الفاشلة والناجحة لواجهة XML-RPC
4. مراقبة أنماط الوصول إلى الملفات غير العادية من حساب مستخدم تطبيق E-cology
5. تنفيذ قواعد SIEM للكشف عن محاولات قراءة ملفات متعددة في إطار زمني قصير