CVE-2025-50189: CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in chamilo chamilo-lms
Chamilo is a learning management system. Prior to version 1.11.30, the application performs insufficient validation of data coming from the user from the POST resource[document][SQL_INJECTION_HERE] and POST login parameters found in /main/coursecopy/copy_course_session_selected.php, which allows an attacker to perform an attack aimed at modifying the database query logic by injecting an arbitrary SQL statements. This issue has been patched in version 1.11.30.
AI Analysis
Technical Summary
CVE-2025-50189 is an SQL Injection vulnerability categorized under CWE-89, discovered in the Chamilo Learning Management System (LMS) prior to version 1.11.30. The vulnerability exists due to improper neutralization of special elements in SQL commands, specifically in the POST parameters 'resource[document][SQL_INJECTION_HERE]' and 'login' within the /main/coursecopy/copy_course_session_selected.php script. This insufficient input validation allows an attacker with low privileges to inject arbitrary SQL statements into the backend database queries. The injection can alter the logic of SQL commands, potentially enabling unauthorized data access, modification, or deletion. The vulnerability does not require user interaction and can be exploited remotely over the network, increasing its risk profile. The CVSS 4.0 base score is 7.2, reflecting high severity due to network attack vector, low attack complexity, no privileges required, and no user interaction needed, with high impact on confidentiality and availability. Although no known exploits have been reported in the wild, the vulnerability poses a significant risk to organizations using vulnerable versions of Chamilo LMS. The issue was addressed and patched in Chamilo LMS version 1.11.30, which properly validates and sanitizes user input to prevent SQL injection attacks.
Potential Impact
The impact of CVE-2025-50189 is substantial for organizations using vulnerable versions of Chamilo LMS. Exploitation can lead to unauthorized manipulation of the LMS database, potentially exposing sensitive educational data such as user credentials, course materials, and student records. Attackers could modify or delete data, disrupt LMS operations, or escalate privileges within the system. This compromises the confidentiality, integrity, and availability of critical educational resources and user information. Given the LMS's role in managing academic content and user data, such a breach could result in operational downtime, reputational damage, regulatory non-compliance, and loss of trust among students and staff. The vulnerability's remote exploitability and lack of required user interaction increase the likelihood of automated attacks or exploitation by malicious actors. Institutions relying heavily on Chamilo LMS, especially those with limited cybersecurity resources, face heightened risk.
Mitigation Recommendations
To mitigate CVE-2025-50189, organizations should immediately upgrade Chamilo LMS to version 1.11.30 or later, where the vulnerability is patched. Until the upgrade is applied, implement strict input validation and sanitization on all user-supplied data, particularly POST parameters related to course copying and login processes. Employ Web Application Firewalls (WAFs) with custom rules to detect and block SQL injection attempts targeting the vulnerable endpoints. Conduct thorough code reviews and penetration testing focused on SQL injection vectors within the LMS. Limit database user privileges associated with the LMS to the minimum necessary to reduce potential damage from injection attacks. Monitor logs for suspicious SQL query patterns or anomalies indicative of injection attempts. Educate administrators and developers about secure coding practices and the importance of timely patching. Finally, maintain regular backups of LMS data to enable recovery in case of data corruption or loss due to exploitation.
Affected Countries
United States, Brazil, France, Spain, Germany, Argentina, Colombia, Mexico, Italy, Portugal
CVE-2025-50189: CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in chamilo chamilo-lms
Description
Chamilo is a learning management system. Prior to version 1.11.30, the application performs insufficient validation of data coming from the user from the POST resource[document][SQL_INJECTION_HERE] and POST login parameters found in /main/coursecopy/copy_course_session_selected.php, which allows an attacker to perform an attack aimed at modifying the database query logic by injecting an arbitrary SQL statements. This issue has been patched in version 1.11.30.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2025-50189 is an SQL Injection vulnerability categorized under CWE-89, discovered in the Chamilo Learning Management System (LMS) prior to version 1.11.30. The vulnerability exists due to improper neutralization of special elements in SQL commands, specifically in the POST parameters 'resource[document][SQL_INJECTION_HERE]' and 'login' within the /main/coursecopy/copy_course_session_selected.php script. This insufficient input validation allows an attacker with low privileges to inject arbitrary SQL statements into the backend database queries. The injection can alter the logic of SQL commands, potentially enabling unauthorized data access, modification, or deletion. The vulnerability does not require user interaction and can be exploited remotely over the network, increasing its risk profile. The CVSS 4.0 base score is 7.2, reflecting high severity due to network attack vector, low attack complexity, no privileges required, and no user interaction needed, with high impact on confidentiality and availability. Although no known exploits have been reported in the wild, the vulnerability poses a significant risk to organizations using vulnerable versions of Chamilo LMS. The issue was addressed and patched in Chamilo LMS version 1.11.30, which properly validates and sanitizes user input to prevent SQL injection attacks.
Potential Impact
The impact of CVE-2025-50189 is substantial for organizations using vulnerable versions of Chamilo LMS. Exploitation can lead to unauthorized manipulation of the LMS database, potentially exposing sensitive educational data such as user credentials, course materials, and student records. Attackers could modify or delete data, disrupt LMS operations, or escalate privileges within the system. This compromises the confidentiality, integrity, and availability of critical educational resources and user information. Given the LMS's role in managing academic content and user data, such a breach could result in operational downtime, reputational damage, regulatory non-compliance, and loss of trust among students and staff. The vulnerability's remote exploitability and lack of required user interaction increase the likelihood of automated attacks or exploitation by malicious actors. Institutions relying heavily on Chamilo LMS, especially those with limited cybersecurity resources, face heightened risk.
Mitigation Recommendations
To mitigate CVE-2025-50189, organizations should immediately upgrade Chamilo LMS to version 1.11.30 or later, where the vulnerability is patched. Until the upgrade is applied, implement strict input validation and sanitization on all user-supplied data, particularly POST parameters related to course copying and login processes. Employ Web Application Firewalls (WAFs) with custom rules to detect and block SQL injection attempts targeting the vulnerable endpoints. Conduct thorough code reviews and penetration testing focused on SQL injection vectors within the LMS. Limit database user privileges associated with the LMS to the minimum necessary to reduce potential damage from injection attacks. Monitor logs for suspicious SQL query patterns or anomalies indicative of injection attempts. Educate administrators and developers about secure coding practices and the importance of timely patching. Finally, maintain regular backups of LMS data to enable recovery in case of data corruption or loss due to exploitation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2025-06-13T19:17:51.727Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 69a5a89032ffcdb8a23d2f2f
Added to database: 3/2/2026, 3:11:12 PM
Last enriched: 3/9/2026, 5:21:30 PM
Last updated: 4/17/2026, 1:06:50 AM
Views: 60
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.