Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain authenticated LMS account
-
ExploitIntercept course enrollment API request
-
ImpactModify user parameter to
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Object-level authorization, IDOR prevention
|
| Exploitation Conditions | Authenticated user account on Chamilo LMS versions prior to 2.0.0-RC.3. Attacker must have valid login credentials to access /api/course_rel_users endpoint and manipulate user parameter in request body without authorization validation. |
| Impact | The CVSS 7.1 score reflects High severity with notable real-world risk for multi-tenant Chamilo deployments. The attack vector is Network-based with Low complexity (AV:N/AC:L), requiring only Low privileges (PR:L - any authenticated user account) and no user interaction (UI:N). The Unchanged scope (S:U) means the vulnerability cannot escape the LMS context, but the High Integrity impact (I:H) coupled with Low Confidentiality impact (C:L) indicates attackers can significantly manipulate enrollment data and potentially access course materials inappropriately. The Low confidentiality rating suggests limited direct data exfiltration, but unauthorized course enrollment could expose learning materials, assessments, and potentially personal information shared within course contexts. Without EPSS data or KEV listing, quantitative exploitation probability is unavailable, but the technical simplicity (authenticated API parameter manipulation) and lack of required user interaction suggest this vulnerability is highly automatable and easily exploitable by malicious insiders or compromised accounts. The primary risk materializes in scenarios where Chamilo hosts sensitive training content, paid courses, or restricted educational materials-unauthorized enrollment undermines access controls, licensing compliance, and academic integrity. The availability of multiple fix commits (2a9f060, bd2ba34, c9c30cd) and a tagged release suggests vendor responsiveness, reducing window of exposure for organizations monitoring security advisories. Organizations should prioritize remediation based on their enrollment control requirements and sensitivity of course content, particularly if the LMS handles premium content, compliance training, or personally identifiable student data. |
| Exploit ScenarioDerived | An authenticated attacker with a standard student account on a Chamilo LMS instance identifies the /api/course_rel_users API endpoint through browser developer tools or API documentation. The attacker crafts a POST request to this endpoint, substituting their own user ID in the user parameter with the ID of another student or instructor, while specifying a target course ID for a premium training program or restricted administrative course. Because the backend performs no authorization check on the user field, the API successfully enrolls the victim user into the specified course without their knowledge or consent. The attacker can then either access course materials through the victim's account (if they can compromise it separately) or manipulate institutional enrollment records for fraudulent purposes such as granting unauthorized access to paid content, inflating course completion metrics, or disrupting academic integrity by enrolling users in assessment courses they should not access. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 14, 2026
Insecure Direct Object Reference in Chamilo LMS /api/course_rel_users endpoint allows authenticated attackers to enroll arbitrary users into any course without authorization (CVSS 7.1, High Integrity impact). Affects all versions prior to 2.0.0-RC.3. The vulnerability enables authenticated users to manipulate user-course relationships by modifying the user parameter in API requests, bypassing enrollment controls entirely. No public exploit code identified at time of analysis, though the attack v
Earlier versions of this analysis (1)
Insecure Direct Object Reference in Chamilo LMS /api/course_rel_users endpoint allows authenticated attackers to enroll arbitrary users into any course without authorization (CVSS 7.1, High Integrity impact). Affects all versions prior to 2.0.0-RC.3. The vulnerability enables authenticated users to manipulate user-course relationships by modifying the user parameter in API requests, bypassing enrollment controls entirely. No public exploit code identified at time of analysis, though the attack vector is straightforward for authenticated users with basic API access. EPSS risk data not available; remediation via upgrade to v2.0.0-RC.3 released February 2025.
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. This release includes authorization validation fixes that verify the authenticated user has proper permissions before modifying user-course relationships through the /api/course_rel_users endpoint. Organizations unable to upgrade immediately should implement compensating controls including API gateway-level request filtering to restrict access to the /api/course_rel_users endpoint to only administrative roles, enhanced logging and monitoring of enrollment API calls to detect anomalous patterns where single users are enrolling multiple other user accounts, and temporary disabling of self-service enrollment features if the API is exposed to untrusted authenticated users. Review course enrollment audit logs for the period prior to patching to identify any unauthorized enrollments that may have occurred, particularly focusing on high-value or restricted courses. Consult the vendor security advisory at https://github.com/chamilo/chamilo-lms/security/advisories/GHSA-x373-8j9j-g5pj for additional context and the specific commits (2a9f060, bd2ba34, c9c30cd) that implement the authorization checks if manual backporting to older versions is required.
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 exploits an Insecure Direct Object Reference (CWE-639) in Chamilo LMS's REST API course enrollment functionality. The /api/course_rel_users endpoint accepts a user field in the request body to specify which user should be enrolled in a course. The backend implementation fails to implement server-side authorization checks to verify that the authenticated requester either owns the specified user ID or possesses delegated permissions to modify that user's course enrollments. This represents a classic broken object-level authorization (BOLA) vulnerability common in REST APIs where object identifiers are accepted from client input without validating the requester's relationship to those objects. The API trusts client-supplied user IDs directly, allowing horizontal privilege escalation where one authenticated user can modify another user's course memberships. Chamilo LMS is an open-source PHP-based learning management system used primarily in educational institutions, with this vulnerability residing in the version 2.x codebase prior to release candidate 3.
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:L/I:H/A:N
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, the /api/course_rel_users endpoint is vulnerable to Insecure Direct Object Reference (IDOR), allowing an authenticated attacker to modify the user parameter in the request body to enroll any arbitrary user into any course without proper authorization checks. The backend trusts the user-supplied input for the user field and performs no server-side verification that the requester owns the referenced user ID or has permission to act on behalf of other users. This enables unauthorized manipulation of user-course relationships, potentially granting unintended access to course materials, bypassing enrollment controls, and compromising platform integrity. 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 an authentication bypass vulnerability in the course enrollment API that allows authenticated users to arbitrarily enroll other users into courses, compromising access controls and course integrity. Organizations using affected Chamilo deployments face unauthorized course enrollment and potential unauthorized access to course content, requiring immediate patching to prevent privilege escalation and data exposure.
Apply vendor patch. Interim mitigations pending patch deployment: restrict API access to the /api/course_rel_users endpoint via network-layer controls (WAF/reverse proxy); implement detailed audit logging of all enrollment API calls; disable programmatic course enrollment APIs if not operationally critical; manually audit active course enrollments for anomalies.
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
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
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-22718
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB