Chamilo LMS File Upload Flaws Enabled Remote Code Execution
Vulnerability Disclosure · 3 sources · Updated 4mo ago · First seen Apr 11, 2026

Chamilo LMS fixed multiple high-severity file upload vulnerabilities that allowed attackers to achieve remote code execution by abusing weak filename validation and unsafe handling of uploaded files. In CVE-2023-3545, affecting versions through 1.11.20, improper case-sensitive sanitization in fileUpload.lib.php let attackers on Windows servers running Apache bypass .htaccess upload protections with mixed-case filenames, then configure Apache to execute uploaded files as PHP. STAR Labs said the flaw could be exploited by authenticated users with the Trainer role or chained with an arbitrary file write bug such as CVE-2023-3533 for unauthenticated compromise; Chamilo fully addressed it in version 1.11.22.
A separate flaw, CVE-2023-4223, affected versions through 1.11.24 in /main/inc/ajax/document.ajax.php and allowed an authenticated learner to upload PHP files and overwrite .htaccess in the web-accessible /app/cache directory, leading to remote code execution and stored cross-site scripting. STAR Labs reported that user-controlled filenames were written into SYS_ARCHIVE_PATH without sufficient validation or dangerous file-type restrictions, and noted similar upload issues in related AJAX handlers tracked as CVE-2023-4224, CVE-2023-4225, and CVE-2023-4226. Chamilo released a complete fix for CVE-2023-4223 in version 1.11.26.


