Summary
CVE-2021-48021 is an unauthenticated SQL injection vulnerability (CWE-89) in Chamilo LMS 1.11.10 before 1.11.16. A remote attacker can send crafted requests to extract information from the application’s database. The CVE record lists a CVSS v3.1 base score of 8.2 (High) and a CVSS v4.0 score of 8.8 (High), and notes that exploitation was first observed on October 14, 2023.
Technical details
- Root cause: The
searchOptionsFromTagsfunction does not neutralize input passed through theoptionsparameter ofextra_field.ajax.php, which allows SQL injection. - Trigger conditions: The attacker sends a POST request containing malicious JSON in the
optionsparameter. No authentication is required. - Attack vector: Network, with low attack complexity and no user interaction.
- Impact: Disclosure of database contents. The CVSS v3.1 vector also rates integrity impact as low.
- Exploitation status: The CVE record states exploitation was first observed on October 14, 2023.
Affected software
- Chamilo LMS 1.11.10 through 1.11.15 (before 1.11.16)
Severity
- CVSS v3.1: 8.2 (High),
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N - CVSS v4.0: 8.8 (High),
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
Mitigation and recommended actions
- Immediate: Upgrade Chamilo LMS to version 1.11.16 or later. The CVE record links to a fix commit and a hardening commit in the Chamilo repository.
- If you cannot patch immediately: No official workaround was found in the sources reviewed. As a general precaution, restrict network access to the affected instance and review web and database logs for unexpected POST requests to
extra_field.ajax.php.

