Description
Chamilo LMS is a learning management system. Prior to 1.11.38, there is a path traversal in main/exercise/savescores.php leading to arbitrary file feletion. User input from $_REQUEST['test'] is concatenated directly into filesystem path without canonicalization or traversal checks. This vulnerability is fixed in 1.11.38.
Problem types
CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
CWE-73: External Control of File Name or Path
Product status
References
github.com/...lo-lms/security/advisories/GHSA-8q8c-v75x-q2hx
github.com/...lo-lms/security/advisories/GHSA-8q8c-v75x-q2hx
github.com/...ommit/4dddcc19d36119da27b7c49eb84a035800abae78
github.com/chamilo/chamilo-lms/releases/tag/v1.11.38