Chamilo LMS SQL Injection Vulnerability in Course Copy Feature

Vulnerability

A SQL injection vulnerability has been identified in Chamilo LMS versions prior to 1.11.30. The issue arises from inadequate validation of user-supplied data in POST requests to the 'copy_course_session_selected.php' file. This vulnerability allows authenticated users with at least trainer privileges to inject arbitrary SQL statements, potentially altering database query logic and leading to unauthorized data access or manipulation.

Impact

Exploitation of this vulnerability allows for error-based SQL injection, where an attacker can manipulate SQL queries to extract information from the database, such as the DBMS version, or potentially modify database contents.

Reproduction

To reproduce this vulnerability, an authenticated user with trainer privileges must send a POST request to '/main/coursecopy/copy_course_session_selected.php' with injected SQL in the 'resource[document]' parameter. The injection can be verified by causing a SQL error that reveals database information, such as the version number.

Remediation

Users should update to Chamilo LMS version 1.11.30 or later, where this vulnerability has been patched.

Added: Mar 2, 2026, 3:30 PM
Updated: Mar 2, 2026, 10:04 PM

Vulnerability Rating

Custom Algorithm
spread
3.4
impact
3.1
exploitability
6.4
remediation
7.7
relevance
3.4
threat
6.4
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.