Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| chamilo / chamilo-lms | affected >= 2.0.0-alpha.1, < 2.0.0-RC.3 |
CWE
CWE-95
References
- https://github.com/chamilo/chamilo-lms/security/advisories/GHSA-hp4w-jmwc-pg7w
- https://github.com/chamilo/chamilo-lms/commit/f2c382c94a3f153a4d7e5ce5686c5a219fd09b3b
ADP enrichment
No English description supplied.
No references supplied.