CVE-2026-45146

Chamilo LMS: Blind SQL Injection in model.ajax.php via filters[groupOp] authentificated

Published Nov 3, 2026 CVSS 3.1 · 7.2 High EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

An authenticated administrator can invoke the get_sessions action in /main/inc/ajax/model.ajax.php with a crafted JSON filters parameter that contains SQL syntax in the groupOp field. Because this field is not limited to the expected AND or OR operators before being used in a query, the database interprets attacker-controlled input, enabling blind or time‑based SQL injection. The vulnerability can expose sensitive user, course, session, configuration, password‑reset, and administrative data, allow modification or deletion of records according to database privileges, and potentially cause denial of service through expensive delayed queries. The nature of the flaw is an injection of raw SQL into dynamic query construction, corresponding to CWE‑89.

Affected Systems

The issue affects Chamilo Learning Management System installations running versions before 1.11.40 for the 1.x branch and before 2.0.1 for the 2.x branch. These versions include the model.ajax.php endpoint that parses the filters parameter used by administrators during session retrieval. Users who have not upgraded to 1.11.40 or 2.0.1 are therefore exposed, regardless of the deployment environment, as the code path is present in all supported installations of those releases.

Risk and Exploitability

The vulnerability carries a CVSS score of 7.2 and, while no EPSS data is currently available, the lack of public exploitation and absence from the CISA KEV list suggest that active attacks are not widespread. Nonetheless, the attack requires authenticated administrator access, which is typically available within the organization. Once in place, an attacker can leverage the injection to read or modify data or to execute time‑based attacks that may degrade service availability. The combination of a server‑side input flaw, required credentials that are often granted, and the high potential impact warrants immediate attention.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest patch by upgrading to Chamilo LMS version 1.11.40 or 2.0.1, which removes the insecure handling of the groupOp field.
  • Configure the web application to enforce strict input validation for the filters parameter, ensuring that only the keywords AND or OR are accepted and that any other characters are rejected before query construction.
  • Restrict administrative access to the get_sessions endpoint or the entire AJAX interface by applying network‑level controls or role‑based access policies, and monitor logs for suspicious query patterns that may indicate exploitation attempts.

Generated by OpenCVE AI on November 3, 2026 at 23:38 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Chamilo
Chamilo chamilo Lms
Vendors & Products Chamilo
Chamilo chamilo Lms
Type Values Removed Values Added
Description 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.
Title Chamilo LMS: Blind SQL Injection in model.ajax.php via filters[groupOp] authentificated
Weaknesses CWE-89
References
Metrics cvssV3_1

{'score': 7.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 9, 2026, 3:45 PM
Reserved
May 8, 2026, 8:44 PM
Status
Deferred
Published
Nov 3, 2026, 8:18 PM
Modified
Nov 12, 2026, 8:07 PM