
Cloud Vulnerability DB
A community-led vulnerabilities database
Command injection vulnerability (CVE-2023-4221) affects Chamilo LMS versions up to and including v1.11.24. The vulnerability exists in main/lp/openoffice_presentation.class.php and allows users with permissions to upload Learning Paths to obtain remote code execution through improper neutralization of special characters (STAR Labs).
The vulnerability stems from insufficient input validation in the OpenofficePresentation class. When processing uploaded files, the code fails to properly sanitize the slide_width and slide_height parameters before using them in command construction. These parameters are split from user-supplied size input but are not type-casted to integers, allowing injection of shell metacharacters that can lead to command execution (STAR Labs).
Successful exploitation allows authenticated users with Learning Path upload permissions to execute arbitrary commands on the target system with the privileges of the web server user. This could lead to complete system compromise, data theft, or service disruption (STAR Labs).
The vulnerability requires specific conditions to be exploitable: the attacker must have permissions to upload learning paths (e.g., Trainer user role), Chamilo RAPID (Rapid Learning tool) must be enabled, and the service_ppt2lp API configuration option must be set to localhost. A proof-of-concept exploit has been publicly documented (STAR Labs).
The vulnerability has been patched in version 1.11.26. The fix involves using escapeshellarg() to properly escape user input used in shell command construction. Users are strongly encouraged to upgrade to the latest version. Detection can be implemented by monitoring server access logs for suspicious requests to specific endpoints like /main/lp/lp_upload.php with non-empty ppt2lp POST parameters (STAR Labs, Chamilo Commit).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."