Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain enrolled course account
-
DeliveryAuthenticate to Chamilo session
-
ExploitPOST crafted payload to lang.ajax.php
-
ExecutionInject PHP into language file
-
PersistServer executes injected code
-
ImpactArbitrary code execution in web context
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization verification
MITRE ATT&CK
1 technique across 1 tactic: Defense Evasion The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires an authenticated Chamilo account enrolled in at least one course (student, teacher, or DRH role) so that api_protect_course_script(true) permits reaching main/inc/ajax/lang.ajax.php; no administrator privileges and no user interaction are needed. Limiting factors: the attacker must hold a valid session plus a course enrollment, so instances that disable self-registration and gate enrollment behind manual approval meaningfully raise the bar, and the target must run Chamilo 1.11.40 or earlier. The official CVSS marks PR:H and AC:H, but the described prerequisite (any ordinary enrolled user) is actually low-privilege, so defenders should not rely on an 'admin-only' assumption. |
| Impact | The supplied CVSS 4.0 vector (AV:N/AC:H/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H, base 7.5) reflects network reachability with full confidentiality, integrity, and availability impact, but assigns PR:H and AC:H. This is internally inconsistent with the description: the endpoint is reachable by any enrolled student/teacher/DRH - a LOW-privilege population, not high - so PR:L is more defensible and would raise real-world severity. No EPSS score, POC, or KEV listing is present in the provided data, so exploitation is not confirmed in the wild and this should be treated as a serious latent risk rather than an active campaign. The decisive factor is that exploitation needs only a valid course-enrolled account, trivial to obtain on open-registration or large multi-tenant deployments, which materially raises priority despite the absence of public exploit evidence. Missing signals (EPSS, SSVC, POC status) are explicitly flagged: severity here is driven by the low authentication bar plus full-impact RCE, not by demonstrated exploitation. |
| Exploit ScenarioDerived | An attacker registers or is granted a routine student account and enrolls in any available course, then sends a crafted request to main/inc/ajax/lang.ajax.php to write attacker-controlled PHP into a language-variable file, which the server subsequently executes, yielding code execution in the web-application context. Because only a low-privilege enrolled account is required, this is realistic on any Chamilo instance permitting self-registration or having many course members. No public POC is currently identified, so exploitation would require independent development of the request. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 20, 2026
Remote code execution in Chamilo LMS 1.11.40 and earlier allows any user enrolled in a course to run arbitrary PHP through the main/inc/ajax/lang.ajax.php endpoint, which is guarded only by api_protect_course_script(true) and is therefore reachable by students, teachers, and DRH (HR) roles rather than administrators. The root cause is an improper-authorization defect (CWE-285) that exposes a dangerous language-editing endpoint to low-privilege course members. No public exploit code is identified at time of analysis and it is not listed in CISA KEV, but a vendor security advisory (GHSA-4hwq-pv7c-3928) has been published.
RemediationAI
Upgrade Chamilo LMS to the fixed release published in vendor advisory GHSA-4hwq-pv7c-3928 (https://github.com/chamilo/chamilo-lms/security/advisories/GHSA-4hwq-pv7c-3928); an exact fixed version number is not provided in the input data and should be taken directly from that advisory rather than assumed. As compensating controls until patched, restrict network access to the main/inc/ajax/lang.ajax.php endpoint at the web-server or reverse-proxy layer (deny or IP-allowlist it), accepting that this also breaks legitimate in-course language editing; disable open self-registration and require manual approval of course enrollment to shrink the pool of accounts that can reach the endpoint; and, where feasible, make the Chamilo language/config directories non-writable by the web server, accepting that this can interfere with in-app translation editing. Monitor access logs for POST requests to lang.ajax.php originating from non-admin accounts as a detection measure.
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
Chamilo is a widely used open-source PHP-based learning management system (CPE cpe:2.3:a:chamilo:chamilo-lms). The vulnerable path main/inc/ajax/lang.ajax.php is an AJAX handler for managing and editing interface language strings. Chamilo persists language variables in writable PHP files, so an endpoint able to modify these strings can be leveraged to inject executable PHP, turning a translation-management feature into an arbitrary-code-execution primitive. The flaw falls under CWE-285 (Improper Authorization): the endpoint relies on api_protect_course_script(true), a coarse check that only confirms the caller is enrolled in a course context, instead of restricting this sensitive capability to administrators.
Know when Chamilo 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
CVSS:4.0/AV:N/AC:H/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Network-reachable endpoint exploitable by any enrolled low-privilege user (PR:L) without interaction, yielding full RCE impact; the description shows no evidence of high attack complexity.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
DescriptionCVE.org
Chamilo version 1.11.40 and earlier are vulnerable to authenticated remote code execution in the main/inc/ajax/lang.ajax.php path. This endpoint is protected only by api_protect_course_script(true), which means any authenticated user enrolled in a course (student, teacher, DRH) can reach it.
Executive ViewAI
Chamilo LMS versions 1.11.40 and earlier expose a remote code execution vulnerability that allows any course member-including students-to execute arbitrary code on the LMS server. An attacker could alter grades, access confidential student and personnel records, disrupt educational delivery, or use the compromised system as a pivot point for broader institutional attacks. With no vendor patch currently available, immediate mitigation is critical to protect institutional data and educational operations.
No vendor-released patch identified at time of analysis. Interim mitigations: implement network and application-layer access controls restricting main/inc/ajax/lang.ajax.php to authenticated system administrators only; deploy WAF rules filtering requests for PHP execution patterns; disable PHP execution in user-writable directories; enable comprehensive access logging with real-time alerting; conduct daily review of logs for exploitation indicators; document all course enrollments to support post-incident forensics if compromise is detected.
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.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
A command injection vulnerability in the wsConvertPpt component of Chamilo v1.11.* up to v1.11.18 allows attackers to ex
Unauthenticated remote code execution in Chamilo LMS 2.0.0 and earlier lets any network-reachable attacker run arbitrary
Chamilo 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.
Improper sanitisation in `main/inc/lib/fileUpload.lib.php` in Chamilo LMS <= v1.11.20 on Windows and Apache installation
Path traversal in file upload functionality in `/main/webservices/additional_webservices.php` in Chamilo LMS <= v1.11.20
Command injection in `/main/webservices/additional_webservices.php` in Chamilo LMS <= v1.11.20 allows unauthenticated at
Chamilo LMS v1.11.x was discovered to contain a SQL injection via the doc parameter in main/plagiarism/compilatio/upload
main/inc/ajax/model.ajax.php in Chamilo through 1.11.14 allows SQL Injection via the searchField, filters, or filters2 p
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
EUVD-2026-46040
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB