Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to Chamilo LMS
-
DeliverySend crafted AJAX request to statistics endpoint
-
ExploitInject SQL via date_start/date_end parameters
-
ExecutionBypass escaping with str_replace manipulation
-
ImpactExecute arbitrary SQL queries
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Authenticated user account on Chamilo LMS version 1.11.34 or prior; access to statistics AJAX endpoint; vulnerable str_replace() escaping bypass in date_start and date_end parameter processing. |
| Impact | The CVSS score of 8.8 reflects high severity with network-based attack vector, low complexity, and low privilege requirements, indicating this is easily exploitable by any authenticated user. The impact ratings are all High for confidentiality, integrity, and availability. However, the requirement for authentication (PR:L) significantly reduces the attack surface compared to unauthenticated SQL injections. No EPSS score or KEV listing is currently available, suggesting this vulnerability has not been observed in active exploitation. The SSVC framework would classify this as a medium priority given the authentication requirement and lack of evidence for automated exploitation tools. While the technical impact is severe (full database compromise), the real-world risk is moderated by the authentication barrier and the specialized nature of LMS deployments. |
| Exploit ScenarioDerived | An authenticated attacker with basic user privileges could craft malicious date parameters containing SQL injection payloads when accessing the statistics AJAX endpoint. By injecting time-based or boolean-based SQL queries, the attacker could systematically extract sensitive information including user credentials, grades, and personal data from the database. Given the low attack complexity and network-based vector, this could be executed remotely without any user interaction, making it particularly dangerous in multi-tenant educational environments where students or low-privileged staff have authenticated access. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 16, 2026
Authenticated attackers can exploit SQL injection in Chamilo LMS 1.11.34 and earlier through the statistics AJAX endpoint, where insufficient input sanitization allows bypassing of database escaping mechanisms via the date_start and date_end parameters. This vulnerability enables blind time-based SQL injection attacks to extract or manipulate sensitive data from the underlying database. Version 1.11.36 contains the patch; versions 1.11.35 and earlier remain vulnerable.
Earlier versions of this analysis (1)
A SQL injection vulnerability exists in Chamilo LMS versions 1.11.34 and prior that allows authenticated attackers to execute arbitrary SQL queries through the statistics AJAX endpoint. The vulnerability occurs because the application's escaping mechanism is immediately neutralized by a string replacement function, effectively bypassing all SQL injection protections. An authenticated attacker can exploit this to extract sensitive data from the database, modify records, or potentially gain administrative access to the learning management system.
RemediationAI
Upgrade Chamilo LMS to version 1.11.36 or later, which contains the official patch for this vulnerability as detailed in the release notes at https://github.com/chamilo/chamilo-lms/releases/tag/v1.11.36. If immediate patching is not possible, consider implementing web application firewall rules to filter SQL injection attempts in the date_start and date_end parameters of statistics endpoints, and restrict access to the statistics functionality to only trusted administrative users. Review the vendor security advisory at https://github.com/chamilo/chamilo-lms/security/advisories/GHSA-5ggx-x2cv-4h44 for additional guidance.
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 LMS is an open-source learning management system widely used in educational institutions. The vulnerability affects the statistics AJAX endpoint where date_start and date_end parameters from user requests are embedded directly into SQL queries. While the application attempts to sanitize input using Database::escape_string(), this protection is immediately undone by a subsequent str_replace("\'", "'", ...) call that restores any escaped single quotes. This is a classic example of CWE-89 (Improper Neutralization of Special Elements used in an SQL Command), where proper input validation is implemented but then inadvertently bypassed. The affected product is identified by CPE cpe:2.3:a:chamilo:chamilo-lms:*:*:*:*:*:*:*:* for versions prior to 1.11.36.
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 GitHub Advisory · only source for this CVE.
CVSS VectorGitHub Advisory
Lifecycle Timeline
3DescriptionGitHub Advisory
Chamilo LMS is a learning management system. Version 1.11.34 and prior contains a SQL Injection vulnerability in the statistics AJAX endpoint. The parameters date_start and date_end from $_REQUEST are embedded directly into a raw SQL string without proper sanitization. Although Database::escape_string() is called downstream, its output is immediately neutralized by str_replace("\'", "'", ...), which restores any injected single quotes - effectively bypassing the escaping mechanism entirely. This allows an authenticated attacker to inject arbitrary SQL statements into the database query, enabling blind time-based and conditional data extraction. This issue has been patched in version 1.11.36.
Executive ViewAI
Chamilo LMS versions 1.11.34 and earlier contain a SQL injection vulnerability in the statistics module that allows authenticated users to extract or manipulate sensitive database information. Organizations using Chamilo for learning management face potential exposure of student records, grades, and institutional data through this high-severity flaw affecting the AJAX endpoint.
Apply vendor patch. Until patching is completed: implement network-level access controls to restrict the statistics AJAX endpoint to administrative users only; enable database query logging and monitoring for unusual SQL patterns; apply Web Application Firewall rules to block requests containing SQL injection signatures in the date_start and date_end 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
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
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-12500
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB