WWBN AVideo is an open source video platform. In versions up to and including 26.0, the `objects/import.json.php` endpoint accepts a user-controlled `fileURI` POST parameter with only a regex check that the value ends in `.mp4`. Unlike `objects/listFiles.json.php`, which was hardened with a `realpath()` + directory prefix check to restrict paths to the `videos/` directory, `import.json.php` performs no directory restriction. This allows an authenticated user with upload permission to: (1) steal any other user's private video files by importing them into their own account, (2) read `.txt`/`.html`/`.htm` files adjacent to any `.mp4` file on the filesystem, and (3) delete `.mp4` and adjacent text files if writable by the web server process. Commit e110ff542acdd7e3b81bdd02b8402b9f6a61ad78 contains a patch.
CVE-2026-33493 is a path traversal vulnerability in WWBN AVideo versions up to 26.0 affecting the import.json.php endpoint. An authenticated user with upload permissions can exploit insufficient input validation to read, steal, or delete files outside the intended videos directory, including private videos and configuration files. With a CVSS score of 7.1 and publicly available exploits, this poses a significant risk to organizations hosting AVideo instances.
IMMEDIATE ACTIONS:
1. Identify all WWBN AVideo instances in your environment running versions ≤26.0
2. Restrict access to import.json.php endpoint to trusted networks only via WAF/firewall rules
3. Review audit logs for suspicious import.json.php requests with unusual fileURI parameters (containing ../ or absolute paths)
4. Audit user accounts with upload permissions and disable unnecessary accounts
PATCHING:
1. Apply patch from commit e110ff542acdd7e3b81bdd02b8402b9f6a61ad78 immediately
2. Update to AVideo version 26.1 or later when available
3. Test patch in staging environment before production deployment
COMPENSATING CONTROLS (if patching delayed):
1. Implement WAF rules to block import.json.php requests containing path traversal patterns (../, ..\, encoded variants)
2. Apply principle of least privilege: remove upload permissions from non-essential user accounts
3. Configure web server to run with minimal file system permissions
4. Implement file integrity monitoring on configuration files and sensitive directories
DETECTION:
1. Monitor POST requests to /objects/import.json.php for fileURI parameters containing: ../, ..\, %2e%2e, encoded slashes
2. Alert on import.json.php requests from users without recent legitimate upload activity
3. Log and review all file access outside /videos/ directory by web server process
4. Monitor for unusual file deletion patterns in video directories
الإجراءات الفورية:
1. حدد جميع مثيلات WWBN AVideo في بيئتك التي تعمل بالإصدارات ≤26.0
2. قيد الوصول إلى نقطة نهاية import.json.php على الشبكات الموثوقة فقط عبر قواعد WAF/جدار الحماية
3. راجع سجلات التدقيق للطلبات المريبة إلى import.json.php بمعاملات fileURI غير عادية (تحتوي على ../ أو مسارات مطلقة)
4. تدقيق حسابات المستخدمين بصلاحيات التحميل وتعطيل الحسابات غير الضرورية
التصحيح:
1. طبق التصحيح من commit e110ff542acdd7e3b81bdd02b8402b9f6a61ad78 فورًا
2. حدّث إلى إصدار AVideo 26.1 أو أحدث عند توفره
3. اختبر التصحيح في بيئة التجريب قبل نشره في الإنتاج
الضوابط البديلة (إذا تأخر التصحيح):
1. طبق قواعد WAF لحظر طلبات import.json.php التي تحتوي على أنماط اجتياز المسار (../, ..\, المتغيرات المشفرة)
2. طبق مبدأ أقل امتياز: أزل صلاحيات التحميل من حسابات المستخدمين غير الأساسية
3. كوّن خادم الويب للعمل بأقل صلاحيات نظام الملفات
4. طبق مراقبة سلامة الملفات على ملفات الإعدادات والدلائل الحساسة
الكشف:
1. راقب طلبات POST إلى /objects/import.json.php لمعاملات fileURI تحتوي على: ../, ..\, %2e%2e, الشرطات المشفرة
2. أصدر تنبيهات لطلبات import.json.php من المستخدمين بدون نشاط تحميل شرعي حديث
3. سجل وراجع جميع الوصول إلى الملفات خارج دليل /videos/ بواسطة عملية خادم الويب
4. راقب أنماط حذف الملفات غير العادية في دلائل الفيديو