Chamilo chamilo-lms
Chamilo LMS: SQL Injection in the statistics AJAX endpoint
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 1.11.36
Fixed in 1.11.36
Mitigation
Upgrade chamilo-lms to 1.11.36 or later.
References
- Vendor advisory github.com/chamilo/chamilo-lms/security/adviso…
- Release notes github.com/chamilo/chamilo-lms/releases/tag/v1…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.