{"id":"CVE-2024-45691","published":"2024-11-20T10:25:30Z","modified":"2024-11-20T19:17:19Z","title":"Moodle: lesson activity password bypass through php loose comparison","vendor":null,"product":null,"tier":"tail","description":{"text":"A flaw was found in Moodle. When restricting access to a lesson activity with a password, certain passwords could be bypassed or less secure due to a loose comparison in the password-checking logic. This issue only affected passwords set to \"magic hash\" values.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00414,"percentile":0.36625,"provenance":"source"},"cwes":[],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2309940","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://moodle.org/security/","tags":[]}],"priority":{"score":11.1,"factors":[{"name":"EPSS percentile","points":7.33},{"name":"CVSS severity","points":3.78}]},"affectedVersions":[{"vendor":null,"product":null,"versions":["< 4.1.13",">= 4.2, < 4.2.10",">= 4.3, < 4.3.7",">= 4.4, < 4.4.3"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-11-20T19:17:16.356151Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"moodle/moodle","vulnerableRanges":["<4.1.13",">=4.2.0-beta, <4.2.10",">=4.3.0-beta, <4.3.7",">=4.4.0-beta, <4.4.3"],"patched":["4.1.13","4.2.10","4.3.7","4.4.3"],"from":["GHSA-xfv7-h2qg-rjm7"],"provenance":"source"}],"summary":{"text":"The flaw is a loose PHP comparison in the password-checking logic for Moodle's lesson activity, which lets a lesson protected by a password be bypassed or have its protection weakened when the password is set to a \"magic hash\" value. An attacker with network access and low-privilege authenticated access to the Moodle instance could exploit it without any user interaction, and it only affects lessons whose passwords are magic-hash values.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:59:46Z"},"euvd":{"id":"EUVD-2024-3390","exploited":false,"provenance":"source"}}