Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify target username
-
DeliveryDetermine approximate API key creation time
-
ExploitBrute-force weak MD5 hash with predictable entropy
-
ExecutionObtain valid REST API credentials
-
ImpactAccess sensitive learning data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V11 - Cryptography Cryptographic random values
|
| Exploitation Conditions | Chamilo LMS versions prior to 1.11.38 and 2.0.0-RC.3 with REST API enabled. Remote unauthenticated attacker requires knowledge of target username and approximate API key creation time to brute-force the key. |
| Impact | High-severity credential compromise affecting unauthenticated REST API access to Chamilo LMS. Predictable key generation (md5 of timestamp + user_id with broken randomization) enables rapid brute-force recovery. CVSS 7.5 reflects high confidentiality impact; attackers gaining API keys can read sensitive course/user data. Organizations running unpatched versions face immediate exposure requiring urgent updates to 1.11.38 or 2.0.0-RC.3. |
| Exploit ScenarioDerived | Attacker identifies target Chamilo instance and obtains username (often public). Knowing approximate account creation timestamp, attacker brute-forces md5(timestamp + user_id*5 - 10000) across feasible time windows. Once valid key recovered, unauthenticated REST API calls retrieve course content, user profiles, and grades without further authentication. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 10, 2026
Predictable API key generation in Chamilo LMS versions prior to 1.11.38 and 2.0.0-RC.3 allows unauthenticated remote attackers to brute-force valid REST API keys. The md5-based generation algorithm uses a flawed random seed (rand(10000,10000) always returns 10000), reducing the keyspace to md5(timestamp + user_id*5 - 10000). Attackers with knowledge of target usernames and approximate key creation timestamps can enumerate valid API keys through offline computation, enabling unauthorized access to REST API endpoints and confidential data exposure. No public exploit identified at time of analysis.
RemediationAI
Upgrade immediately to Chamilo LMS version 1.11.38 (stable branch) or 2.0.0-RC.3 (development branch). Vendor-released patches implement cryptographically secure random number generation for API key creation. After upgrading, regenerate all existing API keys to eliminate keys created with the weak algorithm. Users unable to upgrade immediately should rotate all API keys and implement rate-limiting on API endpoints to mitigate brute-force attempts. Review access logs for unauthorized API usage. Official vendor security advisory: https://github.com/chamilo/chamilo-lms/security/advisories/GHSA-rpmg-j327-mr39. Upstream fixes available in commits 4448701bb8ec557e94ef02d19c72cbe9c49c2d09 and e7400dd840586ae134b286d0a2374f3d269a9a9d.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Root cause is CWE-330 insufficient entropy in md5-based key generation. The rand() call with identical min/max parameters eliminates randomness entirely, reducing cryptographic strength to timestamp-based deterministic output. Given timestamp granularity and small user_id search space, brute-force complexity is trivial for modern hardware, exposing all API keys generated via this mechanism.
Know when Chamilo Lms gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Primary rating from Vendor (github) · only source for this CVE.
CVSS VectorVendor: github
Lifecycle Timeline
3DescriptionCVE.org
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.
Executive ViewAI
Chamilo LMS versions before 1.11.38 and 2.0.0-RC.3 generate predictable API keys due to a flawed random seed implementation, allowing unauthenticated attackers to brute-force valid credentials and gain unauthorized access to REST API endpoints and sensitive data. Organizations running affected Chamilo instances face immediate risk of account compromise and data exfiltration without authentication requirements.
Apply vendor patch. If immediate patching is not feasible: disable REST API endpoints until patched; implement network-level access controls restricting API endpoint exposure; enforce strict rate limiting on API authentication attempts; monitor and alert on failed API key validation attempts; and rotate all API keys with shortened expiration windows.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
More in Chamilo Lms
View allChamilo LMS prior to 1.11.28 has a code injection through SOAP request parameters enabling remote code execution.
Chamilo LMS prior to 1.11.30 has a time-based SQL injection in a different endpoint, providing an additional database ex
Chamilo LMS prior to 1.11.30 has an error-based SQL injection enabling database extraction.
Chamilo LMS v1.11.x was discovered to contain a SQL injection via the doc parameter in main/plagiarism/compilatio/upload
Chamilo LMS 1.11.8 and 2.x allows remote code execution through an lp_upload.php unauthenticated file upload feature. Ra
Chamilo LMS prior to 1.11.30 has a blind SSRF vulnerability enabling internal network reconnaissance from the learning p
Unrestricted file upload in big file upload functionality in `/main/inc/lib/javascript/bigupload/inc/bigUpload.php` in C
Chamilo is a learning management system. [CVSS 8.8 HIGH]
Chamilo is a learning management system. Prior to version 1.11.30, an input validation vulnerability exists when importi
Chamilo LMS 1.11.26 is vulnerable to Incorrect Access Control via main/auth/profile. Rated high severity (CVSS 8.8), thi
Unrestricted file upload in `/main/inc/ajax/work.ajax.php` in Chamilo LMS <= v1.11.24 allows authenticated attackers wit
Unrestricted file upload in `/main/inc/ajax/exercise.ajax.php` in Chamilo LMS <= v1.11.24 allows authenticated attackers
EUVD-2026-21565
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB