Chamilo OS Command Injection Vulnerability in VChamilo Plugin

Vulnerability

A command injection vulnerability has been identified in Chamilo LMS versions prior to 1.11.30. The issue resides in the VChamilo plugin, specifically within the 'editinstance.php' file. The vulnerability allows authorized users with administrative privileges to inject and execute arbitrary commands on the server via the 'main_database' parameter. This exploitation occurs during the 'addInstance' function, where the injected commands are processed and executed using the 'exec' function, leading to potential unauthorized access or manipulation of the server.

Impact

Exploitation of this vulnerability allows for arbitrary command execution on the server, with the executed commands running in the context of the web server user. This could lead to unauthorized access, data manipulation, or further exploitation of the server.

Reproduction

To reproduce this vulnerability, an instance of Chamilo LMS with the VChamilo plugin activated is required. An administrative user must be logged in. The vulnerability can be exploited by navigating to the 'editinstance.php' view and injecting a command payload into the 'main_database' parameter. Once the instance is saved, the injected command is executed on the server.

Remediation

Users are advised to update to Chamilo LMS version 1.11.30 or later, where this vulnerability has been patched.

Added: Mar 2, 2026, 4:33 PM
Updated: Mar 2, 2026, 9:52 PM

Vulnerability Rating

Custom Algorithm
spread
3.4
impact
10.0
exploitability
5.9
remediation
7.7
relevance
3.4
threat
6.4
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.