A vulnerability was determined in kodcloud KodExplorer up to 4.52. This affects the function share.class.php::initShareOld of the file /app/controller/share.class.php of the component Public Share Handler. This manipulation of the argument path causes path traversal. The attack can be initiated remotely. The exploit has been publicly disclosed and may be utilized. The vendor was contacted early about this disclosure but did not respond in any way.
CVE-2026-6568 is a path traversal vulnerability in KodExplorer versions up to 4.52 affecting the public share handler component. An attacker can manipulate the 'path' parameter to access files outside intended directories, potentially exposing sensitive data. With a CVSS score of 7.3 and public disclosure, this poses a significant risk to organizations using KodExplorer for file sharing and collaboration.
IMMEDIATE ACTIONS:
1. Identify all KodExplorer instances in your environment (versions ≤4.52) using network scanning and asset inventory tools
2. Disable public share functionality immediately or restrict access to trusted networks only
3. Review access logs for share.class.php and initShareOld function calls with suspicious path parameters (../, ..\, encoded traversal sequences)
4. Isolate affected systems from public internet access if possible
PATCHING GUIDANCE:
1. Contact KodExplorer vendor for security updates (note: vendor has not responded to disclosure)
2. Monitor official KodExplorer repository for patches
3. If no patch becomes available, plan migration to alternative file sharing solutions (NextCloud, Seafile, OwnCloud)
COMPENSATING CONTROLS:
1. Implement Web Application Firewall (WAF) rules to block path traversal patterns in share.class.php requests
2. Apply input validation: reject requests containing ../, ..\ or URL-encoded equivalents (%2e%2e, %252e%252e)
3. Implement strict file access controls using OS-level permissions
4. Enable detailed logging and alerting for share.class.php access
5. Use reverse proxy to restrict share endpoint access by IP whitelist
DETECTION RULES:
1. Monitor HTTP requests to /app/controller/share.class.php with path parameter containing: ../, ..\, %2e%2e, %252e, encoded null bytes
2. Alert on file access outside designated share directories
3. Track failed authentication attempts to share endpoints
4. Monitor for unusual file read patterns from share handler processes
الإجراءات الفورية:
1. تحديد جميع مثيلات KodExplorer في بيئتك (الإصدارات ≤4.52) باستخدام أدوات المسح والمخزون
2. تعطيل وظيفة المشاركة العامة فوراً أو تقييد الوصول للشبكات الموثوقة فقط
3. مراجعة سجلات الوصول لـ share.class.php ودالة initShareOld مع معاملات المسار المريبة
4. عزل الأنظمة المتأثرة عن الإنترنت العام إن أمكن
إرشادات التصحيح:
1. التواصل مع بائع KodExplorer للحصول على تحديثات الأمان
2. مراقبة مستودع KodExplorer الرسمي للتصحيحات
3. إذا لم يتوفر تصحيح، خطط للهجرة إلى حلول مشاركة ملفات بديلة
الضوابط التعويضية:
1. تطبيق قواعد جدار حماية تطبيقات الويب لحجب أنماط اجتياز المسار
2. تطبيق التحقق من صحة الإدخال: رفض الطلبات التي تحتوي على ../ أو المكافئات المشفرة
3. تطبيق ضوابط الوصول إلى الملفات على مستوى نظام التشغيل
4. تفعيل السجلات التفصيلية والتنبيهات لوصول share.class.php
5. استخدام وكيل عكسي لتقييد وصول نقطة المشاركة
قواعد الكشف:
1. مراقبة طلبات HTTP إلى share.class.php التي تحتوي على معاملات مريبة
2. التنبيه على الوصول إلى الملفات خارج الدلائل المخصصة
3. تتبع محاولات المصادقة الفاشلة
4. مراقبة أنماط قراءة الملفات غير العادية