Chamilo chamilo-lms
Chamilo LMS: Blind SQL Injection in model.ajax.php via filters[groupOp] authentificated
Chamilo LMS is an open-source learning management system. Prior to 1.11.40 and 2.0.1, an authenticated administrator can call the get_sessions action in /main/inc/ajax/model.ajax.php with _search=true and a crafted JSON filters parameter whose groupOp field contains SQL syntax. Because groupOp is not restricted to the expected AND or OR operators before it is incorporated into query logic, attacker-controlled input is interpreted by the database and enables blind or time-based SQL injection. Successful exploitation can disclose sensitive user, course, session, configuration, password-reset, and administrative data, modify or delete records subject to database privileges, and cause denial of service through expensive delayed queries. This issue is fixed in versions 1.11.40 and 2.0.1.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 1.11.40
- >= 2.0.0, < 2.0.1
Fixed in 1.11.40, 2.0.1
Mitigation
Upgrade chamilo-lms to 1.11.40 or 2.0.1 or later.
References
- Vendor advisory github.com/chamilo/chamilo-lms/security/adviso…
- Patch github.com/chamilo/chamilo-lms/commit/4472f308…
- Patch github.com/chamilo/chamilo-lms/commit/7cc961d6…
2 more
- Release notes github.com/chamilo/chamilo-lms/releases/tag/v1…
- Release notes github.com/chamilo/chamilo-lms/releases/tag/v2…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.