{"id":"CVE-2026-33710","state":"PUBLISHED","title":"Chamilo LMS has Weak REST API Key Generation (Predictable)","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.","publishedAt":"2026-04-10T18:59:24.111Z","updatedAt":"2026-04-13T15:36:06.835Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["chamilo chamilo-lms"],"affected":[{"vendor":"chamilo","product":"chamilo-lms","versions":[{"version":"< 1.11.38","status":"affected"},{"version":">= 2.0.0-alpha.1, < 2.0.0-RC.3","status":"affected"}]}],"references":["https://github.com/chamilo/chamilo-lms/security/advisories/GHSA-rpmg-j327-mr39","https://github.com/chamilo/chamilo-lms/commit/4448701bb8ec557e94ef02d19c72cbe9c49c2d09","https://github.com/chamilo/chamilo-lms/commit/e7400dd840586ae134b286d0a2374f3d269a9a9d"],"weaknesses":["CWE-330"],"ingestedAt":"2026-10-29T20:11:40.391Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/33xxx/CVE-2026-33710.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-33710","state":"PUBLISHED","datePublished":"2026-04-10T18:59:24.111Z","dateUpdated":"2026-04-13T15:36:06.835Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-03-23T17:06:05.747Z"},"containers":{"cna":{"title":"Chamilo LMS has Weak REST API Key Generation (Predictable)","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"chamilo","product":"chamilo-lms","versions":[{"version":"< 1.11.38","status":"affected"},{"version":">= 2.0.0-alpha.1, < 2.0.0-RC.3","status":"affected"}]}],"references":[{"url":"https://github.com/chamilo/chamilo-lms/security/advisories/GHSA-rpmg-j327-mr39","name":"https://github.com/chamilo/chamilo-lms/security/advisories/GHSA-rpmg-j327-mr39","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/chamilo/chamilo-lms/commit/4448701bb8ec557e94ef02d19c72cbe9c49c2d09","name":"https://github.com/chamilo/chamilo-lms/commit/4448701bb8ec557e94ef02d19c72cbe9c49c2d09","tags":["x_refsource_MISC"]},{"url":"https://github.com/chamilo/chamilo-lms/commit/e7400dd840586ae134b286d0a2374f3d269a9a9d","name":"https://github.com/chamilo/chamilo-lms/commit/e7400dd840586ae134b286d0a2374f3d269a9a9d","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-330","lang":"en","description":"CWE-330: Use of Insufficiently Random Values","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-04-10T18:59:24.111Z"},"source":{"advisory":"GHSA-rpmg-j327-mr39","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-04-13T12:51:59.204900Z","id":"CVE-2026-33710","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-04-13T15:36:06.835Z"}}]}}}