Chamilo
cpe:2.3:a:chamilo:chamilo:*:*:*:*:*:*:*, +1 more
- 1.11.12
- 1.11.14
- 1.11.16
- 1.11.18
- 1.11.20
- 1.11.22
- 1.11.24
- 1.11.26
A remote code execution vulnerability has been identified in Chamilo Learning Management System versions 1.11.12 prior to 1.11.26. This issue arises from a post-authentication Phar unserialization flaw, allowing an administrator to execute arbitrary code on the server. The vulnerability can be exploited by leveraging multiple features of the virtualization plugin, vchamilo.
Exploitation of this vulnerability allows for remote code execution on the server where Chamilo is hosted.
To reproduce this vulnerability, first enable the Virtualization plugin vchamilo. Then, generate a Phar payload using a tool like phpggc, targeting a command execution payload (such as one that executes the 'id' command). Upload this payload as a PNG file through the 'myfiles' upload feature. After uploading, retrieve the file's URL. Next, configure the vchamilo plugin to use the uploaded Phar file by setting the 'Container effectif de cours' parameter to 'phar://'. Clear the application's cache to ensure the changes take effect. Finally, trigger the vulnerability by accessing the 'manage.testdatapath.php' endpoint of the vchamilo plugin, specifying the path to the uploaded file. This will execute the payload on the server, resulting in remote code execution.
Users can upgrade to Chamilo version 1.11.28, where this vulnerability has been patched.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.