Chamilo LMS command injection flaws enable RCE via learning path uploads
Vulnerability Disclosure · 2 sources · Updated 4mo ago · First seen Apr 11, 2026

Chamilo LMS fixed two high-severity command injection vulnerabilities, CVE-2023-4221 and CVE-2023-4222, that can allow remote code execution in versions up to and including 1.11.24. The bugs affect the learning path conversion workflow: CVE-2023-4221 is in main/lp/openoffice_presentation.class.php, where attacker-controlled slide_size input is passed into an OS command, while CVE-2023-4222 is in main/lp/openoffice_text_document.class.php, where a crafted uploaded filename containing shell metacharacters is used unsafely. In both cases, exploitation requires an authenticated user with permission to upload learning paths, such as a Trainer-role user, and depends on Chamilo RAPID being enabled with service_ppt2lp set to localhost.
STAR Labs said the flaws appear related to the previously disclosed Chamilo command injection issue CVE-2023-34960 and published proof-of-concept details showing exploitation through lp_upload.php and related upload endpoints using a non-empty ppt2lp or woogie parameter. Chamilo addressed the issues in v1.11.26. Defenders are advised to upgrade and review access logs, upload activity, and database records for suspicious learning path uploads, especially requests to upload endpoints containing unusual slide_size values, non-empty conversion parameters, or malicious filenames.


