CVE-2026-33710: CWE-330: Use of Insufficiently Random Values in chamilo chamilo-lms
Chamilo LMS is a learning management system. Prior to 1.11.38 and 2.0.0-RC.3, REST API keys are generated using md5(time() + (user_id * 5) - rand(10000, 10000)). The rand(10000, 10000) call always returns exactly 10000 (min == max), making the formula effectively md5(timestamp + user_id*5 - 10000). An attacker who knows a username and approximate key creation time can brute-force the API key. This vulnerability is fixed in 1.11.38 and 2.0.0-RC.3.
AI Analysis
Technical Summary
Chamilo LMS's REST API key generation prior to versions 1.11.38 and 2.0.0-RC.3 uses md5(time() + (user_id * 5) - rand(10000, 10000)), where rand(10000, 10000) always returns 10000 due to identical min and max parameters. This results in predictable API keys based on timestamp and user ID, enabling brute-force attacks by adversaries with knowledge of the username and approximate key creation time. The vulnerability is classified under CWE-330 (Use of Insufficiently Random Values). It is fixed in Chamilo LMS versions 1.11.38 and 2.0.0-RC.3.
Potential Impact
An attacker can brute-force REST API keys if they know a username and approximate key creation time, potentially gaining unauthorized access to the API. The vulnerability impacts confidentiality but does not affect integrity or availability. The CVSS 3.1 score of 7.5 reflects a high severity with network attack vector, low attack complexity, no privileges required, and no user interaction needed.
Mitigation Recommendations
Upgrade Chamilo LMS to version 1.11.38 or later, or to 2.0.0-RC.3 or later, where the API key generation method has been fixed to use sufficient randomness. No other mitigation or temporary fix is indicated. Patch status is not explicitly stated but the vulnerability is fixed in the specified versions.
CVE-2026-33710: CWE-330: Use of Insufficiently Random Values in chamilo chamilo-lms
Description
Chamilo LMS is a learning management system. Prior to 1.11.38 and 2.0.0-RC.3, REST API keys are generated using md5(time() + (user_id * 5) - rand(10000, 10000)). The rand(10000, 10000) call always returns exactly 10000 (min == max), making the formula effectively md5(timestamp + user_id*5 - 10000). An attacker who knows a username and approximate key creation time can brute-force the API key. This vulnerability is fixed in 1.11.38 and 2.0.0-RC.3.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Chamilo LMS's REST API key generation prior to versions 1.11.38 and 2.0.0-RC.3 uses md5(time() + (user_id * 5) - rand(10000, 10000)), where rand(10000, 10000) always returns 10000 due to identical min and max parameters. This results in predictable API keys based on timestamp and user ID, enabling brute-force attacks by adversaries with knowledge of the username and approximate key creation time. The vulnerability is classified under CWE-330 (Use of Insufficiently Random Values). It is fixed in Chamilo LMS versions 1.11.38 and 2.0.0-RC.3.
Potential Impact
An attacker can brute-force REST API keys if they know a username and approximate key creation time, potentially gaining unauthorized access to the API. The vulnerability impacts confidentiality but does not affect integrity or availability. The CVSS 3.1 score of 7.5 reflects a high severity with network attack vector, low attack complexity, no privileges required, and no user interaction needed.
Mitigation Recommendations
Upgrade Chamilo LMS to version 1.11.38 or later, or to 2.0.0-RC.3 or later, where the API key generation method has been fixed to use sufficient randomness. No other mitigation or temporary fix is indicated. Patch status is not explicitly stated but the vulnerability is fixed in the specified versions.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-03-23T17:06:05.747Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69d94d8f1cc7ad14dae0faf0
Added to database: 4/10/2026, 7:20:47 PM
Last enriched: 4/18/2026, 2:35:39 PM
Last updated: 5/25/2026, 6:46:04 AM
Views: 65
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.