Chamilo LMS has Weak REST API Key Generation (Predictable)
Summary
| CVE | CVE-2026-33710 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-04-10 19:16:24 UTC |
| Updated | 2026-04-10 19:16:24 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 7.5 HIGH from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Problem Types: CWE-330 | CWE-330 CWE-330: Use of Insufficiently Random Values
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 7.5 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| 3.1 | CNA | DECLARED | 7.5 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
NoneAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Chamilo | Chamilo-lms | affected < 1.11.38 | Not specified |
| CNA | Chamilo | Chamilo-lms | affected >= 2.0.0-alpha.1, < 2.0.0-RC.3 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/chamilo/chamilo-lms/commit/4448701bb8ec557e94ef02d19c72cbe9c4... | [email protected] | github.com | |
| github.com/chamilo/chamilo-lms/security/advisories/GHSA-rpmg-j327-mr39 | [email protected] | github.com | |
| github.com/chamilo/chamilo-lms/commit/e7400dd840586ae134b286d0a2374f3d26... | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.