
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-45146 is a blind/time-based SQL injection vulnerability in Chamilo LMS affecting the get_sessions action in /main/inc/ajax/model.ajax.php. An authenticated administrator can supply a crafted JSON filters parameter whose groupOp field contains arbitrary SQL syntax, which is passed unsanitized into database query logic. Affected versions are all Chamilo LMS releases prior to 1.11.40 (1.x branch) and 2.0.0 (2.x branch prior to 2.0.1). The vulnerability was disclosed on November 3, 2026, with the GitHub Security Advisory (GHSA-prqp-8x29-cr88) published July 1, 2026. It carries a CVSS v3.1 base score of 7.2 (High) (GitHub Advisory).
The root cause is improper input validation (CWE-20) combined with SQL injection (CWE-89): the groupOp field within the JSON filters parameter decoded from $_REQUEST['filters2'] in model.ajax.php is incorporated directly into SQL query logic without being restricted to the expected AND or OR operators. An attacker crafts a POST request to /main/inc/ajax/model.ajax.php with a=get_sessions&_search=true and a malicious filters JSON payload where groupOp contains a SQL expression such as AND SLEEP(5), causing a measurable ~5-second database delay that confirms time-based blind SQL injection. The fix, applied in commits 4472f30 and 7cc961d, adds a whitelist check that normalizes groupOp to AND if the supplied value is not strictly AND or OR (GitHub Advisory, Patch Commit 1, Patch Commit 2).
Successful exploitation allows an authenticated administrator to extract sensitive data from the Chamilo database via blind or time-based SQL injection, including user credentials, course and session data, configuration values, password-reset tokens, and administrative metadata. Depending on the database account's privileges, an attacker may also modify or delete records, potentially corrupting the LMS environment. Repeated injection of expensive delayed queries can cause denial of service, degrading availability for all platform users (GitHub Advisory).
No public proof-of-concept exploit code or in-the-wild exploitation has been reported as of the available data. The vulnerability requires authenticated administrator credentials, which significantly limits the attack surface. The EPSS score is approximately 0.317%, indicating a low probability of near-term exploitation. The CVE is not listed in the CISA Known Exploited Vulnerabilities catalog, and NVD's SSVC assessment notes exploitation status as "none" (GitHub Advisory, Feedly).
/main/inc/ajax/model.ajax.php is accessible./main/inc/ajax/model.ajax.php with the following parameters:a=get_sessions
_search=true
filters={"groupOp":"AND SLEEP(5)","rules":[]}groupOp was executed by the database.sqlmap targeting the filters[groupOp] parameter) to enumerate database tables, extract user hashes, password-reset tokens, or configuration secrets./main/inc/ajax/model.ajax.php with parameters a=get_sessions and _search=true from an administrator session; unusually slow HTTP responses (~5+ seconds) to this endpoint suggesting time-based injection.model.ajax.php with filters parameters containing SQL keywords (SLEEP, BENCHMARK, AND, OR combined with SQL syntax) in the request body; database slow query logs recording repeated delayed queries.get_sessions AJAX calls from a single administrator account in a short time window.SLEEP() or BENCHMARK() functions in the database query log (GitHub Advisory).Upgrade Chamilo LMS to version 1.11.40 (1.x branch) or 2.0.1 (2.x branch), which enforce a strict whitelist on the groupOp parameter, allowing only AND or OR values. No official configuration-based workaround is provided; upgrading is the recommended and only reliable remediation. As an interim measure, administrators can restrict access to the AJAX endpoint via web server rules or firewall policies to limit exposure to trusted networks (GitHub Release v1.11.40, GitHub Release v2.0.1, GitHub Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."