Chamilo LMS is a learning management system. Prior to 1.11.38, any authenticated user (including students) can write arbitrary content to files on the server via the BigUpload endpoint. The key parameter controls the filename and the raw POST body becomes the file content. While .php extensions are filtered to .phps, the .pht extension passes through unmodified. On Apache configurations where .pht is handled as PHP, this leads to Remote Code Execution. This vulnerability is fixed in 1.11.38.
Chamilo LMS versions before 1.11.38 allow authenticated users to upload arbitrary files via the BigUpload endpoint, bypassing PHP extension filters by using .pht extensions. On Apache servers configured to execute .pht files as PHP, this enables remote code execution with high severity impact.
يسمح الثغرة الأمنية في نظام إدارة التعلم Chamilo للمستخدمين المصرحين برفع ملفات بامتدادات خطرة مثل .pht التي تتجاوز مرشحات الحماية. عندما يكون خادم Apache مكوناً لتنفيذ ملفات .pht كأكواد PHP، يمكن للمهاجم تنفيذ أوامر عشوائية على الخادم. تم إصلاح هذه الثغرة في الإصدار 1.11.38.
نظام إدارة التعلم Chamilo في الإصدارات السابقة للإصدار 1.11.38 يسمح للمستخدمين المصرحين برفع ملفات عشوائية عبر نقطة نهاية BigUpload، مما يتجاوز مرشحات امتدادات PHP باستخدام امتدادات .pht. على خوادم Apache المكونة لتنفيذ ملفات .pht كـ PHP، يمكن تحقيق تنفيذ الأوامر البعيد.
Upgrade Chamilo LMS to version 1.11.38 or later immediately. Review and strengthen file upload validation to block dangerous extensions including .pht, .phtml, .php3, .php4, .php5, and .phar. Implement whitelist-based file extension validation and disable PHP execution in upload directories via Apache configuration (.htaccess or httpd.conf). Monitor server logs for suspicious upload activities.
قم بترقية نظام Chamilo LMS إلى الإصدار 1.11.38 أو أحدث فوراً. راجع وعزز التحقق من صحة تحميل الملفات لحظر الامتدادات الخطرة بما في ذلك .pht و .phtml و .php3 و .php4 و .php5 و .phar. طبق التحقق من الامتدادات بناءً على قائمة بيضاء وعطل تنفيذ PHP في مجلدات التحميل عبر تكوين Apache. راقب سجلات الخادم للأنشطة المريبة.