Description
Chamilo LMS is a learning management system. Prior to .0.0-RC.3, the PlatformConfigurationController::decodeSettingArray() method uses PHP's eval() to parse platform settings from the database. An attacker with admin access (obtainable via Advisory 1) can inject arbitrary PHP code into the settings, which is then executed when any user (including unauthenticated) requests /platform-config/list. This vulnerability is fixed in 2.0.0-RC.3.
Problem types
CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
Product status
References
github.com/...lo-lms/security/advisories/GHSA-hp4w-jmwc-pg7w
github.com/...ommit/f2c382c94a3f153a4d7e5ce5686c5a219fd09b3b