Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as privileged user
-
DeliveryUpload document with shell metacharacters
-
ExploitMove document via move_to parameter
-
ExecutionInject OS command into exec() call
-
ImpactExecute arbitrary shell commands as web server user
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires authenticated access as a high-privilege user (administrator or teacher) in Chamilo LMS versions before 1.11.38 and 2.0.0-RC.3. Attacker exploits the move_to POST parameter in document.php's file move function by injecting OS commands into unescaped paths passed to exec(). |
| Impact | CVSS 9.1 reflects severe impact (complete system compromise via command execution), but requires authenticated access and high privileges (PR:H limits to instructors/admins). EPSS and KEV data unavailable; no public exploit confirmed. Blast radius depends on Chamilo deployment scale and user privilege distribution. Organizations with restrictive course-creation policies face lower practical risk despite high CVSS. |
| Exploit ScenarioDerived | Authenticated teacher creates course, imports malicious backup containing directory with shell metacharacters (e.g., |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 10, 2026
OS command injection in Chamilo LMS 1.x (prior to 1.11.38) and 2.0.0-RC.x (prior to RC.3) allows authenticated teacher-role users to execute arbitrary system commands via unsanitized file path parameters. The move() function in fileManage.lib.php concatenates user-controlled move_to POST values directly into exec() shell commands without proper escaping. Any authenticated user can exploit this by creating a course (enabled by default), uploading a directory with shell metacharacters via Course Backup Import, then moving a document to trigger command execution as www-data. No public exploit identified at time of analysis.
RemediationAI
Vendor-released patches: upgrade to Chamilo LMS 1.11.38 for 1.x deployments or 2.0.0-RC.3 for 2.0.0 release candidate deployments. Fixes implement escapeshellarg() sanitization in fileManage.lib.php move() function per commits 3597b19b73d73d681e4fb503285e9bbfe71714bf and 62671e5e268f235cddfba704edee90f35c234df1. No workaround provided; patching is mandatory. If immediate upgrade is not feasible, disable allow_users_to_create_courses configuration setting and restrict course creation/teacher role assignment until patching is complete. Full vendor advisory: https://github.com/chamilo/chamilo-lms/security/advisories/GHSA-59cv-qh65-vvrr
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
CWE-78 flaw stems from passing move_to POST parameter through Security::remove_XSS() HTML filter only, then directly concatenating into exec("mv $source $target") without escapeshellarg(). Shell metacharacters in directory names created via backup import bypass sanitization, enabling command injection at filesystem layer when document move operation executes.
Know when Chamilo Lms gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
5DescriptionNVD
Chamilo LMS is a learning management system. Prior to 1.11.38 and 2.0.0-RC.3, Chamilo LMS contains an OS Command Injection vulnerability in the file move function. The move() function in fileManage.lib.php passes user-controlled path values directly into exec() shell commands without using escapeshellarg(). When a user moves a document via document.php, the move_to POST parameter - which only passes through Security::remove_XSS() (an HTML-only filter) - is concatenated directly into shell commands such as exec("mv $source $target"). By default, Chamilo allows all authenticated users to create courses (allow_users_to_create_courses = true). Any user who is a teacher in a course (including self-created courses) can move documents, making this vulnerability exploitable by any authenticated user. The attacker must first place a directory with shell metacharacters in its name on the filesystem (achievable via Course Backup Import), then move a document into that directory to trigger arbitrary command execution as the web server user (www-data). This vulnerability is fixed in 1.11.38 and 2.0.0-RC.3.
Executive ViewAI
Chamilo LMS versions 1.x before 1.11.38 and 2.0.0-RC before RC.3 contain a critical OS command injection vulnerability that allows authenticated teacher-role users to execute arbitrary system commands on the underlying server. Organizations running affected Chamilo instances face immediate risk of complete server compromise, data theft, and lateral network movement, as attackers with teacher credentials can escalate privileges to system-level access.
Vendor-released patch: Chamilo 1.11.38 (1.x series) and 2.0.0-RC.3 (2.0 series). Until patching: restrict teacher role assignment to trusted administrators only, disable course backup import functionality via fileManage.lib.php if possible, and implement strict WAF rules to block POST requests to fileManage.lib.php containing shell metacharacters (|, ;, &, $, `, <, >, etc.) in move_to parameters.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
More in Chamilo Lms
View allChamilo LMS prior to 1.11.28 has a code injection through SOAP request parameters enabling remote code execution.
Chamilo LMS prior to 1.11.30 has a time-based SQL injection in a different endpoint, providing an additional database ex
Chamilo LMS prior to 1.11.30 has an error-based SQL injection enabling database extraction.
Chamilo LMS v1.11.x was discovered to contain a SQL injection via the doc parameter in main/plagiarism/compilatio/upload
Chamilo LMS 1.11.8 and 2.x allows remote code execution through an lp_upload.php unauthenticated file upload feature. Ra
Chamilo LMS prior to 1.11.30 has a blind SSRF vulnerability enabling internal network reconnaissance from the learning p
Unrestricted file upload in big file upload functionality in `/main/inc/lib/javascript/bigupload/inc/bigUpload.php` in C
Chamilo is a learning management system. [CVSS 8.8 HIGH]
Chamilo is a learning management system. Prior to version 1.11.30, an input validation vulnerability exists when importi
Chamilo LMS 1.11.26 is vulnerable to Incorrect Access Control via main/auth/profile. Rated high severity (CVSS 8.8), thi
Unrestricted file upload in `/main/inc/ajax/work.ajax.php` in Chamilo LMS <= v1.11.24 allows authenticated attackers wit
Unrestricted file upload in `/main/inc/ajax/exercise.ajax.php` in Chamilo LMS <= v1.11.24 allows authenticated attackers
EUVD-2026-21524
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB